LAMPIRAN A: TAMPILAN WEBSITE A1. Halaman Index.php
A2. Halaman Admin A3. Halaman Registrasi Buku Tamu
A4. Halaman Registrasi Guru A5. Halaman Registrasi Alumni
A6. Halaman Registrasi Siswa
TAMPILAN B: LISTING PROGRAM
B1. Listing Program Index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>sma Negeri 1Dolok Panribuan</title> <style type="text/css"> <!-- #badan { width:995px; height:1008px; z-index:1; left: 103px; top: 9px; background-color: #00CC00; #header{ width:1000px; height:119px; z-index:1; background-color: #00FF00; left: 101px; top: 5px; #menu { width:217px; height:763px; z-index:2; left: 104px; top: 199px; background-color:#00ff00; #content{ width:713px; height:1114px; z-index:3; left: 304px; top: 101px; background-color: #003300; body { background-color:#ffffff; background-image: url(image/lim%20web%20background_r2_c2.jpg); #conten {
width:760px; height:766px; z-index:3; background-color: #00CC00; left: 331px; top: 198px; #footer{ width:997px; height:51px; z-index:5; background-color: #CC33CC; left: 102px; top: 1018px; #Layer1 { width:766px; height:774px; z-index:6; background-color: #FFFF99; left: -3px; top: -6px; background-image: url(../image/bg1.png);.style4 { font-size: 15px; color: #000000; font-weight: bold;.style5 {color: #000000.style6 {font-style: italic.style8 {color: #0000FF.style9 {color: #FF0000.style10 {font-size: 18px #Layer2 { width:994px; height:57px; z-index:6; left: 104px; top: 133px; background-color: #00FF00; background-image: url(../image/bg2.png);.style12 { color: #000000; font-size: 18px; font-weight: bold; --> </style> </head>
<body> <div id="layer2"> <table width="994" border="0"> <td width="192"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="130" height="22"> <param name="movie" value="text8.swf" /> <param name="bgcolor" value="#00cc00" /> <embed src="text8.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="130" height="22" bgcolor="#00cc00" </object> </td> <td width="216"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="173" height="28"> <param name="movie" value="text9.swf" /> <param name="bgcolor" value="#00cc00" /> <embed src="text9.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="173" height="28" bgcolor="#00cc00" <td width="237"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="176" height="28"> <param name="movie" value="text10.swf" /> <param name="bgcolor" value="#00cc00" /> <embed src="text10.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="176" height="28" bgcolor="#00cc00" <td width="305"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="196" height="28"> <param name="movie" value="text11.swf" /> <param name="bgcolor" value="#00cc00" /> <embed src="text11.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="196" height="28" bgcolor="#00cc00" <div id="badan">
<div id="header"> <table width="998" height="116" border="0"> <td width="105"><img src="../image/pemkab BAGUS.jpg" width="109" height="97" /></td> <td width="861"><img src="../image/header1.png" width="859" height="92" /></td> <div id="menu"> <table width="209" border="0"> <td width="268"><div align="center"> <img src="../image/hal utama.png" width="198" height="36" /> </td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="30"> <param name="movie" value="button3.swf" /> <param name="bgcolor" value="#00ff00" /> <embed src="button3.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="198" height="30" bgcolor="#00ff00" <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="30"> <param name="movie" value="button4.swf" /> <param name="bgcolor" value="#00ff00" /> <embed src="button4.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="199" height="30" bgcolor="#00ff00" <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="196" height="30"> <param name="movie" value="button5.swf" />
<embed src="button5.swf" width="196" height="30" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="30"> <param name="movie" value="button6.swf" /> <embed src="button6.swf" width="199" height="30" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/personalia.png" /></td> <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="195" height="33"> <param name="movie" value="button7.swf" /> <embed src="button7.swf" width="195" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/wakasek.png" /></td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="33"> <param name="movie" value="button8.swf" /> <embed src="button8.swf" width="198" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00"
<td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="33"> <param name="movie" value="button10.swf" /> <embed src="button10.swf" width="199" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/fasilitas.png" width="200" height="39" /></td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="201" height="31"> <param name="movie" value="button11.swf" /> <embed src="button11.swf" width="201" height="31" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <div id="conten"> <div id="layer1"> <table width="758" height="248" border="0"> <td height="82"><span class="style5"> <marquee direction="left" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="5"> </marquee> </span> <span class="style6"> <marquee direction="left" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="5">
</marquee> </span> <marquee direction="left" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="5"><div align="center" class="style12"><span class="style48 ">SELAMAT DATANG PADA SMA NEGERI 1 DOLOK PANRIBUAN</span> </marquee> <div align="justify"> <p align="justify" class="style4"> Para pengunjung situs yang terhormat, kami menyadari sepenuhnya bahwa pemanfaatan Teknologi Informasi bagi kepentingan manusia dewasa ini berkembang sangat pesat. Termasuk aplikasi-aplikasi yang berkembang dalam ruang lingkup pendidikan. Tentunya hal ini merupakan peluang baru guna mempercepat upaya pemerintah dalam meningkatkan mutu pendidikan di Indonesia. SMA NEGERI 1 DOLOK PANRIBUAN sebagai lembaga pendidikan yang berdiri sejak tahun 1985, akan terus memperkembangkan ini sebagai alternatif mengejar ketertinggalan kita dalam informasi pendidikan maupun dalam cakupan yang lebih luas. Ini kami lakukan bukanlah hanya sekedar latah 'trend' di masyarakat. Tapi memang dengan kesungguhan hati adalah untuk saling memberi informasi dan berkomunikasi kami sebagai lembaga pendidikan, baik dengan orangtua siswa, para alumni maupun masyarakat luas, khususnya dalam lingkungan pendidikan.</p> <p align="justify" class="style4"> Terlebih lagi melalui media yang tidak asing dimasyarakat ini, kami akan terus memberikan layanan informasi bagi para siswa dan orang tua siswa. Diharapkan untuk ke depan, seluruh masyarakat dapat lebih dekat dengan almamater kami ini. Sebagai terobosan teknologi, untuk mempermudah para pengguna media internet dapat pula menggunakan layanan SMS melalui handphone (telepon genggam). Sehingga di manapun seseorang mengakses langsung dengan web-site ini.akhirnya kami ucapkan Selamat Datang di situs resmi SMA NEGERI 1 DOLOK PANRIBUAN. Semoga kehadiran situs ini dapat bermanfaat bagi kita semua. </p> </td> <td height="142" align="center"><strong>kepala SEKOLAH</strong><br /> <img src="../image/100_0245.jpg" width="168" height="155"/><br /> <strong>drs. Alberth P. Sipayung</strong><br /> Nip. 19580917 1991121 1 002</td> <table width="600" height="137" border="0"> <td><marquee direction="right" height="500" width="500" truespeed="truespeed"> <img src="../image/100_0203.jpg" width="100" height="100" /><img src="../image/100_0204.jpg" width="100" height="100" /><img src="../image/100_0205.jpg" width="100" height="100" /><img src="../image/100_0206.jpg" width="100" height="100" /><img src="../image/100_0252.jpg" width="100" height="100" /><img src="../image/100_0275.jpg" width="100" height="100" /></marquee></td> <div id="footer"><img src="../image/footer2.png" alt="gambar" width="1000" /> </body> </html>
B2. Listing Program Admin <html> <head> <title> WEB SMA NEGERI 1 DOLOK PANRIBUAN</title> <style type="text/css"> <!-- #body { width:942px; height:680px; z-index:1; left: 155px; top: -20px; background-color:#ffffff; #header { width:942px; height:146px; z-index:1; background-color: #00FF00; #Layer1 { width:941px; height:115px; z-index:2; background-color: #00FFFF; left: 1px; top: 161px; #Layer2 { width:939px; height:39px; z-index:2; left: 1px; top: 160px; background-color: #009900; #Layer3 { width:941px; height:95px; z-index:3; left: 1px; top: 202px;
background-color: #996699; #Layer4 { width:939px; height:423px; z-index:4; left: 1px; top: 199px; background-color: #99FF00; #footer{ width:939px; height:51px; z-index:5; background-color: #CC33CC; left: 1px; top: 624px;.style1 { color: #0000FF; font-family: Verdana, Arial, Helvetica, sans-serif; #Layer6 { width:354px; height:423px; z-index:2; background-color: #009900; #Layer7 { width:348px; height:284px; z-index:3; left: 356px; top: 0px; background-color: #009900; background-image: url(../image/background.png); #Layer8 { width:218px; height:301px; z-index:4; left: 715px; top: 1px; background-color: #990000; background-image: url(../image/background.png); body { background-image: url(../image/background-web-2.jpg); -->
</style> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"></head> <body> <div id="body"> <div id="header"> <table width="941" height="144" border="0"> <td width="179"><img src="../image/pemkab BAGUS.jpg" width="178" height="150"></td> <td width="740"><img src="../image/header.png" width="751" height="153"></td> <div id="layer2"> <table width="932" height="36"align="center" border="1" bgcolor="#666666"> <th width="278"><img src="../image/selamat datang.png"></th> <th width="638" align="right"><marquee direction="left" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="5"> <span class="style48 style1"><strong>sma NEGERI 1 DOLOK PANRIBUAN</strong></span> </marquee></th> <div id="layer4"> <div id="layer6"> <img src="../image/100_0207.jpg" width="356" height="420"> <div id="layer7"> <table width="348" height="303" border="0"> <td height="33"> <img src="../image/login admin.png"> </td> <td height="166"> <form action="testuser.php" method="post"> <div align="center"> <table width="250" height="168"> <td height="38"><span class="style9">nama</span></td> <td width="19">:</td> <td width="144"><input name="nama" type="text" value="" /></td> <td height="38"><span class="style6">password</span></td> <td>:</td> <td><input name="password" type="password" value="" /></td>
<td height="26"><input type="submit" value="login" /></td> <td> </td> <td height="26"><input type="reset" value="hapus" /></td> </form> </td> <td> </td> <div id="layer8"> <table width="218" height="246" background="../image/background.png" bgcolor="#990000"> <th height="145" background="../image/background.png" scope="col"> <?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=""><td align=center>'; echo date("d, d M Y ",mktime(0,0,0,$month,$day,$year)); echo '</td>'; $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> '; /* 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 if (date("w",mktime (0,0,0,$month,$d,$year)) == 0) { echo ""; //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 if (date("w",mktime (0,0,0,$month,$d,$year)) == 6) { echo ""; //akhir table echo '';?></th> <td height="95" width="188"><?php include "counter.php";?></td>
<div id="footer"><img src="../image/footer2.png" width="943"> </body> </html> B3. Buku Tamu <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>sma Negeri 1Dolok Panribuan</title> <style type="text/css"> <!-- #badan { width:995px; height:1119px; z-index:1; left: 103px; top: 9px; background-color: #00CC00; #header{ width:997px; height:157px; z-index:1; background-color: #00FF00; left: 101px; top: -22px; #menu { width:217px; height:789px; z-index:2; left: 103px; top: 246px; background-color:#00ff00; #content{ width:713px; height:1114px; z-index:3; left: 304px; top: 101px;
body { background-color: #003300; background-color:#ffffff; background-image: url(image/lim%20web%20background_r2_c2.jpg); #conten { width:759px; height:874px; z-index:3; background-color: #9933FF; left: 325px; top: 165px; background-image: url(../image/buku1.png); #footer{ width:996px; height:51px; z-index:5; background-color: #CC33CC; left: 103px; top: 1073px; #Layer1 { width:751px; height:862px; z-index:1; background-color: #FFFF00; left: 7px; top: 1px;.style1 { color: #003300; font-weight: bold; #Layer2 { width:206px; height:80px; z-index:6; left: 105px; top: 164px; --> </style> </head> <body> <div id="badan"> <div id="header">
<table width="998" height="184" border="0"> <td width="173"><img src="../image/pemkab BAGUS.jpg" width="147" height="120" /></td> <td width="793"><img src="../image/header1.png" width="780" height="102" /></td> <div id="menu"> <table width="209" border="0"> <td width="268"><div align="center"> <img src="../image/hal utama.png" width="198" height="36" /> </td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="30"> <param name="movie" value="button3.swf" /> <param name="bgcolor" value="#00ff00" /> <embed src="button3.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="198" height="30" bgcolor="#00ff00" <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="30"> <param name="movie" value="button4.swf" /> <param name="bgcolor" value="#00ff00" /> <embed src="button4.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="199" height="30" bgcolor="#00ff00" <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="196" height="30"> <param name="movie" value="button5.swf" /> <embed src="button5.swf" width="196" height="30" quality="high"
rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="30"> <param name="movie" value="button6.swf" /> <embed src="button6.swf" width="199" height="30" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/personalia.png" /></td> <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="195" height="33"> <param name="movie" value="button7.swf" /> <embed src="button7.swf" width="195" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/wakasek.png" /></td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="33"> <param name="movie" value="button8.swf" /> <embed src="button8.swf" width="198" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00"
<td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="33"> <param name="movie" value="button10.swf" /> <embed src="button10.swf" width="199" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/fasilitas.png" width="167" /></td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="201" height="31"> <param name="movie" value="button11.swf" /> <embed src="button11.swf" width="201" height="31" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <div id="layer2"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="80"> <param name="movie" value="button39.swf" /> <param name="bgcolor" value="#009900" /> <embed src="button39.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="198" height="80" bgcolor="#009900" </object> <div id="conten">
<div class="style6" id="layer5"> <p> <?php include("koneksi.php"); $sql="select * from alumni"; $query=mysql_query($sql,$koneksi);?></p> <table> <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=""><td align=center>'; echo date("d, d M Y ",mktime(0,0,0,$month,$day,$year)); echo '</td>'; $d=getdate(); $jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0]; print ("$jam :$menit :$detik <br>\n");?></td> <table align="center"> <th width="559"> <div align="left"> <?php include("koneksi.php"); $sql="select * from alumni where nama='$_request[nama]'"; $query=mysql_query($sql,$koneksi); $result=mysql_fetch_array($query);?> <form action="simpan_bukutamu.php" method="post">
<body> <div class="style6" id="layer5"> <div align="center" class="style29"> <p> </p> <p align="center"><table> <th> <img src="../image/tabel buku tamu.png" /> </th> <div align="center"><br /> <table width="468" height="258"> <td width="77" height="55"><div align="center" class="style29"><span class="style6 style29 style30">nama</span></td> <td width="51"><span class="style28 style29">:</span></td> <td width="324"><input name="nama" type="text" value="<?php echo $result['nama'];?>" /></td> <td height="62"><p align="center" class="style31 style29">email</p> </td> <td><p align="left" class="style31 style29">:</p> </td> <td><p> <input type="text" name="email" value="<?php echo $result['email'];?>" /> </p> </td> <td height="60"><div align="center" class="style29"><span class="style6 style30 style29"><span class="style30 style28 style29">pesan</span></span></td> <td><span class="style31 style29">:</span></td> <td><p> <input type="text" name="pesan" value="<?php echo $result['pesan'];?>" /> </p> </td> <td><input name="submit" type="submit" value="kirim"/></td> <td><input name="reset" type="reset" value="hapus"/></td> </form> </th> <tr bgcolor="#000000"> <p></p> <div id="footer"><img src="../image/footer2.png" alt="gambar" width="1000" /> </body> </html> B4. Registrasi Guru
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>sma Negeri 1Dolok Panribuan</title> <style type="text/css"> <!-- #badan { width:995px; height:1222px; z-index:1; left: 103px; top: 9px; background-color: #00CC00; #header{ width:1000px; height:187px; z-index:1; background-color: #00FF00; left: 101px; top: 5px; #menu { width:217px; height:872px; z-index:2; left: 106px; top: 265px; background-color:#00ff00; #content{ width:713px; height:1114px; z-index:3; left: 304px; top: 101px; background-color: #003300; body { background-color:#ffffff; background-image: url(image/lim%20web%20background_r2_c2.jpg); #conten { width:759px; height:874px; z-index:3; background-color: #99FFCC;
left: 342px; top: 199px; background-image: url(../image/background.png); #footer{ width:1000px; height:51px; z-index:5; background-color: #CC33CC; left: 102px; top: 1172px; #Layer1 { width:751px; height:862px; z-index:1; background-color: #FFFF00; left: 7px; top: 1px;.style1 { color: #003300; font-weight: bold; #Layer2 { width:223px; height:63px; z-index:6; left: 104px; top: 194px; --> </style> </head> <body> <div id="badan"> <div id="header"> <table width="998" height="184" border="0"> <td width="173"><img src="../image/pemkab BAGUS.jpg" width="189" height="162" /></td> <td width="793"><img src="../image/header1.png" width="780" height="144" /></td>
<div id="menu"> <table width="209" border="0"> <td width="268"><div align="center"> <img src="../image/hal utama.png" width="198" height="36" /> </td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="30"> <param name="movie" value="button3.swf" /> <param name="bgcolor" value="#00ff00" /> <embed src="button3.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="198" height="30" bgcolor="#00ff00" <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="30"> <param name="movie" value="button4.swf" /> <param name="bgcolor" value="#00ff00" /> <embed src="button4.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="199" height="30" bgcolor="#00ff00" <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="196" height="30"> <param name="movie" value="button5.swf" /> <embed src="button5.swf" width="196" height="30" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="30"> <param name="movie" value="button6.swf" />
<embed src="button6.swf" width="199" height="30" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/personalia.png" /></td> <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="195" height="33"> <param name="movie" value="button7.swf" /> <embed src="button7.swf" width="195" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/wakasek.png" /></td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="33"> <param name="movie" value="button8.swf" /> <embed src="button8.swf" width="198" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="33"> <param name="movie" value="button10.swf" /> <embed src="button10.swf" width="199" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object>
</td> <td><div align="center"><img src="../image/fasilitas.png" width="167" /></td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="201" height="31"> <param name="movie" value="button11.swf" /> <embed src="button11.swf" width="201" height="31" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <div id="conten"> <div class="style6" id="layer5"> <p> <?php include("koneksi.php"); $sql="select * from guru"; $query=mysql_query($sql,$koneksi);?></p> <table> <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=""><td align=center>'; echo date("d, d M Y ",mktime(0,0,0,$month,$day,$year)); echo '</td>'; $d=getdate(); $jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0]; print ("$jam :$menit :$detik <br>\n");?></td> <span class="style2"><?php echo $row['jenis_kelamin'];?></span> <table width="561" align="center"> <th width="582"> <div align="center"> <?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"> <div align="center"> <table align="center"> <th width="265" height="38"><h1>registrasi Guru </h1></th> <table width="529" height="320"> <td width="260" height="18"><span class="style30"></span> <td width="260" height="32"><div align="left" class="style30">nama</td> <td width="76"><div align="left" class="style30">:</td> <td width="177"><div align="left"> <input type="text" name="nama" value="<?php echo $result['nama']?>" /> </td> <td height="30"><div align="left" class="style30">nip</td> <td><div align="left" class="style30">:</td> <td><div align="left"> <input type="text" name="nip" value="<?php echo $result['nip']?>" /> </td>
<td height="30"><div align="left" class="style30">jabatan</td> <td><div align="left" class="style30">:</td> <td><div align="left"> <input type="text" name="jabatan" value="<?php echo $result['jabatan']?>" /> </td> <td height="30"><div align="left" class="style30">pendidikan Terakhir</td> <td><div align="left" class="style30">:</td> <td><div align="left"> <input type="text" name="pendidikan_terakhir" value="<?php echo $result['pendidikan_terakhir']?>" /> </td> <td height="30"><div align="left" class="style30">jenis kelamin</td> <td><div align="left" class="style30">:</td> <td><div align="left"> <input type="text" name="jenis_kelamin" value="<?php echo $result['jenis_kelamin']?>" /> </td> <td height="30"><div align="left" class="style30">alamat</td> <td><div align="left" class="style30">:</td> <td><div align="left"> <input type="text" name="alamat" value="<?php echo $result['alamat']?>" /> </td> <td height="30"><div align="left" class="style30">nomor Handphone</td> <td><div align="left" class="style30">:</td> <td> <div align="left"> <input type="text" name="no_handphone" value="<?php echo $result['no_handphone']?>" /> </td> <td height="30"><div align="left" class="style30">nomor Telephone</td> <td><div align="left" class="style30">:</td> <td><div align="left"> <input type="text" name="no_telephone" value="<?php echo $result['no_telephone']?>" /> </td>
<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="hapus" /></td> </form></th> <?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> </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++;?> <tr bgcolor="#000000"> <p></p> <div id="footer"><img src="../image/footer2.png" alt="gambar" width="1000" /> <div id="layer2"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="220" height="64"> <param name="movie" value="button40.swf" /> <embed src="button40.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="220" height="64" </object>
</body> </html> B4.1 Edit Guru <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>sma Negeri 1 Dolok Panribuan</title> <style type="text/css"> <!-- #Layer1 { width:991px; height:986px; z-index:1; background-color: #99CC00; background-image: url(../image/bg4.png); --> </style> </head> <body> <div id="layer1"> <table width="693" height="603" border="0" align="center"> <td width="667" height="81"><div align="center"><img src="../image/tabel Guru.png" height="67" /></td> <td height="442"> <?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 width="640" height="159" align="center"> <td width="198">nama</td> <td width="74">:</td> <td width="352"><input type="text" name="nama" value="<?php echo $result['nama']?>" /></td>
<td>nip</td> <td>:</td> <td><input type="text" name="nip" value="<?php echo $result['nip']?>" /></td> <td>jabatan</td> <td>:</td> <td><input type="text" name="jabatan" value="<?php echo $result['jabatan']?>" /></td> <td>pendidikan Terakhir</td> <td>:</td> <td><input type="text" name="pendidikan_terakhir" value="<?php echo $result['pendidikan_terakhir']?>" /></td> <td>jenis Kelamin</td> <td>:</td> <td><input type="text" name="jenis_kelamin" value="<?php echo $result['jenis_kelamin']?>" /></td> <td>alamat </td> <td>:</td> <td><input type="text" name="alamat" value="<?php echo $result['alamat']?>" /></td> <td>nomor Handphone </td> <td>:</td> <td><input type="text" name="no_handphone" value="<?php echo $result['no_handphone']?>" /></td> <td>nomor Telephone</td> <td>:</td> <td> <input type="text" name="no_telephone" value="<?php echo $result['no_telephone']?>" /></td> <td><input type="submit" value="edit"/> <input type="hidden" name="id" value="<? echo $_REQUEST['nama'];?>"/></td> <td><input type="reset" value="hapus" /></td> </form> </td>
<td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="33" height="33"> <param name="bgcolor" value="" /> <param name="movie" value="button22.swf" /> <embed src="button22.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="33" height="33" </body> </html> B4.2. Hapus Guru <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>sma Negeri 1 Dolok Panribuan</title> <style type="text/css"> <!-- #Layer1 { width:771px; height:223px; z-index:1; background-color: #99CC00; left: 85px; background-image: url(../image/bg1.png); --> </style> </head> <body> <div id="layer1"> <table width="693" height="214" border="0" align="center"> <td width="667" height="81"><div align="center"><img src="../image/data guru.png" /></td> <td height="53"> <?php
include ("koneksi.php"); $query = mysql_query ("delete from guru where nama='$_get[nama]'") or die (mysql_error()); if ($query){ echo "penghapusan berhasil dilakukan"; else{ echo "proses penghapusan gagal";?> </td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="230" height="18"> <param name="movie" value="text13.swf" /> <param name="bgcolor" value="#009999" /> <embed src="text13.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="230" height="18" bgcolor="#009999" </body> </html> B4.3 Simpan Guru1.php <html> <title>sma Negeri 1 Dolok Panribuan</title> <style type="text/css"> <!-- body { background-image: url(../image/background_gothic_web.jpg); --> </style><head></head> <body> <table width="445" border="0" align="center"> <td><img src="../image/terdaftar guru.png"></td> <td> <?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_telepho ne) values('$nama','$nip','$jabatan','$pendidikan_terakhir','$jenis_kelamin','$alamat','$no_handph one','$no_telephone')"; $query=mysql_query($sql,$koneksi); if($query==true) {echo"terima Kasih Anda Sudah Terdaftar Pada Data Guru"; else {echo"gagal";?> </td> <table width="130" border="0" align="center"> <td width="57"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="50" height="37"> <param name="movie" value="button26.swf"> <param name="quality" value="high"> <embed src="button26.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="50" height="37" <td width="111"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="50" height="37"> <param name="movie" value="button25.swf"> <param name="quality" value="high"> <embed src="button25.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="50" height="37" </body> </html>
B4.4 Simpan Guru2.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>sma Negeri 1Dolok Panribuan</title> <style type="text/css"> <!-- #badan { width:1205px; height:1222px; z-index:1; left: 5px; top: 2px; background-color: #00CC00; #header{ width:1000px; height:187px; z-index:1; background-color: #00FF00; left: 101px; top: 5px; #menu { width:190px; height:872px; z-index:2; left: 8px; top: 202px; background-color:#00ff00; #content{ width:713px; height:1114px; z-index:3; left: 304px; top: 101px; background-color: #003300; body { background-color:#ffffff; background-image: url(image/lim%20web%20background_r2_c2.jpg); #conten { width:888px; height:874px;
z-index:3; background-color: #99FFCC; left: 218px; top: 202px; background-image: url(../image/bg5.png); #footer{ width:1098px; height:51px; z-index:5; background-color: #CC33CC; left: 7px; top: 1080px; #Layer1 { width:751px; height:862px; z-index:1; background-color: #FFFF00; left: 7px; top: 1px; #Layer2 { width:237px; height:30px; z-index:6; left: 664px; top: 30px;.style2 {font-size: 10px #Layer3 { width:882px; height:115px; z-index:6; #Layer4 { width:200px; height:28px; z-index:7; left: 4px; top: 232px;.style3 {font-size: 12px #Layer6 { width:106px; height:22px; z-index:7; left: 779px; top: 71px;
#Layer7 { width:148px; height:35px; z-index:6; left: 958px; top: 203px; --> </style> </head> <body> <div id="layer7"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="147" height="34"> <param name="movie" value="button44.swf" /> <embed src="button44.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="147" height="34" </object> <div id="header"> <table width="998" height="184" border="0"> <td width="173"><img src="../image/pemkab BAGUS.jpg" width="189" height="162" /></td> <td width="793"><img src="../image/header1.png" width="780" height="144" /></td> <div id="menu"> <table width="209" border="0"> <td width="268"><div align="center"> <img src="../image/hal utama.png" width="198" height="36" /> </td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="30"> <param name="movie" value="button3.swf" /> <param name="bgcolor" value="#00ff00" /> <embed src="button3.swf" quality="high"
rsion=shockwaveflash" type="application/x-shockwave-flash" width="198" height="30" bgcolor="#00ff00" <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="30"> <param name="movie" value="button4.swf" /> <param name="bgcolor" value="#00ff00" /> <embed src="button4.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="199" height="30" bgcolor="#00ff00" <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="196" height="30"> <param name="movie" value="button5.swf" /> <embed src="button5.swf" width="196" height="30" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="30"> <param name="movie" value="button6.swf" /> <embed src="button6.swf" width="199" height="30" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/personalia.png" /></td> <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="195" height="33"> <param name="movie" value="button7.swf" />
<embed src="button7.swf" width="195" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/wakasek.png" /></td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="198" height="33"> <param name="movie" value="button8.swf" /> <embed src="button8.swf" width="198" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" <td> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="199" height="33"> <param name="movie" value="button10.swf" /> <embed src="button10.swf" width="199" height="33" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00" </object> </td> <td><div align="center"><img src="../image/fasilitas.png" width="167" /></td> <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="201" height="31"> <param name="movie" value="button11.swf" /> <embed src="button11.swf" width="201" height="31" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" bgcolor="#00ff00"
<div id="conten"> <div id="layer3"> <div class="style6" id="layer5"> <table> <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=""><td align=center>'; echo date("d, d M Y ",mktime(0,0,0,$month,$day,$year)); echo '</td>'; $d=getdate(); $jam=$d["hours"]; $menit=$d["minutes"]; $detik=$d["seconds"]; $ts=$d[0]; print ("$jam :$menit :$detik <br>\n");?></td> <table width="200" border="0" align="center"> <td> <img src="../image/data guru2.png" /> </td>
<?php include("koneksi.php"); $sql="select * from guru"; $query=mysql_query($sql,$koneksi);?></p><table width="880" border="1" align="left"> <tr bgcolor="#999999"> <th width="22"><span class="style39">no</span></th> <th width="148"><span class="style39">nama</span></th> <th width="71"><span class="style39">nip</span></th> <th width="65"><span class="style39">jabatan</span></th> <th width="101"><span class="style39">pendidikan Terakhir</span></th> <th width="129"><span class="style39">alamat</span></th> <th width="103"><span class="style39">telephonee</span></th> <th width="76"><span class="style39">handphone</span></th> <?php $no=1; while($row=mysql_fetch_array($query)) {?> <tr bgcolor="#000000"> <td bgcolor="#ffffff"><span class="style2 style33"><?php echo $no;?></span></td> <td bgcolor="#ffffff"><span class="style2 style33"><?php echo $row['nama'];?></span></td> <td bgcolor="#ffffff"><span class="style2 style33"><?php echo $row['nip'];?></span> </td> <td bgcolor="#ffffff"><span class="style2 style33"><?php echo $row['jabatan'];?></span> </td> <td bgcolor="#ffffff"><span class="style2 style33"><?php echo $row['pendidikan_terakhir'];?></span> </td> <td bgcolor="#ffffff"><span class="style2 style33"><?php echo $row['alamat'];?></span> </td> <td bgcolor="#ffffff"><span class="style2 style33"><?php echo $row['no_telephone'];?></span> </td> <td bgcolor="#ffffff"><span class="style2 style33"><?php echo $row['no_handphone'];?></span> </td> <td width="107" bgcolor="#ffffff"><span class="style33 style3"><a href="edit_guru.php?nama=<?php echo $row['nama'];?>">edit </a><a href="hapus_guru.php?nama=<?php echo $row['nama'];?>">hapus</a></span></td> <?php $no++;?> <div id="layer8">
<div id="layer6"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" rsion=5,0,0,0" width="100" height="22"> <param name="movie" value="button41.swf" /> <param name="bgcolor" value="#ffff00" /> <embed src="button41.swf" quality="high" rsion=shockwaveflash" type="application/x-shockwave-flash" width="100" height="22" bgcolor="#ffff00" </object> <div id="footer"><img src="../image/footer2.png" alt="gambar" width="1099" /> </body> </html> B4.5 Test Guru <?php session_start(); 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']; $Status = $_POST['status']; $sql="select * from guru where nama='$nama'and nip='$nip'and jabatan='$jabatan'and pendidikan_terakhir='$pendidikan_terakhir' and alamat='$alamat' and no_handphone='$no_handphone' and no_telephone='$no_telephone' and status='$status'"; $result=mysql_query($sql,$koneksi); $test=mysql_fetch_array($result); if ($Nama!="" and $Nip!="" and $Jabatan!="" and $Pendidikan_terkhir!="" and $Alamat!="" and $No_handphone!="" and $No_telephone!="" and $Status!="") { if ($test['status']=="operator") { session_start(); $_SESSION['username']=$test['nama']; header("location:admin/index.php"); else { session_start(); $_SESSION['username']=$test['nama'];
header("location:index.php"); else { header ("location:guru.php");?>