• Tidak ada hasil yang ditemukan

TAMPILAN WEBSITE. 1. Halaman Index.php. Universitas Sumatera Utara

N/A
N/A
Protected

Academic year: 2021

Membagikan "TAMPILAN WEBSITE. 1. Halaman Index.php. Universitas Sumatera Utara"

Copied!
58
0
0

Teks penuh

(1)

TAMPILAN WEBSITE

(2)

2. Halaman Profil

(3)

4. Halaman Registrasi Data Guru

(4)

6. Halaman Registrasi Data Alumni

(5)

8. Halaman Siswa

(6)
(7)

Listing Program

Index.php <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Halaman Index</title> <style type="text/css"> <!-- #Layer1 { position:absolute; width:122px; height:37px; z-index:1; left: 40px; top: 392px; } #Layer2 { position:absolute; width:126px; height:35px; z-index:2; left: 164px; top: 394px; } .style4 { color: #FF0000; font-size: 16px; } .style5 {color: #FF0000} #Layer3 { position:absolute; width:196px; height:567px; z-index:1; left: 11px; top: 279px; } #Layer4 { position:absolute; width:812px; height:495px; z-index:2; left: 316px; top: 232px; background-color: #FFFFFF; background-image: url(FOTO%20RINI/coba.jpg); }

(8)

.style8 { font-size: 24px; color: #FFFF00; font-weight: bold; } #Layer5 { position:absolute; width:717px; height:731px; z-index:3; left: 246px; top: 281px; background-color: #333333; } .style9 { color: #FFFF00; font-size: 18px;

font-family: "Times New Roman"; font-weight: bold; } #Layer6 { position:absolute; width:218px; height:115px; z-index:4; left: 910px; top: 238px; }

.style6 {color: #FF0000; font-size: 18px; } #Layer7 { position:absolute; width:1244px; height:60px; z-index:4; left: 16px; top: 1014px; background-color: #666666; } .style29 {color: #FFFFFF} .style34 {

font-family: "Monotype Corsiva"; font-size: 18px; } a:link { text-decoration: none; color: #FFFFFF; } a:visited { text-decoration: none;

(9)

color: #FFFFFF; } a:hover { text-decoration: none; color: #FF0000; } a:active { text-decoration: none; color: #FF0000; }

.style39 {color: #FF0000; font-size: 15.5px; } .style40 {font-size: 18px}

.style41 {font-size: 16px; color: #000000;}

.style37 {font-family: "Times New Roman"; font-size: 18px; } .style42 {font-family: "Times New Roman"}

.style44 { color: #FFFFFF; font-size: 20px; font-family: Courier; } .style45 {font-size: 20px}

.style48 {font-family: "Monotype Corsiva"; font-size: 18px; color: #FFFFFF; } .style49 {font-family: "Times New Roman"; font-size: 18px; font-weight: bold; } .style50 {font-weight: bold}

#Layer8 { position:absolute; width:288px; height:659px; z-index:1; left: 954px; top: 0px; background-color: #666666; }

.style51 {font-family: Courier}

.style52 {font-family: Courier; font-size: 16px; } -->

</style> </head> <body>

<table width="1270" border="1" align="center"> <tr>

<th width="1260" height="173" bgcolor="#666666" class="style5"

scope="col"><img src="../FOTO RINI/head2.jpg" width="72%" height="99%" /> <img src="../FOTO

RINI/2875_1110134755152_1280342925_30489212_5320307_n.jpg"width="270" height="99%" /></th>

</tr> </table>

(10)

<table width="1269" height="25"align="center" border="1" bgcolor="#666666"> <tr>

<th width="1049" align="right"><marquee direction="left"

onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="6" loop behavior="alternate"><span class="style48 style45">SMA Negeri 11 Medan Jl. Pertiwi No. 93 Medan Telp. (061) 7382448</span>

</marquee></th></tr> </table>

<table width="1270" height="45" align="center" border="0" bordercolor="#FFFFFF" bgcolor="#666666">

<tr>

<td width="15%" height="41" align="center" class="style5">

<div align="center" class="style40"><a href="../HOME.php" class="style50 "><span class="style42">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span

class="style29">&nbsp;HOME</span></span> &nbsp;</a></div></td> <td width="15%" align="center" class="style5">

<div align="center" class="style40"><a href="../PROFILE.php" class="style53 "><span class="style42 style29">PROFIL</span>&nbsp;</a></div></td> <td width="15%" align="center" class="style5">

<div align="center" class="style40"><a href="../SEJARAH.php" class="style53 "><span class="style42 style29">SEJARAH</span>&nbsp;&nbsp;</a></div></td> <td width="15%" align="center" class="style6">

<span class="style29"><a href="../fasilitas.php" class="style53"> <div align="center"><span

class="style29">FASILITAS</span>&nbsp;&nbsp;</div></a></td> <td width="15%" align="center" class="style54">

<div align="center" class="style40"><a href="../Organisasi.php" class="style53 "> <span class="style42 style29">ORGANISASI</span><span

class="style29">&nbsp;</span>&nbsp;</a></div></td></tr> </table>

<div id="Layer3">

<table width="200" border="2" bgcolor="#666666"> <tr>

<td width="200" height="49" class="style8" scope="col">

<div align="center" class="style49"><a href="simpan_guru2.php" class="style29 ">GURU</a></div></td></tr>

<tr>

<td width="200" height="49" class="style8" scope="col">

<div align="center" class="style49"><a href="simpan_siswa2.php" class="style29 ">MURID</a></div></td></tr>

(11)

<td height="47" width="200"scope="col"><div align="center" class="style59 style42 style40"><strong><a href="../Galeri.php" class="style63

style29">GALERI</a></strong></div></td></tr> <tr>

<td width="200" height="49"scope="col"><span class="style42 style60 style6 style40"><strong><a href="../contact.php" class="style29">CONTACT US</a></strong></span></td>

<tr>

<td height="61" width="200"><div align="center" class="style9"> <a href="bukutamu_user.php"class="style60 style29 ">BUKU TAMU</a></div></td></tr>

<tr>

<th height="80" bgcolor="#FFFFFF" scope="col"><span class="style49"> <?php //bulan sekarang $month=date("m"); //Tahun sekarang $year=date("Y"); //hari ini $day=date("d");

//cek jumlah hari tahun sekarang

$endDate=date("t",mktime(0,0,0,$month,$day,$year)); //style untuk table

echo ' <style> td { font-size:11; font-family:verdana; } </style> '; //table untuk menulis tanggal sekarang

echo '<table align="center" border="0" width="100%" cellpadding=2 cellspacing=1 style=""><tr><td align=center>'; echo date("D, d M Y

",mktime(0,0,0,$month,$day,$year)); echo '</td></tr></table>'; $d=getdate();

$jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0];

print ("$jam :$menit :$detik <br>\n"); //table untuk menulis hari

echo ' <table align="center" border="0" width="15%" cellpadding=2 cellspacing=1 style="border:1px solid #B3FFFF">

(12)

<td align=center><font color=red>Su</font></td> <td align=center>Mo</td> <td align=center>Tu</td> <td align=center>We</td> <td align=center>Th</td> <td align=center>Fr</td> <td align=center> <font color=blue>Sa</font></td></tr> ';

/* mengecek tanggal 1 bulan sekarang ada pada hari ke berapa kemudian tambahkan cell td sebanyak var $s */

$s=date ("w", mktime (0,0,0,$month,1,$year)); for ($ds=1;$ds<=$s;$ds++)

{

echo "<td style=\"font-family:arial;color:#B3D9FF\" width=\"10%\" align=center valign=middle bgcolor=\"#D2A6A6\"> </td>";

}

// memulai penulisan tanggal for ($d=1;$d<=$endDate;$d++) {

// jika nilai $d (tanggal) adalah hari minggu (0) dibuat baris baru <tr> if (date("w",mktime (0,0,0,$month,$d,$year)) == 0) { echo "<tr>"; } //default warna huruf

$fontColor="#000000";

// jika tanggal adalah hari minggu warna huruf merah

if (date("D",mktime (0,0,0,$month,$d,$year)) == "Sun") { $fontColor="red"; } // jika tanggal adalah hari sabtu warna huruf biru

if (date("D",mktime (0,0,0,$month,$d,$year)) == "Sat") { $fontColor="blue"; } //menulis tanggal

echo " <td style=\"font-family:arial;color:#333333\" width=\"10%\" align=center valign=middle><span style=\"color:$fontColor\">$d</span></td>";

//jika tanggal adalah hari sabtu (6) akhiri baris </tr>

if (date("w",mktime (0,0,0,$month,$d,$year)) == 6) { echo "</tr>"; } } //akhir table echo '</table>'; ?> </span></th> </tr>

<table width="200" border="0">

(13)

<img src="../FOTO RINI/google.jpg" name="Image8" width="178" height="40" border="0" id="Image8" /></a></td></tr>

<tr>

<td><div align="center"><a href="http://www.yahoo.com"><img src="../FOTO RINI/yahoo_logo.jpg" width="178" height="40" /></a></div></td></tr> <tr>

<td><div align="center"><a href="http://www.wikipedia.com"><img src="../FOTO RINI/O.png" width="178" height="61" /></a></div></td></tr>

<tr>

<td><div align="center"><a href="http://www.facebook.com/"><img src="../FOTO RINI/266px-Facebook_Logo.svg.png" width="178" height="40" /></a></div></td> </tr></table>

<div id="Layer8">

<table width="296" height="733" border="1"> <tr>

<td width="286" height="55" scope="col"><a href="simpan_alumni2.php" class="style34 style29 style42">Daftar Alumni</a></td></tr>

<tr>

<td height="269"><marquee direction="up" onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="5">

<p>Belajar merupakan jendela Dunia </p>

<p>Sekolah yang baik adalah sekolah yang dapat menumbuh kembangkan murid-muridnya bukan hanya prestasi belajar tapi juga kepribadian mereka. </p> <p> Gunakanlah waktumu semaksimal mungkin.

</ul></p></marquee> </td></tr> <tr>

<td height="317"><div align="center"><a href="#" onmouseout="MM_swapImgRestore()"

onmouseover="MM_swapImage('Image7','','FOTO

RINI/2875_1110197596723_1280342925_30489309_40436_n.jpg',1)"><img src="../FOTO RINI/100_0024.jpg" name="Image7" width="278" height="311" border="0" id="Image7" /></a></div></td></tr>

<tr>

<td height="41"><?php include"../counter2.php"?></td></tr> </table>

</div></div>

<div class="style6" id="Layer5">

<p align="center" class="style29 style69">&nbsp; </p>

<p align="center" class="style29 style69">SELAMAT DATANG DI SMA NEGERI 11 MEDAN</marquee></p>

(14)

<h3 align="center" class="style65"><img src="../FOTO RINI/100_0049.jpg" width="308" height="193" /></h3>

<p align="center" class="style29">&nbsp;</p>

<p align="center" class="style29">SMA NEGERI 11 MEDAN</p> <p align="center" class="style29">Jl. Pertiwi No. 93 Medan</p> <p align="center" class="style29">Telp. (061) 7382448 </p> <p align="left" class="style39">&nbsp;</p>

</div>

<p align="center" class="style37">&nbsp;</p><p align="left" class="style39 style29">&nbsp;</p>

</div></div>

<p align="center" class="style4">&nbsp;</p>

<div id="Layer7"><div align="center" class="style41">Copy Right By <br /> Rini Nursyahfitri Irianti<br /> 2010</div></div>

</body> </html> Login Admin.php <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> <!-- #Layer1 { position:absolute; width:122px; height:37px; z-index:1; left: 40px; top: 392px; } #Layer2 { position:absolute; width:126px; height:35px; z-index:2; left: 164px; top: 394px; } .style4 { color: #FF0000; font-size: 16px; } .style5 {color: #FF0000} #Layer3 {

(15)

position:absolute; width:196px; height:532px; z-index:1; left: 129px; top: 262px; } #Layer4 { position:absolute; width:812px; height:495px; z-index:2; left: 316px; top: 232px; background-color: #FFFFFF; background-image: url(FOTO%20RINI/coba.jpg); } #Layer5 { position:absolute; width:995px; height:535px; z-index:3; left: 132px; top: 226px; background-color: #333333; } #Layer6 { position:absolute; width:218px; height:115px; z-index:4; left: 910px; top: 238px; }

.style6 {color: #FF0000; font-size: 18px; } #Layer7 { position:absolute; width:995px; height:60px; z-index:4; left: 131px; top: 764px; background-color: #666666; } .style26 { color: #000000; font-size: 18px; font-weight: bold; }

(16)

.style29 { color: #FFFFFF; font-size: 18px; font-weight: bold; } #Layer8 { position:absolute; width:200px; height:115px; z-index:5; left: 46px; top: 86px; }

.style31 {color: #FF0000; font-size: 18px; font-weight: bold; } -->

</style> </head>

<body background="FOTO RINI/coba.jpg"> <table width="1000" border="0" align="center"> <tr>

<td height="173" class="style5" scope="col" bgcolor="#666666"><img src="../FOTO RINI/head2.jpg" width="72%" height="99%" /><img src="../FOTO

RINI/2875_1110134755152_1280342925_30489212_5320307_n.jpg"width="270" height="99%" /></td></tr>

</table>

<table width="992" height="25"align="center" border="0" bgcolor="#666666"> <tr><td width="206"><?php include "counter.php"; ?></td>

<td width="776" align="right"><marquee direction="left"

onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="5">

<span class="style29">Selamat Datang di SMA Negeri 11 Medan Jl. Pertiwi No. 93 Medan...!!!!!!</span>

</marquee></td></tr> </table>

<div class="style6" id="Layer5"> <p>

<?php

include("koneksi.php"); $sql="select * from user";

$query=mysql_query($sql,$koneksi); ?></p> <?php //bulan sekarang $month=date("m"); //Tahun sekarang $year=date("Y");

(17)

//hari ini

$day=date("d");

//cek jumlah hari tahun sekarang

$endDate=date("t",mktime(0,0,0,$month,$day,$year)); //style untuk table

echo ' <style> td { font-size:11; font-family:verdana; } </style> '; //table untuk menulis tanggal sekarang

echo '<table align="center" border="0" width="100%" cellpadding=2 cellspacing=1 style=""><tr><td align=center>';

echo date("D, d M Y ",mktime(0,0,0,$month,$day,$year)); echo '</td></tr></table>'; $d=getdate();

$jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0];

print ("$jam :$menit :$detik <br>\n"); ?></td></tr></table>

<table width="989" border="0"> <tr>

<td width="319" scope="col"><img src="../FOTO RINI/100_0024.jpg" width="255" height="110" /></td>

<td width="249" scope="col">&nbsp;</td>

<td width="407" scope="col">&nbsp;&nbsp;&nbsp;&nbsp;<img src="../FOTO RINI/100_0051.jpg" height="120" width="268" /></td></tr>

</table> <div align="center"> <table> <tr><td width="469"> <div align="center"> <?php include("koneksi.php");

$sql="select * from user where nama='$_REQUEST[nama]'"; $query=mysql_query($sql,$koneksi);

$result=mysql_fetch_array($query); ?>

</div>

<form action="index.php" method="post">

<div align="center"><table align="center"> <tr>

(18)

<td width="230"><h1 class="style31">LOGIN ADMINISTRATOR </h1></td></tr> </table>

<table width="451" height="257" align="center"> <tr>

<td width="96" height="39">Nama</td><td width="44">:</td> <td width="295"><input type="text" name="nama" value="<?php echo $result['nama']?>" /></td></tr>

<tr>

<td height="30">Email</td>

<td>:</td><td><input type="text" name="email" value="<?php echo $result['email']?>" /></td></tr>

<tr>

<td height="32">Pasword</td>

<td>:</td><td><input type="password" name="password" value="<?php echo $result['password']?>" /></td></tr>

<tr>

<td height="68"><div align="right"><input type="submit" value="Login"/> <input type="hidden" name="id" value="<? echo $_REQUEST['nama'];?>"/> </div></td>

<td><div align="right"><input type="reset" value="Batal" /></div></td> </tr> </table> </div></form> </td></tr> </table> </div></table> <tr bgcolor="#000000"> </div> <p align="center" class="style4">&nbsp;</p> <div id="Layer7">

<div align="center"><span class="style26">Copy Right By <br />Rini Nursyahfitri Irianti<br /> 2010</span></div></div> </body> </html> Register Guru.php <html xmlns="http://www.w3.org/1999/xhtml"> <head>

<title>Halaman Registrasi Guru</title> <style type="text/css">

<!-- #Layer1 {

(19)

position:absolute; width:122px; height:37px; z-index:1; left: 40px; top: 392px; } #Layer2 { position:absolute; width:126px; height:35px; z-index:2; left: 164px; top: 394px; } .style4 { color: #FF0000; font-size: 16px; } .style5 {color: #FF0000} #Layer3 { position:absolute; width:196px; height:567px; z-index:1; left: 11px; top: 279px; } #Layer4 { position:absolute; width:812px; height:495px; z-index:2; left: 316px; top: 232px; background-color: #FFFFFF; background-image: url(FOTO%20RINI/coba.jpg); } .style8 { font-size: 24px; color: #FFFF00; font-weight: bold; } #Layer5 { position:absolute; width:717px; height:731px; z-index:3; left: 246px;

(20)

top: 281px; background-color: #333333; } .style9 { color: #FFFF00; font-size: 18px;

font-family: "Times New Roman"; font-weight: bold; } #Layer6 { position:absolute; width:218px; height:115px; z-index:4; left: 910px; top: 238px; }

.style6 {color: #FF0000; font-size: 18px; } #Layer7 { position:absolute; width:1244px; height:60px; z-index:4; left: 16px; top: 1014px; background-color: #666666; } .style29 {color: #FFFFFF} .style34 {

font-family: "Monotype Corsiva"; font-size: 18px; } a:link { text-decoration: none; color: #FFFFFF; } a:visited { text-decoration: none; color: #FFFFFF; } a:hover { text-decoration: none; color: #FF0000; } a:active { text-decoration: none; color: #FF0000; }

(21)

.style40 {font-size: 18px}

.style41 {font-size: 16px; color: #000000;}

.style37 {font-family: "Times New Roman"; font-size: 18px; } .style42 {font-family: "Times New Roman"}

.style44 { color: #FFFFFF; font-size: 20px; font-family: Courier; } .style45 {font-size: 20px}

.style48 {font-family: "Monotype Corsiva"; font-size: 18px; color: #FFFFFF; } .style49 {font-family: "Times New Roman"; font-size: 18px; font-weight: bold; } .style50 {font-weight: bold}

#Layer8 { position:absolute; width:288px; height:659px; z-index:1; left: 954px; top: 0px; background-color: #666666; }

.style51 {font-family: Courier}

.style52 {font-family: Courier; font-size: 16px; } -->

</style> </head> <body>

<table width="1270" border="1" align="center"> <tr>

<th width="1260" height="173" bgcolor="#666666" class="style5"

scope="col"><img src="../FOTO RINI/head2.jpg" width="72%" height="99%" /> <img src="../FOTO

RINI/2875_1110134755152_1280342925_30489212_5320307_n.jpg"width="270" height="99%" /></th></tr>

</table>

<table width="1269" height="25"align="center" border="1" bgcolor="#666666"> <tr>

<th width="1049" align="right"><marquee direction="left"

onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="6" loop behavior="alternate"><span class="style48 style45">SMA Negeri 11 Medan Jl. Pertiwi No. 93 Medan Telp. (061) 7382448</span>

</marquee></th></tr> </table>

<table width="1270" height="45" align="center" border="0" bordercolor="#FFFFFF" bgcolor="#666666">

(22)

<tr>

<td width="15%" height="41" align="center" class="style5">

<div align="center" class="style40"><a href="../HOME.php" class="style50 "><span class="style42">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span

class="style29">&nbsp;HOME</span></span> &nbsp;</a></div></td> <td width="15%" align="center" class="style5">

<div align="center" class="style40"><a href="../PROFILE.php" class="style53 "><span class="style42 style29">PROFILE</span>&nbsp;&nbsp;</a></div></td> <td width="15%" align="center" class="style5">

<div align="center" class="style40"><a href="../SEJARAH.php" class="style53 "><span class="style42 style29">SEJARAH</span>&nbsp;&nbsp;</a></div></td> <td width="15%" align="center" class="style6">

<span class="style29"><a href="../fasilitas.php" class="style53"> <div align="center"><span

class="style29">FASILITAS</span>&nbsp;&nbsp;</div></a></td> <td width="15%" align="center" class="style54">

<div align="center" class="style40"><a href="../Organisasi.php" class="style53 "><span class="style42 style29">ORGANISASI</span><span

class="style29">&nbsp;</span>&nbsp;</a></div></td> </tr>

</table>

<div id="Layer3">

<table width="200" border="2" bgcolor="#666666"> <tr>

<td width="200" height="49" class="style8" scope="col">

<div align="center" class="style49"><a href="simpan_guru2.php" class="style29 ">GURU</a></div></td></tr>

<tr>

<td width="200" height="49" class="style8" scope="col">

<div align="center" class="style49"><a href="simpan_siswa2.php" class="style29 ">MURID</a></div></td></tr>

<tr>

<td height="47" width="200"scope="col"><div align="center" class="style59 style42 style40"><strong><a href="../Galeri.php" class="style63

style29">GALERI</a></strong></div></td></tr> <tr>

<th width="200" height="49"scope="col"><span class="style42 style60 style6 style40"><strong><a href="../contact.php" class="style29">CONTACT US</a></strong></span></th></tr>

(23)

<td height="61" width="200"><div align="center" class="style9"> <a href="bukutamu_user.php"class="style60 style29 ">BUKU TAMU</a></div></td></tr>

<tr>

<th height="80" bgcolor="#FFFFFF" scope="col"> <span class="style49"> <?php //bulan sekarang $month=date("m"); //Tahun sekarang $year=date("Y"); //hari ini $day=date("d");

//cek jumlah hari tahun sekarang

$endDate=date("t",mktime(0,0,0,$month,$day,$year)); //style untuk table

echo ' <style> td { font-size:11; font-family:verdana; } </style> '; //table untuk menulis tanggal sekarang

echo '<table align="center" border="0" width="100%" cellpadding=2 cellspacing=1 style=""><tr><td align=center>';

echo date("D, d M Y ",mktime(0,0,0,$month,$day,$year)); echo '</td></tr></table>'; $d=getdate();

$jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0];

print ("$jam :$menit :$detik <br>\n"); //table untuk menulis hari

echo '

<table align="center" border="0" width="15%" cellpadding=2 cellspacing=1 style="border:1px solid #B3FFFF"> <tr bgcolor="#CCCCCC"> <td align=center><font color=red>Su</font></td> <td align=center>Mo</td> <td align=center>Tu</td> <td align=center>We</td> <td align=center>Th</td> <td align=center>Fr</td> <td align=center> <font color=blue>Sa</font></td></tr> ';

(24)

/* mengecek tanggal 1 bulan sekarang ada pada hari ke berapa kemudian tambahkan cell td sebanyak var $s */

$s=date ("w", mktime (0,0,0,$month,1,$year)); for ($ds=1;$ds<=$s;$ds++)

{

echo "<td style=\"font-family:arial;color:#B3D9FF\" width=\"10%\" align=center valign=middle bgcolor=\"#D2A6A6\"> </td>";

}

// memulai penulisan tanggal for ($d=1;$d<=$endDate;$d++) {

// jika nilai $d (tanggal) adalah hari minggu (0) dibuat baris baru <tr> if (date("w",mktime (0,0,0,$month,$d,$year)) == 0) { echo "<tr>"; } //default warna huruf

$fontColor="#000000";

// jika tanggal adalah hari minggu warna huruf merah

if (date("D",mktime (0,0,0,$month,$d,$year)) == "Sun") { $fontColor="red"; } // jika tanggal adalah hari sabtu warna huruf biru

if (date("D",mktime (0,0,0,$month,$d,$year)) == "Sat") { $fontColor="blue"; } //menulis tanggal

echo "

<td style=\"font-family:arial;color:#333333\" width=\"10%\" align=center valign=middle><span style=\"color:$fontColor\">$d</span></td>"; //jika tanggal adalah hari sabtu (6) akhiri baris </tr>

if (date("w",mktime (0,0,0,$month,$d,$year)) == 6) { echo "</tr>"; } } //akhir table echo '</table>'; ?> </span></th></tr> <tr> <td height="224" width="200"> <table width="200" border="0"> <tr>

<th class="style49" scope="col"><a href="http://www.google.com"><img src="../FOTO RINI/google.jpg" name="Image8" width="178" height="40" border="0" id="Image8" /></a></th></tr>

(25)

<td><div align="center"><a href="http://www.yahoo.com"><img src="../FOTO RINI/yahoo_logo.jpg" width="178" height="40" /></a></div></td></tr> <tr>

<td><div align="center"><a href="http://www.wikipedia.com"><img src="../FOTO RINI/O.png" width="178" height="61" /></a></div></td></tr>

<tr>

<td><div align="center"><a href="http://www.facebook.com/"><img src="../FOTO RINI/266px-Facebook_Logo.svg.png" width="178" height="40" /></a></div></td> </tr>

</table>

<div id="Layer8">

<table width="296" height="733" border="1"> <tr>

<th width="286" height="55" scope="col"><a href="simpan_alumni2.php" class="style34 style29 style42">Daftar Alumni</a></th></tr>

<tr>

<td height="269"><marquee direction="up" onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="5">

<p>Belajar merupakan jendela Dunia </p>

<p>Sekolah yang baik adalah sekolah yang dapat menumbuh kembangkan murid-muridnya bukan hanya prestasi belajar tapi juga kepribadian mereka. </p> <p> Gunakanlah waktumu semaksimal mungkin.

</ul></p></marquee> </td></tr> <tr>

<td height="317"><div align="center"><a href="#" onmouseout="MM_swapImgRestore()"

onmouseover="MM_swapImage('Image7','','FOTO

RINI/2875_1110197596723_1280342925_30489309_40436_n.jpg',1)"><img src="../FOTO RINI/100_0024.jpg" name="Image7" width="278" height="311" border="0" id="Image7" /></a></div></td></tr>

<tr>

<td height="41"><?php include"../counter2.php"?></td></tr> </table>

</div></div>

<div class="style6" id="Layer5"> <div align="center" class="style29"> <div align="center">

<?php

include("koneksi.php");

$sql="select * from guru where nama='$_REQUEST[nama]'"; $query=mysql_query($sql,$koneksi);

(26)

?> </div>

<form action="simpan_guru.php" method="post"> <div align="center"><table align="center"> <tr>

<th width="265" height="38"><h1>Registrasi Guru </h1></th></tr> </table>

<table width="529" height="320"> <tr>

<td width="260" height="18"><span class="style30"></span><tr>

<td width="260" height="32"><div align="left" class="style30">Nama</div></td> <td width="76"><div align="left" class="style30">:</div></td>

<td width="177"><div align="left"><input type="text" name="nama" value="<?php echo $result['nama']?>" /></div></td></tr>

<tr>

<td height="30"><div align="left" class="style30">Nip</div></td> <td><div align="left" class="style30">:</div></td><td><div align="left"> <input type="text" name="nip" value="<?php echo $result['nip']?>" /> </div></td></tr>

<tr>

<td height="30"><div align="left" class="style30">Jabatan</div></td> <td><div align="left" class="style30">:</div></td>

<td><div align="left"><input type="text" name="jabatan" value="<?php echo $result['jabatan']?>" /></div></td></tr>

<tr>

<td height="30"><div align="left" class="style30">Pendidikan Terakhir</div></td> <td><div align="left" class="style30">:</div></td>

<td><div align="left"><input type="text" name="pendidikan_terakhir" value="<?php echo $result['pendidikan_terakhir']?>" /></div></td></tr>

<tr>

<td height="30"><div align="left" class="style30">Jenis kelamin</div></td> <td><div align="left" class="style30">:</div></td>

<td><div align="left"><input type="text" name="jenis_kelamin" value="<?php echo $result['jenis_kelamin']?>" /></div></td></tr>

<tr>

<td height="30"><div align="left" class="style30">Alamat</div></td> <td><div align="left" class="style30">:</div></td>

<td><div align="left"><input type="text" name="alamat" value="<?php echo $result['alamat']?>" /></div></td></tr>

<tr>

(27)

<td height="30"><div align="left" class="style30">Nomor Handphone</div></td> <td><div align="left" class="style30">:</div></td>

<td><div align="left"><input type="text" name="no_handphone" value="<?php echo $result['no_handphone']?>" /></div></td></tr>

<tr>

<td height="30"><div align="left" class="style30">Nomor Telephone</div></td> <td><div align="left" class="style30">:</div></td>

<td><div align="left"><input type="text" name="no_telephone" value="<?php echo $result['no_telephone']?>" /></div></td></tr>

<tr>

<td><span class="style30"><input type="submit" value="Login"/>

<input type="hidden" name="id" value="<? echo $_REQUEST['nama'];?>"/> </span></td>

<td><input type="reset" value="Batal" /></td></tr> </table> </div> </form></th></tr></table> <?php while($row=mysql_fetch_array($query)) { ?> <tr bgcolor="#000000">

<td><span class="style2"><?php echo $no;?></span></td>

<td><span class="style2"><?php echo $row['nama'];?></span></td> <td><span class="style2"><?php echo $row['nip'];?></span> </td> <td><span class="style2"><?php echo $row['jabatan'];?></span> </td>

<td><span class="style2"><?php echo $row['pendidikan_terakhir'];?></span> </td> <td>&nbsp;</td>

<td><span class="style2"><?php echo $row['alamat'];?></span> </td> <td><span class="style2"><?php echo $row['no_telephone'];?></span> </td> <td><span class="style2"><?php echo $row['no_handphone'];?></span> </td> <?php $no++; } ?> </table> <tr bgcolor="#000000"> </div> <p align="center" class="style37">&nbsp;</p> <p align="left" class="style39 style29">&nbsp;</p> </div>

(28)

<p align="center" class="style4">&nbsp;</p>

<div id="Layer7"><div align="center" class="style41">Copy Right By <br /> Rini Nursyahfitri Irianti<br /> 2010</div></div>

</body> </html>

Simpan Guru.php <html>

<title>Halaman Simpan Data Guru</title> <head></head>

<body> <p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=5,0,0,0" width="50" height="37"><param name="movie"

value="button24.swf"><param name="quality" value="high"> <embed src="button24.swf" quality="high"

pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod _Version=ShockwaveFlash" type="application/x-shockwave-flash" width="50" height="37" ></embed></object>

Kembali Ke Data Guru </p> <p> <?php include("koneksi.php"); $nama = $_POST['nama']; $nip = $_POST['nip']; $jabatan = $_POST['jabatan']; $pendidikan_terakhir = $_POST['pendidikan_terakhir']; $jenis_kelamin = $_POST['jenis_kelamin']; $alamat = $_POST['alamat']; $no_handphone = $_POST['no_handphone']; $no_telephone= $_POST['no_telephone']; $sql="insert into guru(nama,nip,jabatan,pendidikan_terakhir,jenis_kelamin,alamat,no_handphone,no_te lephone) values('$nama','$nip','$jabatan','$pendidikan_terakhir','$jenis_kelamin','$alamat','$no_ handphone','$no_telephone')"; $query=mysql_query($sql,$koneksi); if($query==true)

{echo"Silahkan Bergabung dengan Website SMA Negeri 11 Medan";} else {echo"gagal";}

?> </p> </body>

(29)

</html>

Tampil Guru.php

<html xmlns="http://www.w3.org/1999/xhtml"> <head>

<title>Halaman Tampil Data Guru</title> <style type="text/css"> <!-- #Layer1 { position:absolute; width:122px; height:37px; z-index:1; left: 40px; top: 392px; } #Layer2 { position:absolute; width:126px; height:35px; z-index:2; left: 164px; top: 394px; } .style5 {color: #FF0000} #Layer3 { position:absolute; width:196px; height:567px; z-index:1; left: 11px; top: 279px; } #Layer4 { position:absolute; width:812px; height:495px; z-index:2; left: 316px; top: 232px; background-color: #FFFFFF; background-image: url(FOTO%20RINI/coba.jpg); } #Layer5 { position:absolute; width:1025px; height:731px;

(30)

z-index:3; left: 12px; top: 269px; background-color: #333333; } #Layer6 { position:absolute; width:218px; height:115px; z-index:4; left: 910px; top: 238px; }

.style6 {color: #FF0000; font-size: 18px; } #Layer7 { position:absolute; width:1247px; height:60px; z-index:4; left: 13px; top: 1004px; background-color: #666666; } a:link { text-decoration: none; color: #FFFFFF; } a:visited { text-decoration: none; color: #FFFFFF; } a:hover { text-decoration: none; color: #FF0000; } a:active { text-decoration: none; color: #FF0000; } .style40 {font-size: 18px} .style45 {font-size: 20px}

.style48 {font-family: "Monotype Corsiva"; font-size: 18px; color: #FFFFFF; } #Layer8 { position:absolute; width:222px; height:701px; z-index:1; left: 1024px; top: 1px;

(31)

background-color: #666666; }

.style55 {color: #000000; font-size: 14px; font-family: Courier; } .style58 {

color: #000000; font-family: Courier; }

.style70 {color: #000000; font-size: 16px; font-family: Courier; } .style71 { color: #FFFFFF; font-family: Courier; } .style72 {font-size: 24px} --> </style> </head>

<body onload="MM_preloadImages('FOTO RINI/y.jpg','FOTO RINI/google.jpg','FOTO

RINI/2875_1110197596723_1280342925_30489309_40436_n.jpg')"> <table width="1270" border="1" align="center">

<tr>

<th width="1260" height="173" bgcolor="#666666" class="style5"

scope="col"><img src="../FOTO RINI/head2.jpg" width="72%" height="99%" /> <img src="../FOTO

RINI/2875_1110134755152_1280342925_30489212_5320307_n.jpg"width="270" height="99%" /></th></tr>

</table>

<table width="1269" bgcolor="#999999"> <tr>

<th width="1250" align="right" bgcolor="#666666"><marquee direction="left" onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="6" loop behavior="alternate"><span class="style48 style45">SMA Negeri 11 Medan Jl. Pertiwi No. 93 Medan Telp. (061) 7382448</span></marquee></th></tr> </table>

<table width="1267" height="39" align="center" border="0" bordercolor="#FFFFFF" bgcolor="#666666">

<tr>

<td width="15%" height="26" align="center" class="style5"><a href="../HOME.php" class="style40">HOME</a></td>

<td width="15%" align="center" class="style5"><a href="../PROFILE.php" class="style40">PROFILE</a></td>

<td width="15%" align="center" class="style5"><a href="../SEJARAH.php" class="style40">SEJARAH</a></td>

(32)

<td width="15%" align="center" class="style5"><a href="../fasilitas.php" class="style40">FASILITAS</a></td>

<td width="15%" align="center" class="style5"><a href="../Organisasi.php" class="style40">ORGANISASI</a></td>

</tr> </table>

<div class="style6" id="Layer5"> <table><tr><td> <?php //bulan sekarang $month=date("m"); //Tahun sekarang $year=date("Y"); //hari ini $day=date("d");

//cek jumlah hari tahun sekarang

$endDate=date("t",mktime(0,0,0,$month,$day,$year)); //style untuk table

echo ' <style> td { font-size:11; font-family:verdana; } </style> '; //table untuk menulis tanggal sekarang

echo '<table align="center" border="0" width="100%" cellpadding=2 cellspacing=1 style=""><tr><td align=center>';

echo date("D, d M Y ",mktime(0,0,0,$month,$day,$year)); echo '</td></tr></table>'; $d=getdate();

$jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0];

print ("$jam :$menit :$detik <br>\n"); ?></td></tr> </table> <div id="Layer8"> <table align="center"> <tr> <td><a href="simpan_alumni2.php">Alumni</a></td> </tr> </table>

(33)

<table width="218" height="684" border="1"> <tr>

<th width="233" height="200" scope="col"><marquee direction="up" onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="3"> <p class="style71">Belajar merupakan jendela Dunia </p>

<p class="style71">Sekolah yang baik adalah sekolah yang dapat menumbuh kembangkan murid-muridnya bukan hanya prestasi belajar tapi juga kepribadian mereka. </p>

<p class="style71"> Gunakanlah waktumu semaksimal mungkin. </ul> </p> </marquee> </th> </tr> <tr bgcolor="#FFFFFF"> <td height="30" width="170"> <?php //bulan sekarang $month=date("m"); //Tahun sekarang $year=date("Y"); //hari ini $day=date("d");

//cek jumlah hari tahun sekarang

$endDate=date("t",mktime(0,0,0,$month,$day,$year)); //style untuk table

echo ' <style> td { font-size:11; font-family:verdana; } </style> '; //table untuk menulis tanggal sekarang

echo '<table align="center" border="0" width="100%" cellpadding=2 cellspacing=1 style=""><tr><td align=center>';

echo date("D, d M Y ",mktime(0,0,0,$month,$day,$year)); echo '</td></tr></table>'; $d=getdate();

$jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0];

print ("$jam :$menit :$detik <br>\n");

//table untuk menulis hari echo '

(34)

<table align="center" border="0" width="15%" cellpadding=2 cellspacing=1 style="border:1px solid #B3FFFF"> <tr bgcolor="#CCCCCC"> <td align=center><font color=red>Su</font></td> <td align=center>Mo</td> <td align=center>Tu</td> <td align=center>We</td> <td align=center>Th</td> <td align=center>Fr</td> <td align=center> <font color=blue>Sa</font></td></tr> ';

/* mengecek tanggal 1 bulan sekarang ada pada hari ke berapa kemudian tambahkan cell td sebanyak var $s */

$s=date ("w", mktime (0,0,0,$month,1,$year)); for ($ds=1;$ds<=$s;$ds++)

{

echo "<td style=\"font-family:arial;color:#B3D9FF\" width=\"10%\" align=center valign=middle bgcolor=\"#D2A6A6\"> </td>";

}

// memulai penulisan tanggal for ($d=1;$d<=$endDate;$d++) {

// jika nilai $d (tanggal) adalah hari minggu (0) dibuat baris baru <tr> if (date("w",mktime (0,0,0,$month,$d,$year)) == 0) { echo "<tr>"; } //default warna huruf

$fontColor="#000000";

// jika tanggal adalah hari minggu warna huruf merah

if (date("D",mktime (0,0,0,$month,$d,$year)) == "Sun") { $fontColor="red"; } // jika tanggal adalah hari sabtu warna huruf biru

if (date("D",mktime (0,0,0,$month,$d,$year)) == "Sat") { $fontColor="blue"; } //menulis tanggal

echo "

<td style=\"font-family:arial;color:#333333\" width=\"10%\" align=center valign=middle><span style=\"color:$fontColor\">$d</span></td>"; //jika tanggal adalah hari sabtu (6) akhiri baris </tr>

if (date("w",mktime (0,0,0,$month,$d,$year)) == 6) { echo "</tr>"; }

}

//akhir table echo '</table>'; ?></td></tr>

(35)

<tr>

<td height="82"><div align="center"><a href="http://www.wikipedia.com"><img src="../FOTO RINI/O.png" height="67" width="170" /></a></div></td></tr> <tr>

<td height="58"><div align="center"><a href="http://www.yahoo.com"><img src="../FOTO RINI/yahoo_logo.jpg" width="170" height="50" /></a></div></td> </tr>

<tr>

<td height="58"><div align="center"><a href="http://www.google.com"><img src="../FOTO RINI/google.jpg" width="170" height="50" /></a></div></td></tr> <tr>

<td height="30"><div align="center"><a href="http://www.facebook.com"><img src="../FOTO RINI/266px-Facebook_Logo.svg.png" width="170" height="50" /> </a></div></td></tr>

</table> </div>

<table width="271" border="0" align="center"> <tr>

<th width="265" scope="col"><span class="style3 style30 style71 style72">Daftar Data Guru </span></th></tr>

</table> <?php

include("koneksi.php"); $sql="select * from guru";

$query=mysql_query($sql,$koneksi); ?></p><table width="979" align="left"> <tr bgcolor="#999999">

<th width="24"><span class="style70">No</span></th> <th width="191"><span class="style70">Nama</span></th> <th width="90"><span class="style70">Nip</span></th> <th width="144"><span class="style70">Jabatan</span></th>

<th width="118"><span class="style70">Pendidikan Terakhir</span></th> <th width="174"><span class="style70">Alamat</span></th> <th width="78"><span class="style70">Telephonee</span></th> <th width="70"><span class="style70">Handphone</span></th> </tr> <?php $no=1; while($row=mysql_fetch_array($query)) { ?>

(36)

<tr bgcolor="#FFFFFF">

<td><span class="style2 style33 style55"><?php echo $no;?></span></td>

<td><span class="style2 style33 style58"><?php echo $row['nama'];?></span></td> <td><span class="style2 style33 style58"><?php echo $row['nip'];?></span> </td> <td><span class="style2 style33 style58"><?php echo $row['jabatan'];?></span> </td>

<td><span class="style2 style33 style58"><?php echo $row['pendidikan_terakhir'];?></span> </td>

<td><span class="style2 style33 style58"><?php echo $row['alamat'];?></span> </td> <td><span class="style2 style33 style58"><?php echo

$row['no_telephone'];?></span> </td>

<td><span class="style2 style33 style58"><?php echo $row['no_handphone'];?></span> </td> <?php $no++; } ?> </table> <p></p> </div> <div id="Layer7">

<div align="center" class="style41">Copy Right By <br /> Rini Nursyahfitri Irianti<br />2010</div></div> </body> </html> Edit Guru.php <html xmlns="http://www.w3.org/1999/xhtml"> <head>

<title>Halaman Edit Guru</title> <style type="text/css">

<!--

.style1 {font-size: 24px} .style5 {font-size: 16px} .style9 {font-size: 18px}

.style10 {color: #FFFFFF; font-size: 18px; } -->

</style> </head> <body>

<table width="895" border="1" align="center"> <tr>

<th width="885" height="173" bgcolor="#666666" class="style5" scope="col"><img src="../FOTO RINI/head2.jpg" width="69%" height="99%" />

(37)

<img src="../FOTO RINI/2875_1110134755152_1280342925_30489212_5320307_n.jpg"width="270" height="99%" /></th> </tr> </table> <?php include("koneksi.php");

$sql="select * from guru where nama='$_REQUEST[nama]'"; $query=mysql_query($sql,$koneksi);

$result=mysql_fetch_array($query); ?>

<form action="simpan_guru.php" method="post"> <table align="center">

<tr>

<th width="356"><h1 class="style1">Halaman Edit Guru </h1></th></tr> </table>

<div align="center">

<table width="640" height="374" bgcolor="#666666"> <tr>

<td width="198" height="44"><div align="left"><span class="style9"></span></div> <tr>

<td width="198" height="31"><div align="left"><span class="style10">Nama</span></div></td>

<td width="74"><span class="style10">:</span></td>

<td width="352"><input type="text" name="nama" value="<?php echo $result['nama']?>" /></td></tr>

<tr>

<td height="36"><div align="left"><span class="style10">Nip</span></div></td> <td><span class="style10">:</span></td>

<td><input type="text" name="nip" value="<?php echo $result['nip']?>" /></td></tr>

<tr>

<td height="34"><div align="left"><span class="style10">Jabatan</span></div></td> <td><span class="style10">:</span></td>

<td><input type="text" name="jabatan" value="<?php echo $result['jabatan']?>" /></td></tr>

<tr>

<td height="35"><div align="left"><span class="style10">Pendidikan Terakhir</span></div></td>

(38)

<td><input type="text" name="pendidikan_terakhir" value="<?php echo $result['pendidikan_terakhir']?>" /></td></tr>

<tr>

<td height="34"><div align="left"><span class="style10">Jenis Kelamin</span></div></td>

<td><span class="style10">:</span></td>

<td><input type="text" name="jenis_kelamin" value="<?php echo $result['jenis_kelamin']?>" /></td></tr>

<tr>

<td height="32"><div align="left"><span class="style10">Alamat </span></div></td>

<td><span class="style10">:</span></td>

<td><input type="text" name="alamat" value="<?php echo $result['alamat']?>" /></td></tr>

<tr>

<td height="33"><div align="left"><span class="style10">Nomor Handphone </span></div></td>

<td><span class="style10">:</span></td>

<td><input type="text" name="no_handphone" value="<?php echo $result['no_handphone']?>" /></td></tr>

<tr>

<td height="35"><div align="left"><span class="style10">Nomor Telephone</span></div></td>

<td><span class="style10">:</span></td>

<td><input type="text" name="no_telephone" value="<?php echo $result['no_telephone']?>" /></td></tr>

<tr>

<td height="36"><div align="right"><span class="style10">

<input type="submit" value="Edit"/><input type="hidden" name="id" value="<? echo $_REQUEST['nama'];?>"/></span></div></td>

<td><input type="reset" value="hapus" /></td></tr> </table> </div></form> </body> </html> Hapus Guru.php <?php include ("koneksi.php");

$query = mysql_query ("delete from guru where nama='$_GET[nama]'") or die (mysql_error());

(39)

echo "penghapusan berhasil dilakukan";} else{

echo "proses penghapusan gagal";} ?><title>hapus_alumni</title>

<p><a href="simpan_guru2.php">Back</a></p>

Siswa.php

<html xmlns="http://www.w3.org/1999/xhtml"> <head>

<title>Halaman Registrasi Siswa</title> <style type="text/css"> <!-- #Layer1 { position:absolute; width:122px; height:37px; z-index:1; left: 40px; top: 392px; } #Layer2 { position:absolute; width:126px; height:35px; z-index:2; left: 164px; top: 394px; } .style4 { color: #FF0000; font-size: 16px; } .style5 {color: #FF0000} #Layer3 { position:absolute; width:196px; height:567px; z-index:1; left: 11px; top: 279px; } #Layer4 { position:absolute; width:812px; height:495px; z-index:2; left: 316px;

(40)

top: 232px; background-color: #FFFFFF; background-image: url(FOTO%20RINI/coba.jpg); } .style8 { font-size: 24px; color: #FFFF00; font-weight: bold; } #Layer5 { position:absolute; width:737px; height:731px; z-index:3; left: 246px; top: 281px; background-color: #333333; } .style9 { color: #FFFF00; font-size: 18px;

font-family: "Times New Roman"; font-weight: bold; } #Layer6 { position:absolute; width:218px; height:115px; z-index:4; left: 910px; top: 238px; }

.style6 {color: #FF0000; font-size: 18px; } #Layer7 { position:absolute; width:1244px; height:60px; z-index:4; left: 16px; top: 1014px; background-color: #666666; } .style29 {color: #FFFFFF} .style34 {

font-family: "Monotype Corsiva"; font-size: 18px;

} a:link {

(41)

color: #FFFFFF; } a:visited { text-decoration: none; color: #FFFFFF; } a:hover { text-decoration: none; color: #FF0000; } a:active { text-decoration: none; color: #FF0000; } .style40 {font-size: 18px}

.style41 {font-size: 16px; color: #000000;} .style42 {font-family: "Times New Roman"} .style45 {font-size: 20px}

.style48 {font-family: "Monotype Corsiva"; font-size: 18px; color: #FFFFFF; } .style49 {font-family: "Times New Roman"; font-size: 18px; font-weight: bold; } .style50 {font-weight: bold}

#Layer8 { position:absolute; width:288px; height:659px; z-index:1; left: 984px; top: 1px; background-color: #666666; } #Layer10 { position:absolute; width:200px; height:115px; z-index:5; left: 447px; top: 640px; }

.style51 {color: #FFFFFF; font-family: Courier; } -->

</style> </head> <body>

<table width="1270" border="1" align="center"> <tr>

<th width="1260" height="173" bgcolor="#666666" class="style5" cope="col"><img src="../FOTO RINI/head2.jpg" width="72%" height="99%" /><img src="../FOTO

(42)

RINI/2875_1110134755152_1280342925_30489212_5320307_n.jpg"width="270" height="99%" /></th></tr>

</table>

<table width="1269" height="25"align="center" border="1" bgcolor="#666666"> <tr>

<th width="1049" align="right"><marquee direction="left"

onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="6" loop behavior="alternate"><span class="style48 style45">SMA Negeri 11 Medan Jl. Pertiwi No. 93 Medan Telp. (061) 7382448</span></marquee></th></tr> </table>

<table width="1270" height="45" align="center" border="0" bordercolor="#FFFFFF" bgcolor="#666666">

<tr>

<td width="15%" height="41" align="center" class="style5">

<div align="center" class="style40"><a href="../HOME.php" class="style50 "><span class="style42">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span

class="style29">&nbsp;HOME</span></span> &nbsp;</a></div></td> <td width="15%" align="center" class="style5">

<div align="center" class="style40"><a href="../PROFILE.php" class="style53 "><span class="style42 style29">PROFILE</span>&nbsp;&nbsp;</a></div></td> <td width="15%" align="center" class="style5">

<div align="center" class="style40"><a href="../SEJARAH.php" class="style53 "><span class="style42 style29">SEJARAH</span>&nbsp;&nbsp;</a></div></td> <td width="15%" align="center" class="style6">

<span class="style29"><a href="../fasilitas.php" class="style53"> <div align="center"><span

class="style29">FASILITAS</span>&nbsp;&nbsp;</div></a></td> <td width="15%" align="center" class="style54"><div align="center"

class="style40"><a href="../Organisasi.php" class="style53 "><span class="style42 style29">ORGANISASI</span><span

class="style29">&nbsp;</span>&nbsp;</a></div></td></tr> </table>

<div id="Layer3">

<table width="200" border="2" bgcolor="#666666"> <tr>

<td width="200" height="49" class="style8" scope="col">

<div align="center" class="style49"><a href="simpan_guru2.php" class="style29 ">GURU</a></div></td></tr>

<tr>

(43)

<div align="center" class="style49"><a href="simpan_siswa2.php" class="style29 ">MURID</a></div></td></tr>

<tr>

<td height="47" width="200"scope="col"><div align="center" class="style59 style42 style40"><strong><a href="../Galeri.php" class="style63

style29">GALERI</a></strong></div></td></tr> <tr>

<th width="200" height="49"scope="col"><span class="style42 style60 style6 style40"><strong><a href="../contact.php" class="style29">CONTACT US</a></strong></span></th>

<tr>

<td height="61" width="200"><div align="center" class="style9"> <a href="bukutamu_user.php"class="style60 style29 ">BUKU TAMU</a></div></td></tr>

<tr>

<th height="80" bgcolor="#FFFFFF" scope="col"><span class="style49"> <?php //bulan sekarang $month=date("m"); //Tahun sekarang $year=date("Y"); //hari ini $day=date("d");

//cek jumlah hari tahun sekarang

$endDate=date("t",mktime(0,0,0,$month,$day,$year)); //style untuk table

echo ' <style> td { font-size:11; font-family:verdana; } </style> '; //table untuk menulis tanggal sekarang

echo '<table align="center" border="0" width="100%" cellpadding=2 cellspacing=1 style=""><tr><td align=center>'; echo date("D, d M Y

",mktime(0,0,0,$month,$day,$year)); echo '</td></tr></table>'; $d=getdate();

$jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0];

print ("$jam :$menit :$detik <br>\n"); //table untuk menulis hari

(44)

echo ' <table align="center" border="0" width="15%" cellpadding=2 cellspacing=1 style="border:1px solid #B3FFFF"> <tr bgcolor="#CCCCCC"> <td align=center><font color=red>Su</font></td> <td align=center>Mo</td> <td align=center>Tu</td> <td align=center>We</td> <td align=center>Th</td> <td align=center>Fr</td> <td align=center> <font color=blue>Sa</font></td></tr> ';

/* mengecek tanggal 1 bulan sekarang ada pada hari ke berapa kemudian tambahkan cell td sebanyak var $s */

$s=date ("w", mktime (0,0,0,$month,1,$year)); for ($ds=1;$ds<=$s;$ds++)

{

echo "<td style=\"font-family:arial;color:#B3D9FF\" width=\"10%\" align=center valign=middle bgcolor=\"#D2A6A6\"> </td>";

}

// memulai penulisan tanggal for ($d=1;$d<=$endDate;$d++) {

// jika nilai $d (tanggal) adalah hari minggu (0) dibuat baris baru <tr> if (date("w",mktime (0,0,0,$month,$d,$year)) == 0) { echo "<tr>"; } //default warna huruf

$fontColor="#000000";

// jika tanggal adalah hari minggu warna huruf merah

if (date("D",mktime (0,0,0,$month,$d,$year)) == "Sun") { $fontColor="red"; } // jika tanggal adalah hari sabtu warna huruf biru

if (date("D",mktime (0,0,0,$month,$d,$year)) == "Sat") { $fontColor="blue"; } //menulis tanggal

echo "

<td style=\"font-family:arial;color:#333333\" width=\"10%\" align=center valign=middle><span style=\"color:$fontColor\">$d</span></td>"; //jika tanggal adalah hari sabtu (6) akhiri baris </tr>

if (date("w",mktime (0,0,0,$month,$d,$year)) == 6) { echo "</tr>"; }

}

//akhir table echo '</table>'; ?>

(45)

</span></th> </tr>

<tr>

<td height="224" width="200"> <table width="200" border="0"> <tr>

<th class="style49" scope="col"><a href="http://www.google.com"><img src="../FOTO RINI/google.jpg" name="Image8" width="178" height="40" border="0" id="Image8" /></a></th></tr>

<tr>

<td><div align="center"><a href="http://www.yahoo.com"><img src="../FOTO RINI/yahoo_logo.jpg" width="178" height="40" /></a></div></td></tr> <tr>

<td><div align="center"><a href="http://www.wikipedia.com"><img src="../FOTO RINI/O.png" width="178" height="61" /></a></div></td></tr><tr>

<td><div align="center"><a href="http://www.facebook.com/"><img src="../FOTO RINI/266px-Facebook_Logo.svg.png" width="178" height="40" /></a></div></td> </tr></table>

<div id="Layer8">

<table width="296" height="733" border="1"> <tr>

<th width="286" height="55" scope="col"><a href="simpan_alumni2.php" class="style34 style29 style42">Daftar Alumni</a></th></tr>

<tr>

<td height="269"><marquee direction="up" onMouseOver="this.stop()"

onMouseOut="this.start()" scrollamount="5"><p>Belajar merupakan jendela Dunia </p>

<p>Sekolah yang baik adalah sekolah yang dapat menumbuh kembangkan murid-muridnya bukan hanya prestasi belajar tapi juga kepribadian mereka. </p>

<p> Gunakanlah waktumu semaksimal mungkin.</ul></p></marquee> </td></tr> <tr>

<td height="317"><div align="center"><a href="#" onmouseout="MM_swapImgRestore()"

onmouseover="MM_swapImage('Image7','','FOTO

RINI/2875_1110197596723_1280342925_30489309_40436_n.jpg',1)"><img src="../FOTO RINI/100_0024.jpg" name="Image7" width="278" height="311" border="0" id="Image7" /></a></div></td></tr>

<tr>

<td height="41"><?php include"../counter2.php"?></td></tr> </table>

Referensi

Dokumen terkait

Metode Pengadaan e-Seleksi Umum Metode Kualifikasi Prakualifikasi Metode Dokumen Satu File Metode Evaluasi Biaya Terendah Anggaran 2017 - APBD.. Nilai Pagu Paket

Rais (Parit Mayor) pada Bidang Sumber Daya Air dan Pengendalian Dinas Pekerjaan Umum Kota Pontianak Tahun Anggaran 2016, bersama ini kami mengundang Bapak/Ibu untuk hadir pada

Digitalis purpurea adalah tanaman kebun populer dibudidayakan sebagai sumber digitoxin, obat Digitalis purpurea adalah tanaman kebun populer dibudidayakan sebagai sumber digitoxin,

MILIN UPT

Program Profesi Ners di Sekolah Tinggi Ilmu Kesehatan (STIKES) Deli.

a) Untuk mengetahui kriteria atribut produk jamu tradisional yang diinginkan dan dibutuhkan oleh konsumen. b) Untuk mengetahui penilaian konsumen terhadap mutu

Hasil-hasil penelitian pada beberapa tahun terakhir menunjukkan bahwa faktor psikologi individu seperti sifat kepribadian merupakan salah satu variabel penting yang

Individu dengan locus of control internal akan menunjukkan kinerja yang lebih baik dalam situasi di mana mereka dapat menerapkan tindakan yang dianggap sesuai dalam suatu pekerjaan