Lampiran 1. Listing Program

Size: px
Start display at page:

Download "Lampiran 1. Listing Program"

Transcription

1 Lampiran 1 Listing Program 1. Index.html (Halaman Utama) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <!-- Design by Free CSS Templates Released for free under a Creative Commons Attribution 3.0 License Name : Reinstated Description: A two-column, fixed-width design with dark color scheme. Version : 1.0 Released : > <html xmlns=" <head> <meta http-equiv="content-type" content="text/html; charset=utf- 8" /> <meta name="description" content="" /> <meta name="keywords" content="" /> <title>sma Negeri 16 Medan</title> <link href=" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="style.css" /> <script type="text/javascript" src="jquery min.js"></script> <script type="text/javascript" src="jquery.dropotron- 1.0.js"></script> <script type="text/javascript" src="init.js"></script> </head> <body> <div id="wrapper"> <div id="splash"> <img src="images/pic1.jpg" alt="" /> </div> <div id="menu"> <ul> <li><a href="index.html">home</a></li> <li>profil <span class="arrow"></span> <ul> <li class="first"><a href="sejarah.php">sejarah</a></li> <li><ahref="tentang_sekolah.php">tentang Sekolah</a></li> <li><a href="visi_misi.php">visi Misi</a></li> <li><a href="fasilitas.php">fasilitas</a></li> </ul> </li> <li>struktur <span class="arrow"></span> <ul> <li class="first"><a href="organisasi.php">organisasi</a></li> <li><a href="guru.php">guru</a></li> <li>staff <span class="arrow"></span> <ul> <li class="first"><a href="staff_pustaka.php">pustakawan Sekolah</a></li> <li><a href="staff_keuangan.php">keuangan Sekolah</a></li> <li class="last"><a href="staff_agama.php">keagamaan</a></li> </ul> <li><a href="wali_kelas.php">wali Kelas</a></li> <li class="last"><a href="komite.php">komite</a></li> </ul> </li> <li>akademik <span class="arrow"></span> <ul> <li>profil Siswa <span class="arrow"></span></a> <ul>

2 <li class="first"><a href="pr_kelas_x.php">kelas X</a></li> <li><a href="pr_kelas_xi_ipa1.php">kelas XI IPA 1</a></li> <li><a href="pr_kelas_xi_ips1.php">kelas XI IPS 1</a></li> <li><a href="pr_kelas_xii_ipa1.php">kelas XII IPA 1</a></li> <li class="last"><a href="pr_kelas_xii_ips1.php">kelas XII IPS 1</a></li> </ul> <li>nilai Siswa <span class="arrow"></span></a> <ul> <li class="first"><a href="kelas_x.php">kelas X</a></li> <li><a href="kelas_xi_ipa1.php">kelas XI IPA 1</a></li> <li><a href="kelas_xi_ips1.php">kelas XI IPS 1</a></li> <li><a href="kelas_xii_ipa1.php">kelas XII IPA 1</a></li> <li class="last"><a href="kelas_xii_ips1.php">kelas XII IPS 1</a></li> </ul> <li>absensi Siswa <span class="arrow"></span></a> <ul> <li class="first"><a href="ab_kelas_x.php">kelas X</a></li> <li><a href="ab_kelas_xi_ipa1.php">kelas XI IPA 1</a></li> <li><a href="ab_kelas_xi_ips1.php">kelas XI IPS 1</a></li> <li><a href="ab_kelas_xii_ipa1.php">kelas XII IPA 1</a></li> <li class="last"><a href="ab_kelas_xii_ips1.php">kelas XII IPS 1</a></li> </ul> <li>roster Pelajaran <span class="arrow"></span></a> <ul> <li class="first"><a href="roster_x.php">kelas X</a></li> <li><a href="roster_xi_ipa1.php">kelas XI IPA 1</a></li> <li><a href="roster_xi_ips1.php">kelas XI IPS 1</a></li> <li><a href="roster_xii_ipa1.php">kelas XII IPA 1</a></li> <li class="last"><a href="roster_xii_ips1.php">kelas XII IPS 1</a></li> </ul> </ul> </li> <li>organisasi <span class="arrow"></span><ul> <li class="first"><a href="osis.php">osis</a></li> <li class="last"><a href="ekskul.php">ektrakurikuler</a></li> </ul> </li> <li>arsip <span class="arrow"></span> <ul> <li class="first"><a href="pengumuman.php">pengumuman</a></li> <li class="last"><a href="agenda.php">agenda</a></li> <li>alumni <span class="arrow"></span></a> <ul> <li class="first"><a href="tampil.alumni.php">data Alumni</a></li> <li class="last"><a href="alumni.php">isi Data Alumni</a></li> </ul> <li class="last"><a href="index_bukutamu.php">buku Tamu</a></li> </ul> </li> <li class="last"><a href="galeri.php">galeri</a></li> <p> </p> </ul> <br class="clearfix" /> </div> <div id="header"> <div id="logo"> <h2><a href="#">sma N 16 Medan </a></h2> <p> Jl. Kapten Rahmad Buddin Telp Kode Pos : Medan <p> </p> </div> <div id="search"> <form action="" method="post"> <div> <p> <input class="form-text" name="search" size="32" maxlength="64" /> </p> <p><script> var tod=new Date(); var weekday=new Array("Minggu","Senin","Selasa","Rabu","Kamis","Jum'at","Sabtu");

3 var monthname=new Array("Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","Septe mber","oktober","november","desember"); var y = tod.getfullyear(); var m = tod.getmonth(); var d = tod.getdate(); var dow = tod.getday(); var disptime = " " + weekday[dow] + ", " + d + " " + monthname[m] + " " + y + " "; if (dow==0) disptime= "<font color=white>" + disptime + "</font>"; else if (dow==5) disptime= "<font color=white>" + disptime + "</font>"; else disptime= "<font color=white>" + disptime + "</font>"; document.write(disptime); </script> </p> </div> </form> </div> </div> <div id="page"> <div id="content"> <div class="box"> <center><font face="baroque Script" color="black"><b><marquee align="center" direction="left" scrollamount="6" bgcolor="white" height="10px" width="110%"> Selamat datang di website SMA Negeri 16 Medan. Kami menginformasikan informasi mengenai sekolah baik mengenai profil, struktur, akademik, organisasi, arsip, dan galeri yang dengan mudah dapat di akses di website ini... </marquee></b></font></center><br /> <h2>selamat datang </h2> <center> <p><b>salam sejahtera bagi kita semua</b></p></center> Puji syukur kehadirat Tuhan Yang Maha Esa atas karunianya website SMA Negeri 16 Medan terwujud dan akhirnya dapat dinikmati oleh masyarakat luas. Hal ini sebagai jawaban SMA Negeri 16 Medan dengan membuka ruang lebar untuk memenuhi kebutuhan informasi melalui teknologi informasi. <p> Saya berharap media ini sebagai komunikasi awal untuk membangun hubungan yang baik dan kami siap menerima segala masukan baik berupa saran, pendapat maupun kritik sebagai langkah kami untuk lebih maju. </p> <p> Akhirnya saya mengucapkan selamat datang di website sekolah SMA Negeri 16 Medan dan terima kasih atas kunjungannya. Semoga bermanfaat bagi kita semua untuk ikut mendorong tercapainya visi dan misi sekolah. </p> <p> </p> <p> Salam</p> <p></p> </div> <div id="col1"> <h3>kata-kata penyemangat </h3> <ul class="section-list"> <li class="first"> <h4>henry Ford </h4><span>terlepas dari segalanya, kesiapan merupakan rahasia kesuksesan.<br /> Persiapkan dan bersiaplah untuk sukses.</span></li> <li><h4>george s. patton </h4> Terimalah tantangan sehingga kau dapat merasakan kenikmatan sebuah kemenangan. </li> <li><h4>jean jacques rousseau </h4> Masa muda adalah waktu untuk belajar kebijaksanaan dan masa tua adalah waktu untuk mempraktikkannya. </li> <li class="last"><h4>sir WILLIAM OSLER </h4> Cara yang paling baik untuk menghadapi masa depan ialah dengan seluruh tenaga, semangat dan kecakapan melaksanakan pekerjaan yang Anda hadapi sekarang, sesempurna-sempurnanya. </li> </p> </ul> </div> <div id="col2"> <h3>informasi</h3> <ul class="list"> <li><a href="#">ujian Sekolah</a></li> <li class="first"><a href="buku_pelajaran.php">download Buku Disini </a></li> <li><a href=" Tinggi Negeri </a></li>

4 <li><a href=" <img src="images/yahoo.gif" border="0" width="147" height="31" align="left"></a></li> </ul> <p><li><a href=" src="images/google.gif" border="0" width="129" height="65" align="left"></a></li> </p> </div> <br class="clearfix" /> </div> <div id="sidebar"> <div class="box"> <script src=" type="text/javascript" language="javascript">obj=new Object;obj.clockfile="bloguru001- blue.swf";obj.timezone="jog";obj.width=200;obj.height=200;obj.wmode="transparen t";showclock(obj);</script> <h3>contact </h3> <ul class="list"> <li><a href=" class="normaltip" title="facebook"><img src="images/icon1.png" alt=""> Facebook</a></li> <li><a href="#" class="normaltip" title="twitter"><img src="images/icon4.png" alt=""> Twitter </a></li> <li><a href="#" class="normaltip" title="linkedin"></a></li> </ul> </div> <div class="box"> <h3>administrator</h3> <p> <figure class="left marg_right1"><img src="images/login-welcome.gif" alt=""></figure> <div class="pad"> <p> <form action="admin.php" method="post"> <td width="30" rowspan="4"> <td width="50"><b><li>username :</li></b> <td width="144"><input type="text" name="user" maxlength="40" /> <p></p> <td width="50"><b><li>password :</li></b> <td width="144"><input type="password" name="password" maxlength=40" /> <td colspan="4"> <td colspan="3"> <p></p><p></p> <td><input type="submit" value="login" /> <input type="reset" value="hapus" /> <td><p style="text-align:right;"> <table border="0" align="center"> </table> </form></p> </div> </article> </div> </p> </div> </div> <br class="clearfix" /> </div> </div> <div id="footer"> 2012 Sitename.com. Powered by <a href="#"> </a> Design by <a href="#">tetty Indah Sari Pardosi </a> </div> </body> </html>

5 2. Admin.php (Cek admin) $user = $_POST['user']; $password = $_POST['password']; include ("server.php"); $hasil = mysql_query("select * from admin where user='$user' and password='$password'"); $row = mysql_fetch_array($hasil); if($row[user]==$user and $row[password]=$password) else session_start(); session_register("user"); session_register("password"); $id=$row[id]; $user=$row[user]; $password=$row[password]; if ($row[id]==$id) header("location:./menuadmin.php"); exit; echo("warning<br>"); echo("login gagal, Karena nama dan password tidak benar <br>"); echo("<a href='index.html'>login ulang </a><br><br>"); 3. Edit_profil_guru.php (Form insert data guru) $koneksi=mysql_connect("localhost","root",""); mysql_select_db("data_registrasi_guru"); <form action="proses_form_insert_guru.php" method="post"> <table border="0" align="center"> <td>nama<td><input type="text" name="nama" value=""> <td>nip<td><input type="text" name="nip" value=""> <td>pangkat<td><input type="text" name="pangkat" value=""> <td>golongan<td><input type="text" name="golongan" value=""> <td>b. Studi<td><input type="text" name="b_studi" value=""> <td>tmt Pensiun<td><input type="text" name="tmt_pensiun" value=""> <td>tanggal Lahir<td><input type="text" name="tgl_lahir" value=""> <td>alamat<td><input type="text" name="alamat" value=""> <td><p style="text-align:right;"><input type="submit" name="submit" value="isi Data"> <table border="0" align="center"> </table> </form> if($submit == "Registrasi") $query=mysql_query("insert into registrasi_guru values('$nama','$nip','$pangkat','$golongan','$b_studi','$tmt_pensiun','$tangga l_lahir','$alamat')"); else

6 4. Proses_form_insert_guru.php (proses insert data guru) $sambung=mysql_connect('localhost','root',''); mysql_select_db('data_registrasi_guru', $sambung); $nama=$_post['nama']; $nip=$_post['nip']; $pangkat=$_post['pangkat']; $golongan=$_post['golongan']; $b_studi=$_post['b_studi']; $tmt_pensiun=$_post['tmt_pensiun']; $tgl_lahir=$_post['tgl_lahir']; $alamat=$_post['alamat']; $sql="insert into registrasi_guru values('$nama','$nip','$pangkat','$golongan','$b_studi','$tmt_pensiun','$tgl_la hir','$alamat')"; $a=mysql_query($sql); echo "<center><h2>data berhasil di input ke database<p></h2></center>"; 5. Edit_pr_guru.php (Halaman berisikan perintah update atau delete data guru) include 'connect_guru.php'; $query = "SELECT * FROM registrasi_guru"; //the query for get all data in tb_student $result = mysql_query($query); echo "<table border='1' cellpadding='2' cellspacing='2'>"; echo "<tr BGCOLOR='#cccccc' align='center'> <td> <b> Nama </b> <td> <b> NIP </b> <td> <b> Pangkat </b> <td> <b> Golongan </b> <td> <b> B. Studi </b> <td> <b> TMT Pensiun </b> <td> <b> Tanggal Lahir </b> <td> <b> Alamat </b> <td> <b> Action </b> <td> <b> Action </b> "; while ($data = mysql_fetch_array($result)) //mysql_fetch_array = get the query data into array echo "<tr align='center'> <td>".$data['nama']." <td>".$data['nip']." <td>".$data['pangkat']." <td>".$data['golongan']." <td>".$data['b_studi']." <td>".$data['tmt_pensiun']." <td>".$data['tgl_lahir']." <td>".$data['alamat']." <td> <i> <a href='formupdate_guru.php?nip=".$data['nip']."'> Update </a> </i> <td> <i> <a href='proses_hapus_pr_guru.php?nip=".$data['nip']."'> Delete </a> </i> "; echo "</table>"; 6. Formupdate_guru.php (Halaman berisikan form update data guru) include 'connect_guru.php'; $nip = $_GET['nip']; //get the no which will updated $query = "SELECT * FROM registrasi_guru WHERE nip = $nip"; //get the data that will be updated $data = mysql_fetch_array($hasil);

7 <form method="post" action="proses_update_guru.php"> <table width="980" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#cccccc"> <td height="21" colspan="3"> <strong><center><h3> Form Update</h3></center></strong> <td>nama <td> <input type="text" name="nama" value=" echo $data['nama']; "> <td width="23%">nip <td width="2%">: <td width="75%"> <input type="text" name="nip" disabled='disable' value=" echo $data['nip']; "> <td>pangkat <td> <input type="text" name="pangkat" value=" echo $data['pangkat']; "> <td>golongan <td> <input type="text" name="golongan" value=" echo $data['golongan']; "> <td>b.studi <td> <input type="text" name="b_studi" value=" echo $data['b_studi']; "> <td>tmt Pensiun <td> <input type="text" name="tmt_pensiun" value=" echo $data['tmt_pensiun']; "> <td>tanggal Lahir <td> <input type="text" name="tgl_lahir" value=" echo $data['tgl_lahir']; "> <td>alamat <td> <textarea name="alamat"> echo $data['alamat']; </textarea> <td> <td> <td> <input type="hidden" name="nip" value=" echo $data['nip']; "> <input type="submit" name="submit" value="save"> </table> </form>

8 7. Proses_update_guru.php (Proses update data guru) include "connect_guru.php"; //get the value from form update $nama = $_POST['nama']; $nip = $_POST['nip']; $pangkat = $_POST['pangkat']; $golongan = $_POST['golongan']; $b_studi = $_POST['b_studi']; $tmt_pensiun = $_POST['tmt_pensiun']; $tgl_lahir = $_POST['tgl_lahir']; $alamat = $_POST['alamat']; //query for update data in database $query = "UPDATE registrasi_guru SET nama = '$nama', pangkat = '$pangkat', golongan = '$golongan', b_studi = '$b_studi', tmt_pensiun = '$tmt_pensiun', tgl_lahir = '$tgl_lahir', alamat = '$alamat' WHERE nip = '$nip'" ; //see the result if ($hasil) include "guru.php"; echo "<center><h4> update data success </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>"; 8. Proses_hapus_pr_guru.php (Proses untuk menghapus data guru) include 'connect_guru.php'; $nip = $_GET['nip']; //get the no which will delete $query = "SELECT * FROM registrasi_guru WHERE nip = $nip"; //get the data that will be delete $data = mysql_fetch_array($hasil); //query for delete data in database $query = "delete from registrasi_guru where nip = '$nip'"; //see the result if ($hasil) include "guru.php"; echo "<center><h4> Data Sudah Dihapus </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>"; 9. Guru.php (Tampilan data guru) $sambung=mysql_connect('localhost','root',''); mysql_select_db('data_registrasi_guru',$sambung); echo"<center>"; echo"<table border=1 width=900>"; echo"<tr BGCOLOR='#cccccc'> <th>nama</th><th>nip</th><th>pangkat</th> <th>golongan</th><th>b.studi</th><th>tmt Pensiun</th> <th>tanggal Lahir</th><th>Alamat</th> "; $sql="select*from registrasi_guru"; $a=mysql_query($sql); while($data=mysql_fetch_array($a)) echo"<tr align=center>"; echo"<td>$data[nama]"; echo"<td>$data[nip]"; echo"<td>$data[pangkat]"; echo"<td>$data[golongan]"; echo"<td>$data[b_studi]"; echo"<td>$data[tmt_pensiun]"; echo"<td>$data[tgl_lahir]";

9 echo"<td>$data[alamat]"; echo""; echo"</table></center>"; echo "<center><p><p></p> <p></p><h2><a href=index.html></p></a></h2></center>"; // echo "<center><h3><a href=tampil_alumni.php>klik disini untuk melihat data alumni</a></li></h3></center>"; 10. Edit_pustaka.php (Form insert staf pustaka sekolah) $koneksi=mysql_connect("localhost","root",""); mysql_select_db("staff"); <form action="proses_form_insert_pustaka.php" method="post"> <table border="0" align="center"> <td>no<td><input type="text" name="no" value="" size="10"> <td>nip<td><input type="text" name="nip" value="" size="20"> <td>nama<td><input type="text" name="nama" value=""size="20"> <p></p> <p></p> <td><p style="text-align:right;"> <input type="submit" name="submit" value="masukkan Data"> <table border="0" align="center"> </table> </form> if($submit == "Registrasi") $query=mysql_query("insert into pustaka values('$no','$nip','$nama')"); else 11. Proses_form_insert_pustaka.php (Proses insert data staf pustaka) $sambung=mysql_connect('localhost','root',''); mysql_select_db('staff', $sambung); $no=$_post['no']; $nip=$_post['nip']; $nama=$_post['nama']; $sql="insert into pustaka values('$no','$nip','$nama')"; $a=mysql_query($sql); echo "<center><h2>data berhasil di input ke database<p></h2></center>"; 12. Edit_pustaka_sekolah.php (Halaman berisikan perintah update atau delete data staf pustaka) include 'connect_staff.php'; $query = "SELECT * FROM pustaka"; //the query for get all data in tb_student $result = mysql_query($query);

10 echo "<table border='1' cellpadding='2' cellspacing='2'>"; echo "<tr BGCOLOR='#cccccc' align='center'> <td> <b> No </b> <td> <b> NIP </b> <td> <b> Nama </b> <td> <b> Action </b> <td> <b> Action </b> "; while ($data = mysql_fetch_array($result)) //mysql_fetch_array = get the query data into array echo "<tr align='center'> <td>".$data['no']." <td>".$data['nip']." <td>".$data['nama']." <td> <i> <a href='formupdate_pustaka.php?no=".$data['no']."'> Update </a> </i> <td> <i> <a href='proses_hapus_pustaka.php?no=".$data['no']."'> Delete </a> </i> "; echo "</table>"; 13. Formupdate_pustaka.php (Form untuk update data staf pustaka) include 'connect_staff.php'; $no = $_GET['no']; //get the no which will updated $query = "SELECT * FROM pustaka WHERE no = $no"; //get the data that will be updated $data = mysql_fetch_array($hasil); <form method="post" action="proses_update_pustaka.php"> <table width="980" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#cccccc"> <td height="21" colspan="3"> <strong><center><h3> Form Update</h3></center></strong> <td width="23%">no <td width="2%">: <td width="75%"> <input type="text" name="les" disabled='disable' value=" echo $data['no']; "> <td>nip <td> <input type="text" name="nip" value=" echo $data['nip']; "> <td>nama <td> <input type="text" name="nama" value=" echo $data['nama']; "> <td> <td> <td> <input type="hidden" name="no" value=" echo $data['no']; "> <input type="submit" name="submit" value="save"> </table> </form>

11 14. Proses_update_pustaka.php (Proses update data staf pustaka) include "connect_staff.php"; //get the value from form update $no = $_POST['no']; $nip = $_POST['nip']; $nama = $_POST['nama']; //query for update data in database $query = "UPDATE pustaka SET nip = '$nip', nama = '$nama' WHERE no = '$no'" ; //see the result if ($hasil) include "staff_pustaka.php"; echo "<center><h4> update data success </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>";? 15. Proses_hapus_pustaka.php (Proses hapus data staf pustaka) include 'connect_staff.php'; $no = $_GET['no']; //get the no which will delete $query = "SELECT * FROM pustaka WHERE no = $no"; //get the data that will be delete $data = mysql_fetch_array($hasil); //query for delete data in database $query = "delete from pustaka where no = '$no'"; //see the result if ($hasil) include "staff_pustaka.php"; echo "<center><h4> Data Sudah Dihapus </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>"; 16. Staff_pustaka.php (Tampilan halaman data staf pustaka) $sambung=mysql_connect('localhost','root',''); mysql_select_db('staff',$sambung); echo"<center>"; echo"<table border=1 width=600>"; echo"<tr BGCOLOR='#cccccc'> <th>no</th><th>nip</th><th>nama</th> "; $sql="select*from pustaka"; $a=mysql_query($sql); while($data=mysql_fetch_array($a)) echo"<tr align=center>"; echo"<td>$data[no]"; echo"<td>$data[nip]"; echo"<td>$data[nama]"; echo""; echo"</table></center>"; echo "<center><p><p></p> <p></p><h2><a href=index.html></p></a></h2></center>"; // echo "<center><h3><a href=tampil_alumni.php>klik disini untuk melihat data alumni</a></li></h3></center>";

12 17. Edit_profil_walikelas.php (Form input data wali kelas) $koneksi=mysql_connect("localhost","root",""); mysql_select_db("data_registrasi_walikelas"); <form action="proses_form_insert_walikelas.php" method="post"> <table border="0" align="center"> <td>nama<td><input type="text" name="nama" value=""> <td>nip<td><input type="text" name="nip" value=""> <td>kelas<td><input type="text" name="kelas" value=""> <td><p style="text-align:right;"><input type="submit" name="submit" value="isi Data"> <table border="0" align="center"> </table> </form> if($submit == "Registrasi") $query=mysql_query("insert into registrasi_walikelas values('$nama','$nip','$kelas')"); else 18. Proses_form_insert_walikelas.php (Proses insert data wali kelas) $sambung=mysql_connect('localhost','root',''); mysql_select_db('data_registrasi_walikelas', $sambung); $nama=$_post['nama']; $nip=$_post['nip']; $kelas=$_post['kelas']; $sql="insert into registrasi_walikelas values('$nama','$nip','$kelas')"; $a=mysql_query($sql); echo "<center><h2>data berhasil di input ke database<p></h2></center>"; 19. Edit_pr_walikelas.php (Halaman berisikan perintah update atau delete data wali kelas) include 'connect_walikelas.php'; $query = "SELECT * FROM registrasi_walikelas"; //the query for get all data in tb_student $result = mysql_query($query); echo "<table border='2' cellpadding='2' cellspacing='2'>"; echo "<tr BGCOLOR='#cccccc' align='center'> <td> <b> Nama </b> <td> <b> NIP </b> <td> <b> Kelas </b> <td> <b> Action </b> <td> <b> Action </b> "; while ($data = mysql_fetch_array($result)) //mysql_fetch_array = get the query data into array echo "<tr align='center'> <td>".$data['nama']." <td>".$data['nip']." <td>".$data['kelas']."

13 <td> <i> <a href='formupdate_walikelas.php?nip=".$data['nip']."'> Update </a> </i> <td> <i> <a href='proses_hapus_pr_walikelas.php?nip=".$data['nip']."'> Delete </a> </i> "; echo "</table>"; 20. Formupdate_walikelas.php (Form untuk update data wali kelas) include 'connect_walikelas.php'; $nip = $_GET['nip']; //get the no which will updated $query = "SELECT * FROM registrasi_walikelas WHERE nip = $nip"; //get the data that will be updated $data = mysql_fetch_array($hasil); <form method="post" action="proses_update_walikelas.php"> <table width="980" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#cccccc"> <td height="21" colspan="3"> <strong><center><h3> Form Update</h3></center></strong> <td>nama <td> <input type="text" name="nama" value=" echo $data['nama']; "> <td width="23%">nip <td width="2%">: <td width="75%"> <input type="text" name="nip" disabled='disable' value=" echo $data['nip']; "> <td>kelas <td> <input type="text" name="kelas" value=" echo $data['kelas']; "> <td> <td> <td> <input type="hidden" name="nip" value=" echo $data['nip']; "> <input type="submit" name="submit" value="save"> </table> </form> 21. Proses_update_walikelas.php (Proses update data wali kelas) include "connect_walikelas.php"; //get the value from form update $nama = $_POST['nama']; $nip = $_POST['nip']; $kelas = $_POST['kelas']; //query for update data in database $query = "UPDATE registrasi_walikelas SET nama = '$nama', kelas = '$kelas' WHERE nip = '$nip'" ; //see the result if ($hasil) include "wali_kelas.php";

14 echo "<center><h4> update data success </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>"; 22. Proses_hapus_pr_walikelas.php (Proses hapus data wali kelas) include 'connect_walikelas.php'; $nip = $_GET['nip']; //get the no which will delete $query = "SELECT * FROM registrasi_walikelas WHERE nip = $nip"; //get the data that will be delete $data = mysql_fetch_array($hasil); //query for delete data in database $query = "delete from registrasi_walikelas where nip = '$nip'"; //see the result if ($hasil) include "wali_kelas.php"; echo "<center><h4> Data Sudah Dihapus </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>"; 23. Wali_kelas.php (Tampilan halaman data wali kelas) $sambung=mysql_connect('localhost','root',''); mysql_select_db('data_registrasi_walikelas',$sambung); echo"<center>"; echo"<table border=1 width=500>"; echo"<tr BGCOLOR='#cccccc'> <th>nama</th><th>nip</th><th>kelas</th> "; $sql="select*from registrasi_walikelas"; $a=mysql_query($sql); while($data=mysql_fetch_array($a)) echo"<tr align=center>"; echo"<td>$data[nama]"; echo"<td>$data[nip]"; echo"<td>$data[kelas]"; echo""; echo"</table></center>"; echo "<center><p><p></p> <p></p><h2><a href=index.html></p></a></h2></center>"; // echo "<center><h3><a href=tampil_alumni.php>klik disini untuk melihat data alumni</a></li></h3></center>"; 24. Edit_pr_kelas_x.php (Form input data siswa) $koneksi=mysql_connect("localhost","root",""); mysql_select_db("registrasi"); <form action="proses_form_insert_siswa.php" method="post"> <table border="0" align="center"> <td>nama<td><input type="text" name="nama" value=""> <td>nis<td><input type="text" name="nis" value=""> <td>kelas<td><input type="text" name="kelas" value=""> <td>alamat<td><input type="text" name="alamat" value="">

15 <td>tempat, Tanggal Lahir<td><input type="text" name="tempat_tanggal_lahir" value=""> <td>agama<td><input type="text" name="agama" value=""> <td>no. Telepon<td><input type="text" name="no_telepon" value=""> <td><p style="text-align:right;"><input type="submit" name="submit" value="input Data"> <table border="0" align="center"> </table> </form> if($submit == "Registrasi") $query=mysql_query("insert into data_registrasi values('$username','$nama','$nis','$kelas','$alamat','$tempat_tanggal_lahir','$ agama','$no_telepon','$pass')"); else 25. Proses_form_insert_siswa.php (Proses insert data siswa) $sambung=mysql_connect('localhost','root',''); mysql_select_db('data_registrasi', $sambung); $nama=$_post['nama']; $nis=$_post['nis']; $kelas=$_post['kelas']; $alamat=$_post['alamat']; $tempat_tanggal_lahir=$_post['tempat_tanggal_lahir']; $agama=$_post['agama']; $no_telepon=$_post['no_telepon']; $sql="insert into registrasi values('$nama','$nis','$kelas','$alamat','$tempat_tanggal_lahir','$agama','$no_ telepon')"; $a=mysql_query($sql); echo "<center><h2>data berhasil di input ke database<p></p> </h2></center>"; 26. Edit_siswa_pr_x.php (Halaman berisikan perintah update atau delete data siswa) include 'connect_pr_x.php'; $query = "SELECT * FROM registrasi"; //the query for get all data in tb_student $result = mysql_query($query); echo "<table border='1' cellpadding='2' cellspacing='2'>"; echo "<tr BGCOLOR='#cccccc' align='center'> <td> <b> Nama </b> <td> <b> NIS </b> <td> <b> Kelas </b> <td> <b> Alamat </b> <td> <b> Tempat, Tanggal Lahir </b> <td> <b> Agama </b> <td> <b> No. Telepon </b> <td> <b> Action </b> <td> <b> Action </b> "; while ($data = mysql_fetch_array($result)) //mysql_fetch_array = get the query data into array

16 echo "<tr align='center'> <td>".$data['nama']." <td>".$data['nis']." <td>".$data['kelas']." <td>".$data['alamat']." <td>".$data['tempat_tanggal_lahir']." <td>".$data['agama']." <td>".$data['no_telepon']." <td> <i> <a href='formupdate_pr_x.php?nis=".$data['nis']."'> Update </a> </i> <td> <i> <a href='proses_hapus_pr_x.php?nis=".$data['nis']."'> Delete </a> </i> "; echo "</table>"; 27. Formupdate_pr_x.php (Form untuk update data siswa) include 'connect_pr_x.php'; $nis = $_GET['nis']; //get the no which will updated $query = "SELECT * FROM registrasi WHERE nis = $nis"; //get the data that will be updated $data = mysql_fetch_array($hasil); <form method="post" action="proses_update_pr_x.php"> <table width="980" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#cccccc"> <td height="21" colspan="3"> <strong><center><h3> Form Update</h3></center></strong> <td>nama <td> <input type="text" name="nama" value=" echo $data['nama']; "> <td width="23%">nis <td width="2%">: <td width="75%"> <input type="text" name="nis" disabled='disable' value=" echo $data['nis']; "> <td>kelas <td> <input type="text" name="kelas" value=" echo $data['kelas']; "> <td>alamat <td> <textarea name="alamat"> echo $data['alamat']; </textarea> <td>tempat, Tanggal Lahir <td> <input type="text" name="tempat_tanggal_lahir" value=" echo $data['tempat_tanggal_lahir']; "> <td>agama <td> <input type="text" name="agama" value=" echo $data['agama']; ">

17 <td>no. Telepon <td> <input type="text" name="no_telepon" value=" echo $data['no_telepon']; "> <td> <td> <td> <input type="hidden" name="nis" value=" echo $data['nis']; "> <input type="submit" name="submit" value="save"> </table> </form> 28. Proses_update_pr_x.php (Proses update data siswa) include "connect_pr_x.php"; //get the value from form update $nama = $_POST['nama']; $nis = $_POST['nis']; $kelas = $_POST['kelas']; $alamat = $_POST['alamat']; $tempat_tanggal_lahir = $_POST['tempat_tanggal_lahir']; $agama = $_POST['agama']; $no_telepon = $_POST['no_telepon']; //query for update data in database $query = "UPDATE registrasi SET nama = '$nama', kelas = '$kelas', alamat = '$alamat', tempat_tanggal_lahir = '$tempat_tanggal_lahir', agama = '$agama', no_telepon = '$no_telepon' WHERE nis = '$nis'" ; //see the result if ($hasil) include "pr_kelas_x.php"; echo "<center><h4> update data success </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>"; 29. Proses_hapus_pr_x.php (Proses hapus data siswa) include 'connect_pr_x.php'; $nis = $_GET['nis']; //get the no which will delete $query = "SELECT * FROM registrasi WHERE nis = $nis"; //get the data that will be delete $data = mysql_fetch_array($hasil); //query for delete data in database $query = "delete from registrasi where NIS = '$nis'"; //see the result if ($hasil) include "pr_kelas_x.php"; echo "<center><h4> Data Sudah Dihapus </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>";

18 30. Pr_kelas_x.php (Halaman tampilan profil siswa) $sambung=mysql_connect('localhost','root',''); mysql_select_db('data_registrasi',$sambung); echo"<center>"; echo"<table border=1 width=900>"; echo"<tr BGCOLOR='#cccccc'> <th>nama</th><th>nis</th> <th>kelas</th><th>alamat</th><th>tempat, Tanggal Lahir</th> <th>agama</th><th>no. Telepon</th> "; $sql="select*from registrasi"; $a=mysql_query($sql); while($data=mysql_fetch_array($a)) echo"<tr align=center>"; echo"<td>$data[nama]"; echo"<td>$data[nis]"; echo"<td>$data[kelas]"; echo"<td>$data[alamat]"; echo"<td>$data[tempat_tanggal_lahir]"; echo"<td>$data[agama]"; echo"<td>$data[no_telepon]"; echo""; echo"</table></center>"; echo "<center><p><p></p> <p></p><h2><a href=index.html></p></a></h2></center>"; // echo "<center><h3><a href=tampil_alumni.php>klik disini untuk melihat data alumni</a></li></h3></center>"; 31. Edit_nil_kelas_x.php (Form input nilai siswa) $koneksi=mysql_connect("localhost","root",""); mysql_select_db("nilai"); <form action="proses_nilai_x.php" method="post"> <table border="0" align="center"> <td>nama<td><input type="text" name="nama" value=""> <td>nis<td><input type="text" name="nis" value=""> <td>pendidikan Agama<td><input type="text" name="pendidikan_agama" value=""> <td>kewarganegaraan<td><input type="text" name="kewarganegaraan" value=""> <td>bahasa Indonesia<td><input type="text" name="bahasa_indonesia" value=""> <td>bahasa Inggris<td><input type="text" name="bahasa_inggris" value=""> <td>matematika<td><input type="text" name="matematika"> <td>fisika<td><input type="text" name="fisika"> <td>biologi<td><input type="text" name="biologi"> <td>kimia<td><input type="text" name="kimia"> <td>sejarah<td><input type="text" name="sejarah"> <td>geografi<td><input type="text" name="geografi"> <td>ekonomi<td><input type="text" name="ekonomi"> <td>sosiologi<td><input type="text" name="sosiologi"> <td>seni Budaya<td><input type="text" name="seni_budaya"> <td>penjaskes<td><input type="text" name="penjaskes"> <td>tik<td><input type="text" name="tik"> <td>bahasa Jerman<td><input type="text" name="bahasa_jerman">

19 <td><p style="text-align:right;"><input type="submit" name="input Nilai" value="input Nilai"> <table border="0" align="center"> </table> </form> if($submit == "input_nilai") $query=mysql_query("insert into kelas_x values('$nama','$nis','$pendidikan_agama','$kewarganegaraan','$bahasa_indonesia ','$bahasa_inggris','$matematika','$fisika','$biologi','$kimia','$sejarah','$ge ografi','$ekonomi','$sosiologi','$seni_budaya','$penjaskes','$tik','$bahasa_jer man')"); else 32. Proses_nilai_x.php (Proses insert nilai siswa) $sambung=mysql_connect('localhost','root',''); mysql_select_db('nilai', $sambung); $nama=$_post['nama']; $nis=$_post['nis']; $pendidikan_agama=$_post['pendidikan_agama']; $kewarganegaraan=$_post['kewarganegaraan']; $bahasa_indonesia=$_post['bahasa_indonesia']; $bahasa_inggris=$_post['bahasa_inggris']; $matematika=$_post['matematika']; $fisika=$_post['fisika']; $biologi=$_post['biologi']; $kimia=$_post['kimia']; $sejarah=$_post['sejarah']; $geografi=$_post['geografi']; $ekonomi=$_post['ekonomi']; $sosiologi=$_post['sosiologi']; $seni_budaya=$_post['seni_budaya']; $penjaskes=$_post['penjaskes']; $tik=$_post['tik']; $bahasa_jerman=$_post['bahasa_jerman']; $sql="insert into kelas_x values('$nama','$nis','$pendidikan_agama','$kewarganegaraan','$bahasa_indonesia ','$bahasa_inggris','$matematika','$fisika','$biologi','$kimia','$sejarah','$ge ografi','$ekonomi','$sosiologi','$seni_budaya','$penjaskes','$tik','$bahasa_jer man')"; $a=mysql_query($sql); echo "<center><h2>data berhasil di input ke database<p></p></h2></center>"; 33. Edit_nil_siswa_x.php (Halaman berisikan perintah update atau delete nilai siswa) include 'connect_nil_x.php'; $query = "SELECT * FROM kelas_x"; //the query for get all data in tb_student $result = mysql_query($query); echo "<table border='1' cellpadding='2' cellspacing='2'>"; echo "<tr BGCOLOR='#cccccc' align='center'> <td> <b> Nama </b> <td> <b> NIS </b> <td> <b> Agamagama </b> <td> <b> PKN </b> <td> <b> B.Indo </b> <td> <b> B.Ing </b> <td> <b> Mtk </b> <td> <b> Fis </b> <td> <b> Bio </b> <td> <b> Kim </b>

20 <td> <b> Sej </b> <td> <b> Geo </b> <td> <b> Eko </b> <td> <b> Sosio </b> <td> <b> Seni </b> <td> <b> Penjas</b> <td> <b> TIK </b> <td> <b> B.Jer </b> <td> <b> Action </b> <td> <b> Action </b> "; while ($data = mysql_fetch_array($result)) //mysql_fetch_array = get the query data into array echo "<tr align='center'> <td>".$data['nama']." <td>".$data['nis']." <td>".$data['pendidikan_agama']." <td>".$data['kewarganegaraan']." <td>".$data['bahasa_indonesia']." <td>".$data['bahasa_inggris']." <td>".$data['matematika']." <td>".$data['fisika']." <td>".$data['biologi']." <td>".$data['kimia']." <td>".$data['sejarah']." <td>".$data['geografi']." <td>".$data['ekonomi']." <td>".$data['sosiologi']." <td>".$data['seni_budaya']." <td>".$data['penjaskes']." <td>".$data['tik']." <td>".$data['bahasa_jerman']." <td> <i> <a href='formupdate_nil_x.php?nis=".$data['nis']."'> Update </a> </i> <td> <i> <a href='proses_hapus_nil_x.php?nis=".$data['nis']."'> Delete </a> </i> "; echo "</table>"; 34. Formupdate_nil_x.php (Form untuk update nilai siswa) include 'connect_nil_x.php'; $nis = $_GET['nis']; //get the no which will updated $query = "SELECT * FROM kelas_x WHERE nis = $nis"; //get the data that will be updated $data = mysql_fetch_array($hasil); <form method="post" action="proses_update_nil_x.php"> <table width="980" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#cccccc"> <td height="21" colspan="3"> <strong><center><h3> Form Update</h3></center></strong> <td>nama <td> <input type="text" name="nama" value=" echo $data['nama']; "> <td width="23%">nis <td width="2%">: <td width="75%"> <input type="text" name="nis" disabled='disable' value=" echo $data['nis']; "> <td>pendidikan Agama

21 <td> <input type="text" name="pendidikan_agama" value=" echo $data['pendidikan_agama']; "> <td>kewarganegaraan <td> <input type="text" name="kewarganegaraan" value=" echo $data['kewarganegaraan']; "> <td>bahasa Indonesia <td> <input type="text" name="bahasa_indonesia" value=" echo $data['bahasa_indonesia']; "> <td>bahasa Inggris <td> <input type="text" name="bahasa_inggris" value=" echo $data['bahasa_inggris']; "> <td>matematika <td> <input type="text" name="matematika" value=" echo $data['matematika']; "> <td>fisika <td> <input type="text" name="fisika" value=" echo $data['fisika']; "> <td>biologi <td> <input type="text" name="biologi" value=" echo $data['biologi']; "> <td>kimia <td> <input type="text" name="kimia" value=" echo $data['kimia']; "> <td>sejarah <td> <input type="text" name="sejarah" value=" echo $data['sejarah']; "> <td>geografi <td> <input type="text" name="geografi" value=" echo $data['geografi']; "> <td>ekonomi

22 <td> <input type="text" name="ekonomi" value=" echo $data['ekonomi']; "> <td>sosiologi <td> <input type="text" name="sosiologi" value=" echo $data['sosiologi']; "> <td>seni Budaya <td> <input type="text" name="seni_budaya" value=" echo $data['seni_budaya']; "> <td>penjaskes <td> <input type="text" name="penjaskes" value=" echo $data['penjaskes']; "> <td>tik <td> <input type="text" name="tik" value=" echo $data['tik']; "> <td>bahasa Jerman <td> <input type="text" name="bahasa_jerman" value=" echo $data['bahasa_jerman']; "> <td> <td> <td> <input type="hidden" name="nis" value=" echo $data['nis']; "> <input type="submit" name="submit" value="save"> </table> </form> 35. Proses_update_nil_x.php (Proses update nilai siswa) include "connect_nil_x.php"; //get the value from form update $nama = $_POST['nama']; $nis = $_POST['nis']; $pendidikan_agama = $_POST['pendidikan_agama']; $kewarganegaraan = $_POST['kewarganegaraan']; $bahasa_indonesia = $_POST['bahasa_indonesia']; $bahasa_inggris = $_POST['bahasa_inggris']; $matematika = $_POST['matematika']; $fisika = $_POST['fisika']; $biologi = $_POST['biologi']; $kimia = $_POST['kimia']; $sejarah = $_POST['sejarah']; $geografi = $_POST['geografi']; $ekonomi = $_POST['ekonomi']; $sosiologi = $_POST['sosiologi']; $seni_budaya = $_POST['seni_budaya']; $penjaskes = $_POST['penjaskes']; $tik = $_POST['tik']; $bahasa_jerman = $_POST['bahasa_jerman']; //query for update data in database $query = "UPDATE kelas_x SET nama = '$nama', pendidikan_agama = '$pendidikan_agama', kewarganegaraan = '$kewarganegaraan', bahasa_indonesia = '$bahasa_indonesia',

23 bahasa_inggris = '$bahasa_inggris', matematika = '$matematika', fisika = '$fisika', biologi = '$biologi', kimia = '$kimia', sejarah = '$sejarah', geografi = '$geografi', ekonomi = '$ekonomi', sosiologi = '$sosiologi', seni_budaya = '$seni_budaya', penjaskes = '$penjaskes', tik = '$tik', bahasa_jerman = '$bahasa_jerman' WHERE nis = '$nis'" ; //see the result if ($hasil) include "kelas_x.php"; echo "<center><h4> update data success </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>"; 36. Proses_hapus_nil_x.php (Proses hapus nilai siswa) include 'connect_nil_x.php'; $nis = $_GET['nis']; //get the no which will delete $query = "SELECT * FROM kelas_x WHERE nis = $nis"; //get the data that will be delete $data = mysql_fetch_array($hasil); //query for delete data in database $query = "delete from kelas_x where NIS = '$nis'"; //see the result if ($hasil) include "kelas_x.php"; echo "<center><h4> Data Sudah Dihapus </h4><p></p> <a href=menuadmin.php><p>klik disini untuk kembali</p></a></h2></center>"; 37. Kelas_x.php (Tampilan halaman nilai siswa) $sambung=mysql_connect('localhost','root',''); mysql_select_db('nilai',$sambung); echo"<center>"; echo"<table border=1 width=900>"; echo"<tr BGCOLOR='#cccccc'> <th>nama</th><th>nis</th><th>agama</th> <th>pkn</th><th>b.indo</th><th>b.ing</th> <th>mtk</th><th>fis</th><th>bio</th> <th>kim</th><th>sej</th><th>geo</th> <th>eko</th><th>sosio</th><th>seni</th> <th>penjas</th><th>tik</th><th>b.jer</th> "; $sql="select*from kelas_x"; $a=mysql_query($sql); while($data=mysql_fetch_array($a)) echo"<tr align=center>"; echo"<td>$data[nama]"; echo"<td>$data[nis]"; echo"<td>$data[pendidikan_agama]"; echo"<td>$data[kewarganegaraan]"; echo"<td>$data[bahasa_indonesia]"; echo"<td>$data[bahasa_inggris]"; echo"<td>$data[matematika]"; echo"<td>$data[fisika]"; echo"<td>$data[biologi]";

24 echo"<td>$data[kimia]"; echo"<td>$data[sejarah]"; echo"<td>$data[geografi]"; echo"<td>$data[ekonomi]"; echo"<td>$data[sosiologi]"; echo"<td>$data[seni_budaya]"; echo"<td>$data[penjaskes]"; echo"<td>$data[tik]"; echo"<td>$data[bahasa_jerman]"; echo""; echo"</table></center>"; echo "<center><p><p></p> <p></p><h2><a href=index.html></p></a></h2></center>"; 38. Edit_ab_kelas_x.php (Form input absen siswa) $koneksi=mysql_connect("localhost","root",""); mysql_select_db("absen"); <form action="proses_absen_x.php" method="post"> <table border="0" align="center"> <td>nama<td><input type="text" name="nama" value=""> <td>nis<td><input type="text" name="nis" value=""> <td>1<td><input type="text" name="tanggal_1" value=""> <td>2<td><input type="text" name="tanggal_2" value=""> <td>3<td><input type="text" name="tanggal_3" value=""> <td>4<td><input type="text" name="tanggal_4" value=""> <td>5<td><input type="text" name="tanggal_5"> <td>6<td><input type="text" name="tanggal_6"> <td>7<td><input type="text" name="tanggal_7"> <td>8<td><input type="text" name="tanggal_8"> <td>9<td><input type="text" name="tanggal_9"> <td>10<td><input type="text" name="tanggal_10"> <td>11<td><input type="text" name="tanggal_11"> <td>12<td><input type="text" name="tanggal_12"> <td>13<td><input type="text" name="tanggal_13"> <td>14<td><input type="text" name="tanggal_14"> <td>15<td><input type="text" name="tanggal_15"> <td>16<td><input type="text" name="tanggal_16"> <td>17<td><input type="text" name="tanggal_17" value=""> <td>18<td><input type="text" name="tanggal_18" value=""> <td>19<td><input type="text" name="tanggal_19" value=""> <td>20<td><input type="text" name="tanggal_20" value=""> <td>21<td><input type="text" name="tanggal_21"> <td>22<td><input type="text" name="tanggal_22"> <td>23<td><input type="text" name="tanggal_23"> <td>24<td><input type="text" name="tanggal_24"> <td>25<td><input type="text" name="tanggal_25"> <td>26<td><input type="text" name="tanggal_26"> <td>27<td><input type="text" name="tanggal_27"> <td>28<td><input type="text" name="tanggal_28"> <td>29<td><input type="text" name="tanggal_29"> <td>30<td><input type="text" name="tanggal_30"> <td><p style="text-align:right;"><input type="submit" name="input Absen" value="input_absen"> <table border="0" align="center"> </table> </form> if($submit == "input_absen") $query=mysql_query("insert into kelas_x values('$nama','$nis','$tanggal_1','$tanggal_2','$tanggal_3','$tanggal_4','$tan ggal_5','$tanggal_6','$tanggal_7','$tanggal_8','$tanggal_9','$tanggal_10','$tan

25 ggal_11','$tanggal_12','$tanggal_13','$tanggal_14','$tanggal_15','$tanggal_16', '$tanggal_17','$tanggal_18','$tanggal_19','$tanggal_20','$tanggal_21','$tanggal _22','$tanggal_23','$tanggal_24','$tanggal_25','$tanggal_26','$tanggal_27','$ta nggal_28','$tanggal_29','$tanggal_30')"); else 39. Proses_absen_x.php (Proses insert absen siswa) $sambung=mysql_connect('localhost','root',''); mysql_select_db('absen', $sambung); $nama=$_post['nama']; $nis=$_post['nis']; $tanggal_1=$_post['tanggal_1']; $tanggal_2=$_post['tanggal_2']; $tanggal_3=$_post['tanggal_3']; $tanggal_4=$_post['tanggal_4']; $tanggal_5=$_post['tanggal_5']; $tanggal_6=$_post['tanggal_6']; $tanggal_7=$_post['tanggal_7']; $tanggal_8=$_post['tanggal_8']; $tanggal_9=$_post['tanggal_9']; $tanggal_10=$_post['tanggal_10']; $tanggal_11=$_post['tanggal_11']; $tanggal_12=$_post['tanggal_12']; $tanggal_13=$_post['tanggal_13']; $tanggal_14=$_post['tanggal_14']; $tanggal_15=$_post['tanggal_15']; $tanggal_16=$_post['tanggal_16']; $tanggal_17=$_post['tanggal_17']; $tanggal_18=$_post['tanggal_18']; $tanggal_19=$_post['tanggal_19']; $tanggal_20=$_post['tanggal_20']; $tanggal_21=$_post['tanggal_21']; $tanggal_22=$_post['tanggal_22']; $tanggal_23=$_post['tanggal_23']; $tanggal_24=$_post['tanggal_24']; $tanggal_25=$_post['tanggal_25']; $tanggal_26=$_post['tanggal_26']; $tanggal_27=$_post['tanggal_27']; $tanggal_28=$_post['tanggal_28']; $tanggal_29=$_post['tanggal_29']; $tanggal_30=$_post['tanggal_30']; $sql="insert into kelas_x values('$nama','$nis','$tanggal_1','$tanggal_2','$tanggal_3','$tanggal_4','$tan ggal_5','$tanggal_6','$tanggal_7','$tanggal_8','$tanggal_9','$tanggal_10','$tan ggal_11','$tanggal_12','$tanggal_13','$tanggal_14','$tanggal_15','$tanggal_16', '$tanggal_17','$tanggal_18','$tanggal_19','$tanggal_20','$tanggal_21','$tanggal _22','$tanggal_23','$tanggal_24','$tanggal_25','$tanggal_26','$tanggal_27','$ta nggal_28','$tanggal_29','$tanggal_30')"; $a=mysql_query($sql); echo "<center><h2>data berhasil di input ke database</p> </h2></center>"; 40. Edit_ab_siswa_x.php (Halaman berisikan perintah update atau delete absen siswa) include 'connect_ab_x.php'; $query = "SELECT * FROM kelas_x"; //the query for get all data in tb_student $result = mysql_query($query); echo "<table border='1' cellpadding='2' cellspacing='2'>"; echo "<tr BGCOLOR='#cccccc' align='center'> <td> <b> Nama </b> <td> <b> NIS </b> <td> <b> 1 </b> <td> <b> 2 </b>

26 <td> <b> 3 </b> <td> <b> 4 </b> <td> <b> 5 </b> <td> <b> 6 </b> <td> <b> 7 </b> <td> <b> 8 </b> <td> <b> 9 </b> <td> <b> 10 </b> <td> <b> 11 </b> <td> <b> 12 </b> <td> <b> 13 </b> <td> <b> 14 </b> <td> <b> 15 </b> <td> <b> 16 </b> <td> <b> 17 </b> <td> <b> 18 </b> <td> <b> 19 </b> <td> <b> 20 </b> <td> <b> 21 </b> <td> <b> 22 </b> <td> <b> 23 </b> <td> <b> 24 </b> <td> <b> 25 </b> <td> <b> 26 </b> <td> <b> 27 </b> <td> <b> 28 </b> <td> <b> 29 </b> <td> <b> 30 </b> <td> <b> Action </b> <td> <b> Action </b> "; while ($data = mysql_fetch_array($result)) //mysql_fetch_array = get the query data into array echo "<tr align='center'> <td>".$data['nama']." <td>".$data['nis']." <td>".$data['tanggal_1']." <td>".$data['tanggal_2']." <td>".$data['tanggal_3']." <td>".$data['tanggal_4']." <td>".$data['tanggal_5']." <td>".$data['tanggal_6']." <td>".$data['tanggal_7']." <td>".$data['tanggal_8']." <td>".$data['tanggal_9']." <td>".$data['tanggal_10']." <td>".$data['tanggal_11']." <td>".$data['tanggal_12']." <td>".$data['tanggal_13']." <td>".$data['tanggal_14']." <td>".$data['tanggal_15']." <td>".$data['tanggal_16']." <td>".$data['tanggal_17']." <td>".$data['tanggal_18']." <td>".$data['tanggal_19']." <td>".$data['tanggal_20']." <td>".$data['tanggal_21']." <td>".$data['tanggal_22']." <td>".$data['tanggal_23']." <td>".$data['tanggal_24']." <td>".$data['tanggal_25']." <td>".$data['tanggal_26']." <td>".$data['tanggal_27']." <td>".$data['tanggal_28']." <td>".$data['tanggal_29']." <td>".$data['tanggal_30']." <td> <i> <a href='formupdate_ab_x.php?nis=".$data['nis']."'> Update </a> </i> <td> <i> <a href='proses_hapus_ab_x.php?nis=".$data['nis']."'> Delete </a> </i> "; echo "</table>";

27 41. Formupdate_ab_x.php (Form untuk update absen siswa) include 'connect_ab_x.php'; $nis = $_GET['nis']; //get the no which will updated $query = "SELECT * FROM kelas_x WHERE nis = $nis"; //get the data that will be updated $data = mysql_fetch_array($hasil); <form method="post" action="proses_update_ab_x.php"> <table width="980" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#cccccc"> <td height="21" colspan="3"> <strong><center><h3> Form Update</h3></center></strong> <td>nama <td> <input type="text" name="nama" value=" echo $data['nama']; "> <td width="23%">nis <td width="2%">: <td width="75%"> <input type="text" name="nis" disabled='disable' value=" echo $data['nis']; "> <td>1 <td> <input type="text" name="tanggal_1" value=" echo $data['tanggal_1']; "> <td>2 <td> <input type="text" name="tanggal_2" value=" echo $data['tanggal_2']; "> <td>3 <td> <input type="text" name="tanggal_3" value=" echo $data['tanggal_3']; "> <td>4 <td> <input type="text" name="tanggal_4" value=" echo $data['tanggal_4']; "> <td>5 <td> <input type="text" name="tanggal_5" value=" echo $data['tanggal_5']; "> <td>6

28 <td> <input type="text" name="tanggal_6" value=" echo $data['tanggal_6']; "> <td>7 <td> <input type="text" name="tanggal_7" value=" echo $data['tanggal_7']; "> <td>8 <td> <input type="text" name="tanggal_8" value=" echo $data['tanggal_8']; "> <td>9 <td> <input type="text" name="tanggal_9" value=" echo $data['tanggal_9']; "> <td>10 <td> <input type="text" name="tanggal_10" value=" echo $data['tanggal_10']; "> <td>11 <td> <input type="text" name="tanggal_11" value=" echo $data['tanggal_11']; "> <td>12 <td> <input type="text" name="tanggal_12" value=" echo $data['tanggal_12']; "> <td>13 <td> <input type="text" name="tanggal_13" value=" echo $data['tanggal_13']; "> <td>14 <td> <input type="text" name="tanggal_14" value=" echo $data['tanggal_14']; "> <td>15

29 <td> <input type="text" name="tanggal_15" value=" echo $data['tanggal_15']; "> <td>16 <td> <input type="text" name="tanggal_16" value=" echo $data['tanggal_16']; "> <td>17 <td> <input type="text" name="tanggal_17" value=" echo $data['tanggal_17']; "> <td>18 <td> <input type="text" name="tanggal_18" value=" echo $data['tanggal_18']; "> <td>19 <td> <input type="text" name="tanggal_19" value=" echo $data['tanggal_19']; "> <td>20 <td> <input type="text" name="tanggal_20" value=" echo $data['tanggal_20']; "> <td>21 <td> <input type="text" name="tanggal_21" value=" echo $data['tanggal_21']; "> <td>22 <td> <input type="text" name="tanggal_22" value=" echo $data['tanggal_22']; "> <td>23 <td> <input type="text" name="tanggal_23" value=" echo $data['tanggal_23']; "> <td>24 <td> <input type="text" name="tanggal_24" value=" echo $data['tanggal_24']; ">

30 <td>25 <td> <input type="text" name="tanggal_25" value=" echo $data['tanggal_25']; "> <td>26 <td> <input type="text" name="tanggal_26" value=" echo $data['tanggal_26']; "> <td>27 <td> <input type="text" name="tanggal_27" value=" echo $data['tanggal_27']; "> <td>28 <td> <input type="text" name="tanggal_28" value=" echo $data['tanggal_28']; "> <td>29 <td> <input type="text" name="tanggal_29" value=" echo $data['tanggal_29']; "> <td>30 <td> <input type="text" name="tanggal_30" value=" echo $data['tanggal_30']; "> <td> <td> <td> <input type="hidden" name="nis" value=" echo $data['nis']; "> <input type="submit" name="submit" value="save"> </table> </form> 42. Proses_update_ab_x.php (Proses update absen siswa) include "connect_ab_x.php"; //get the value from form update $nama = $_POST['nama']; $nis = $_POST['nis']; $tanggal_1 = $_POST['tanggal_1']; $tanggal_2 = $_POST['tanggal_2']; $tanggal_3 = $_POST['tanggal_3']; $tanggal_4 = $_POST['tanggal_4']; $tanggal_5 = $_POST['tanggal_5']; $tanggal_6 = $_POST['tanggal_6']; $tanggal_7 = $_POST['tanggal_7']; $tanggal_8 = $_POST['tanggal_8']; $tanggal_9 = $_POST['tanggal_9']; $tanggal_10 = $_POST['tanggal_10']; $tanggal_11 = $_POST['tanggal_11']; $tanggal_12 = $_POST['tanggal_12'];

L A M P I R A N. Universitas Sumatera Utara

L A M P I R A N. Universitas Sumatera Utara L A M P I R A N LAMPIRAN 1. Listing Program Aplikasi e-election Berbasis SMS Gateway index.php

More information

LAMPIRAN Kode Program

LAMPIRAN Kode Program 73 LAMPIRAN Kode Program 1. Index.php

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

LAMPIRAN 1 PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN

LAMPIRAN 1 PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN LAMPIRAN 1 ANGKET PENELITIAN PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN Saya mengharapkan kesediaan Saudara untuk mengisi angket dalam rangka penelitian tetang

More information

주소록만들기 주소록. Input 페이지 Edit 페이지 Del 페이지

주소록만들기 주소록. Input 페이지 Edit 페이지 Del 페이지 주소록프로젝트 주소록만들기 주소록 List 페이지 Input 페이지 Edit 페이지 Del 페이지 Inputpro 페이지 Editpro 페이지 Address_Input.html 주소입력페이지 td,li,input{font-size:9pt} 주소입력

More information

LAMPIRAN. Index.php. <?php. unset($_session["status"]); //session_destroy(); //session_destroy();

LAMPIRAN. Index.php. <?php. unset($_session[status]); //session_destroy(); //session_destroy(); LAMPIRAN Index.php unset($_session["status"]); //session_destroy(); //session_destroy();?>

More information

Pengenalan Sistem Maklumat Dalam Pendidikan

Pengenalan Sistem Maklumat Dalam Pendidikan Pengenalan Sistem Maklumat Dalam Pendidikan 1 RELATIONSHIP & QUERY DALAM MICROSOFT ACCESS Kandungan Definisi Relationship (Hubungan) Jenis Relationship Membina Relationship Definisi Query dan Fungsi Query

More information

APLIKASI BERITA DENGAN PHP DAN MYSQL

APLIKASI BERITA DENGAN PHP DAN MYSQL APLIKASI BERITA DENGAN PHP DAN MYSQL Merancang Struktur Database Membuat File Koneksi Database Membuat Halaman Input Berita Menampilkan Berita Terbaru di Halaman Depan Menampilkan Berita Lengkap Membuat

More information

Lampiran Source Code:

Lampiran Source Code: Lampiran Source Code: Halaman Login Siswa Sourcecode : @session_start(); $db = mysqli_connect("localhost", "root", "", "learning");

More information

Using htmlarea & a Database to Maintain Content on a Website

Using htmlarea & a Database to Maintain Content on a Website Using htmlarea & a Database to Maintain Content on a Website by Peter Lavin December 30, 2003 Overview If you wish to develop a website that others can contribute to one option is to have text files sent

More information

A designers guide to creating & editing templates in EzPz

A designers guide to creating & editing templates in EzPz A designers guide to creating & editing templates in EzPz Introduction...2 Getting started...2 Actions...2 File Upload...3 Tokens...3 Menu...3 Head Tokens...4 CSS and JavaScript included files...4 Page

More information

Panduan Menggunakan Autoresponder FreeAutobot.com

Panduan Menggunakan Autoresponder FreeAutobot.com Panduan Menggunakan Autoresponder FreeAutobot.com Dengan memperolehi e-book ini, anda mempunyai kebenaran untuk memberi secara percuma kepada pelanggan anda atau tawarkan sebagai bonus kepada pembelian

More information

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/ home.php 1/1 3: * home.php 5: * A simple home page for these login demos. 6: * David J. Malan 8: * Computer Science E-75 9: * Harvard Extension School 10: */ 11: // enable sessions 13: session_start();

More information

LAMPIRAN. a. Kode Program Untuk Halaman Cari Data Proyek

LAMPIRAN. a. Kode Program Untuk Halaman Cari Data Proyek LAMPIRAN 1. Kode Program a. Kode Program Untuk Halaman Cari Data Proyek

More information

ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11

ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11 ssk 2023 asas komunikasi dan rangkaian TOPIK 4.0 PENGALAMATAN RANGKAIAN Minggu 11 PENILAIAN & KULIAH Kuliah Tugasan Ujian Teori Ujian Amali Isi kandungan 4.8 Menunjukkan asas pengiraan o Subnet Mask o

More information

HTML. HTML Evolution

HTML. HTML Evolution Overview stands for HyperText Markup Language. Structured text with explicit markup denoted within < and > delimiters. Not what-you-see-is-what-you-get (WYSIWYG) like MS word. Similar to other text markup

More information

Lecture 6: Web Security CS /17/2017

Lecture 6: Web Security CS /17/2017 Lecture 6: Web Security CS5431 03/17/2017 2015 Security Incidents Web Vulnerabilities by Year 2500 2000 1500 1000 500 0 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015

More information

Summary 4/5. (contains info about the html)

Summary 4/5. (contains info about the html) Summary Tag Info Version Attributes Comment 4/5

More information

COSC 2206 Internet Tools. Brief Survey of HTML and XHTML Document Structure Formatting

COSC 2206 Internet Tools. Brief Survey of HTML and XHTML Document Structure Formatting COSC 2206 Internet Tools Brief Survey of HTML and XHTML Document Structure Formatting 1 W3C HTML Home page W3C is the World Wide Web Consortium and their home page has lots of information, links, and a

More information

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points) CS-101 Fall 2008 Section 4 Practice Final v1.0m Name: Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points) XHTML/CSS Reference: Entities: Copyright

More information

Copyright 2011 Sakun Sharma

Copyright 2011 Sakun Sharma Maintaining Sessions in JSP We need sessions for security purpose and multiuser support. Here we are going to use sessions for security in the following manner: 1. Restrict user to open admin panel. 2.

More information

belajar html5 158E7F2D743EA866244C3EE391F064DC Belajar Html5 1 / 6

belajar html5 158E7F2D743EA866244C3EE391F064DC Belajar Html5 1 / 6 Belajar Html5 1 / 6 2 / 6 3 / 6 Belajar Html5 HTML specifications HTML5.2 https://www.w3.org/tr/html52/ HTML5.1 2nd Edition https://www.w3.org/tr/html51/ HTML AAM https://www.w3.org/tr/html-aam-1.0/ W3C

More information

VIRTUAL PRIVATE NETWORK: ARCHITECTURE AND IMPLEMENTATIONS

VIRTUAL PRIVATE NETWORK: ARCHITECTURE AND IMPLEMENTATIONS VIRTUAL PRIVATE NETWORK: ARCHITECTURE AND IMPLEMENTATIONS A thesis submitted to the graduate school in partial fulfillment of the requirements for the degree Master of Science (Information Technology)

More information

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.: Internet publishing HTML (XHTML) language Petr Zámostný room: A-72a phone.: 4222 e-mail: petr.zamostny@vscht.cz Essential HTML components Element element example Start tag Element content End tag

More information

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. HTML Tags Chart To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. Tag Name Code Example Browser View

More information

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology (X)HTML Internet Engineering Spring 2018 Bahador Bakhshi CE & IT Department, Amirkabir University of Technology Questions Q2) How is a web page organized? Q2.1) What language is used for web pages? Q2.2)

More information

Lab 7 Introduction to MySQL

Lab 7 Introduction to MySQL Lab 7 Introduction to MySQL Objectives: During this lab session, you will - Learn how to access the MySQL Server - Get hand-on experience on data manipulation and some PHP-to-MySQL technique that is often

More information

Technical Guide Login Page Customization

Technical Guide Login Page Customization Released: 2017-11-15 Doc Rev No: R2 Copyright Notification Edgecore Networks Corporation Copyright 2019 Edgecore Networks Corporation. The information contained herein is subject to change without notice.

More information

Wireframe :: tistory wireframe tistory.

Wireframe :: tistory wireframe tistory. Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17

More information

TUTORIAL CRUD CODEIGNITER

TUTORIAL CRUD CODEIGNITER TUTORIAL CRUD CODEIGNITER With MySQL Tutorial ini saya dedikasikan untuk yang baru terjun di framework codeigniter, dan para pemula yang ingin belajar secara otodidak. Crud merupakan kewajiban dasar yang

More information

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013 CHAPTER 1: BASIC CONCEPTS OF WEB DESIGNING 1. What is the web? What are the three ways you can build a webpage? The World Wide Web (abbreviated as WWW or W3, commonly known as the web), is a system of

More information

Advanced HTML Scripting WebGUI Users Conference

Advanced HTML Scripting WebGUI Users Conference Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember

More information

Pratikum 8. Membuat Transaksi Penjualan

Pratikum 8. Membuat Transaksi Penjualan Pratikum 8 Membuat Transaksi Penjualan Transaksi adalah Hubungan tabel satu dengan yang lain menjadi sebuah form, di dalam form tersebut mengambil beberapa field dari tabel lain sehingga menjadi satu inputan.

More information

HTML 5.0 KKCC INFO SYSTEMS. K.SrinivasaRao

HTML 5.0 KKCC INFO SYSTEMS. K.SrinivasaRao HTML 5.0 KKCC INFO SYSTEMS K.SrinivasaRao Document Type Declaration

More information

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar. GIMP WEB 2.0 MENUS Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar. Standard Navigation Bar Web 2.0 Navigation Bar Now the all-important question

More information

ゼミ Wiki の再構築について 資料編 加納さおり

ゼミ Wiki の再構築について 資料編 加納さおり Wiki [ Fukuda Semi Wiki] [ 2 wiki] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 Menu1] [ 15 Menu2] [ 16 Menu3] [ 17 wiki Menu] [ 18 TOP ] [ 19 ] [ 20 ] [ 20] [ 21 ] [ 22 (

More information

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. HTML Tags Chart To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. Tag Name Code Example Browser View

More information

Cara menggunakan TinyMCE

Cara menggunakan TinyMCE Cara menggunakan TinyMCE Oleh: Shidqi Halo semua kali ini gw mau share cara menggunakan tinymce apa itu tinymce? berikut penjelasanya dari wikipedia TinyMCE is a platform-independent, browser-based WYSIWYG

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

Date Picker Haim Michael

Date Picker Haim Michael Date Picker Introduction The date picker is one of the most popular jquery widgets in use. It is highly configurable and extremely easy to implement. Introduction Simple Date Picker

More information

Part A Short Answer (50 marks)

Part A Short Answer (50 marks) Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Lab 4 CSS CISC1600, Spring 2012

Lab 4 CSS CISC1600, Spring 2012 Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive

More information

FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA

FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA FIRST TIME LOGIN & SELF REGISTRATION USER GUIDE LOG MASUK KALI PERTAMA & PENDAFTARAN SENDIRI PANDUAN PENGGUNA Getting Started Step by Step Guide to Supplier First Time Login and Self Registration Persediaan

More information

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Instructions to use the laboratory computers (room B2): 1. If the computer is off, start it with Windows (all computers have a Linux-Windows

More information

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits

More information

Server Applications with ASP and XMLComposer

Server Applications with ASP and XMLComposer . TopLeaf 7 How To: Server Applications with ASP and XMLComposer 1. Introduction TopLeaf is a highly adaptable XML composition engine that can be used as part of larger enterprise solutions where dynamic

More information

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data CS 418/518 Web Programming Spring 2014 HTML Tables and Forms Dr. Michele Weigle http://www.cs.odu.edu/~mweigle/cs418-s14/ Outline! Assigned Reading! Chapter 4 "Using Tables to Display Data"! Chapter 5

More information

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

HyperText Markup Language (HTML)

HyperText Markup Language (HTML) HyperText Markup Language (HTML) Mendel Rosenblum 1 Web Application Architecture Web Browser Web Server / Application server Storage System HTTP Internet LAN 2 Browser environment is different Traditional

More information

Hyperlinks, Tables, Forms and Frameworks

Hyperlinks, Tables, Forms and Frameworks Hyperlinks, Tables, Forms and Frameworks Web Authoring and Design Benjamin Kenwright Outline Review Previous Material HTML Tables, Forms and Frameworks Summary Review/Discussion Email? Did everyone get

More information

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS MOST TAGS CLASS Divides tags into groups for applying styles 202 ID Identifies a specific tag 201 STYLE Applies a style locally 200 TITLE Adds tool tips to elements 181 Identifies the HTML version

More information

REGISTRATION GUIDE MCIS CUSTOMER PORTAL. Page 1

REGISTRATION GUIDE MCIS CUSTOMER PORTAL. Page 1 REGISTRATION GUIDE MCIS CUSTOMER PORTAL Page 1 Customer Portal Registration Guide Go to www.mcis.my and click the Customer Portal tab Page 2 Customer Portal Registration Guide 1. The page shown below will

More information

CSC Web Technologies, Spring HTML Review

CSC Web Technologies, Spring HTML Review CSC 342 - Web Technologies, Spring 2017 HTML Review HTML elements content : is an opening tag : is a closing tag element: is the name of the element attribute:

More information

blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/

blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/ blink.html 1/1 3: blink.html 5: David J. Malan Computer Science E-75 7: Harvard Extension School 8: 9: --> 11:

More information

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II CHAPTER 1: HTML 1. What is HTML? Define its structure. a. HTML [Hypertext Markup Language] is the main markup language for creating web pages and other information that can be displayed in a web browser.

More information

How to use the Dealer Car Search ebay posting tool. Overview. Creating your settings

How to use the Dealer Car Search ebay posting tool. Overview. Creating your settings How to use the Dealer Car Search ebay posting tool Overview The Dealer Car Search ebay posting tool is designed to allow you to easily create an auction for a vehicle that has been loaded into Dealer Car

More information

Design Project. i385f Special Topics in Information Architecture Instructor: Don Turnbull. Elias Tzoc

Design Project. i385f Special Topics in Information Architecture Instructor: Don Turnbull. Elias Tzoc Design Project Site: News from Latin America Design Project i385f Special Topics in Information Architecture Instructor: Don Turnbull Elias Tzoc April 3, 2007 Design Project - 1 I. Planning [ Upper case:

More information

By the end of this chapter, you will have a very basic, but fully functional blogging system.

By the end of this chapter, you will have a very basic, but fully functional blogging system. C H A P T E R 5 Building the Entry Manager At this point, you know enough to start building your blog! In this chapter, I ll walk you through how to build the backbone of your blogging application. The

More information

Psychology Experiments on the Web Using PHP and MySQL

Psychology Experiments on the Web Using PHP and MySQL Psychology Experiments on the Web Using PHP and MySQL Lisa M. DeBruine August 14, 2008 Contents 1 Basic Web Authoring 2 1.1 Setting up your webpage....................... 2 1.2 HTML.................................

More information

CSS Scripting and Computer Environment - Lecture 09

CSS Scripting and Computer Environment - Lecture 09 CSS Scripting and Computer Environment - Lecture 09 Saurabh Barjatiya International Institute Of Information Technology, Hyderabad 1 st October, 2011 Contents 1 CSS stands for Cascading Style Sheets Styles

More information

Web Development and HTML. Shan-Hung Wu CS, NTHU

Web Development and HTML. Shan-Hung Wu CS, NTHU Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web

More information

KODE PROGRAM. 1. Umum

KODE PROGRAM. 1. Umum LAMPIRAN 91 KODE PROGRAM 1. Umum konsultasi.php cek gejala yang balita Anda alami... Jika gejala yang dialami tidak

More information

Vebra Search Integration Guide

Vebra Search Integration Guide Guide Introduction... 2 Requirements... 2 How a Vebra search is added to your site... 2 Integration Guide... 3 HTML Wrappers... 4 Page HEAD Content... 4 CSS Styling... 4 BODY tag CSS... 5 DIV#s-container

More information

P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus)

P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) 10.1 Tujuan Mahasiswa mampu : Mengetahui dan Memahami Integrasi PHP dengan MySQL Mengetahui dan Memahami Relasi Dengan phpmyadmin Designer Mengetahui dan

More information

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS LIBRARY USE LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD 2013 Student ID: Seat Number: Unit Code: CSE2WD Paper No: 1 Unit Name: Paper Name: Reading Time: Writing Time: Web Development Final 15 minutes

More information

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is

More information

Document Object Model. Overview

Document Object Model. Overview Overview The (DOM) is a programming interface for HTML or XML documents. Models document as a tree of nodes. Nodes can contain text and other nodes. Nodes can have attributes which include style and behavior

More information

state View; else if (mesg == "Overview") { state Overview; state_exit(){}

state View; else if (mesg == Overview) { state Overview; state_exit(){} list labels = ["Take", "Overview", "View"]; key httpid = NULL_KEY; integer mychannel = -17325; // Set this to something unique for yourself to avoid crosstalk key who; key textureblank = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903";

More information

INFORMATION SYSTEM OF SCHEDULE AND CHAMPION S DATA OF BIRD CONTEST IN BOYOLALI WEBSITE BASED

INFORMATION SYSTEM OF SCHEDULE AND CHAMPION S DATA OF BIRD CONTEST IN BOYOLALI WEBSITE BASED INFORMATION SYSTEM OF SCHEDULE AND CHAMPION S DATA OF BIRD CONTEST IN BOYOLALI WEBSITE BASED Arranged as requisite to complete scholar program in Informatics Enginering of Communication and Informatics

More information

CGI. Web 1. CGI Unix Apache Perl. L: K06005 PUBLIC_HTML CGI-BIN sotusei jcode2.pl kokorogy1.dat

CGI. Web 1. CGI Unix Apache Perl. L: K06005 PUBLIC_HTML CGI-BIN sotusei jcode2.pl kokorogy1.dat 2008 1 29 CGI Web 1. CGI 2. 3. 1. 2. 3. Unix Apache Perl L: K06005 PUBLIC_HTML CGI-BIN sotusei jcode2.pl kokorogy1.dat jpg ----------- JPEG 17.jpg 1.jpg 10.jpg 11.jpg 12.jpg 13.jpg 14.jpg 16.jpg 15.jpg

More information

An Introduction to WebSphere Portal content publishing channels

An Introduction to WebSphere Portal content publishing channels An Introduction to WebSphere Portal content publishing channels By Gregory Melahn Software Engineer, IBM Corp. May 2003 Abstract WebSphere Portal content publishing (WPCP) allows you to import news stories

More information

UNIVERSITI SAINS MALAYSIA. CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web]

UNIVERSITI SAINS MALAYSIA. CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web] UNIVERSITI SAINS MALAYSIA First Semester Examination 2014/2015 Academic Session December 2014/January 2015 CMT322/CMM323 Web Engineering & Technologies [Kejuruteraan & Teknologi Web] Duration : 2 hours

More information

Title: Dec 11 3:40 PM (1 of 11)

Title: Dec 11 3:40 PM (1 of 11) ... basic iframe body {color: brown; font family: "Times New Roman"} this is a test of using iframe Here I have set up two iframes next to each

More information

ToDoList. 1.2 * allow custom user list to be passed in * publish changes to a channel ***/

ToDoList. 1.2 * allow custom user list to be passed in * publish changes to a channel ***/ /*** USAGE: ToDoList() Embed a TODO-list into a page. The TODO list allows users to create new items, assign them to other users, and set deadlines. Items that are due are highlighted in yellow, items

More information

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax CSS CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets

More information

ACCESSIBILITY CONVENIENCE ENJOYMENT SERVICE SPECIAL ISSUE BISHAN-TOA PAYOH GRC 5-YEAR MASTER PLAN

ACCESSIBILITY CONVENIENCE ENJOYMENT SERVICE SPECIAL ISSUE BISHAN-TOA PAYOH GRC 5-YEAR MASTER PLAN SPECIAL ISSUE January - April 2011 Bishan-Toa Payoh Town Council Newsletter MICA(P)095/02/2011 BISHAN-TOA PAYOH GRC 5-YEAR MASTER PLAN ACCESSIBILITY CONVENIENCE ENJOYMENT SERVICE BISHAN-TOA PAYOH GRC 5-YEAR

More information

JSP files for OBAAS1.1:

JSP files for OBAAS1.1: JSP files for OBAAS1.1: ----------------------- Apart from JSP files, there is also one stylesheet file named "style.css". You need to create jsp files in the WebContent folder of your project. Also create

More information

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML HTML. Chris Seddon CRS Enterprises Ltd 1 Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com

More information

Slide 1. Chapter 5. How to use the MVC pattern to organize your code. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C5

Slide 1. Chapter 5. How to use the MVC pattern to organize your code. 2010, Mike Murach & Associates, Inc. Murach's PHP and MySQL, C5 Slide 1 Chapter 5 How to use the MVC pattern to organize your code and MySQL, C5 Slide 2 Objectives Applied 1. Use the MVC pattern to develop your web applications. 2. Create and use functions that do

More information

Wed 02 Nov :01:06 AM EST modpow.html

Wed 02 Nov :01:06 AM EST modpow.html Wed 02 Nov 2005 02:01:06 AM EST modpow.html

More information

CREATING USER ID AND PASSWORD : NOTA PENTING NOTA PENTING SEBELUM MEMULAKAN PROSES CREATE USER ID & PASSWORD

CREATING USER ID AND PASSWORD : NOTA PENTING NOTA PENTING SEBELUM MEMULAKAN PROSES CREATE USER ID & PASSWORD CREATING USER ID AND PASSWORD : NOTA PENTING NOTA PENTING SEBELUM MEMULAKAN PROSES CREATE USER ID & PASSWORD Sebelum meneruskan proses untuk Create User ID & Password sila pastikan anda menggunakan Internet

More information

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 1/6/2019 12:28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 CATALOG INFORMATION Dept and Nbr: CS 50A Title: WEB DEVELOPMENT 1 Full Title: Web Development 1 Last Reviewed:

More information

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009 Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009 NAME (Printed) NAME (Signed) E-mail Exam Rules Show all your work. Your grade will be based on the

More information

LESSON 3. Coding Tables Continued

LESSON 3. Coding Tables Continued LESSON 3 Coding Tables Continued Lesson Learning Targets I can create a Web page table that displays text and / or images. I can create a Web page table that serves as a menu bar. Creating the Secondary

More information

SK Telecom. Platform NATE WAP

SK Telecom. Platform NATE WAP SK Telecom Platform NATE WAP SK TELECOM NATE WAP This Document is copyrighted by SK Telecom and may not be reproduced without permission SK Building, SeRinDong-99, JoongRoGu, 110-110, Seoul, Korea SK Telecom

More information

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I INTRODUCTION: UNIT - I HTML stands for Hyper Text Markup Language.HTML is a language for describing web pages.html is a language for describing web pages.html instructions divide the text of a document

More information

USER DOCUMENTATION CUSTOM SERVICES

USER DOCUMENTATION CUSTOM SERVICES USER DOCUMENTATION CUSTOM SERVICES Ex Libris Ltd., 2004 Table of Contents INTRODUCTION... 3 CREATING CUSTOM SERVICES... 4 CUSTOM SERVICES AND THE GUI CLIENT... 5 CUSTOM SERVICES AND THE WEB... 9 Ex Libris

More information

How to Set Up a Custom Challenge Page for Authentication

How to Set Up a Custom Challenge Page for Authentication How to Set Up a Custom Challenge Page for Authentication Setting up a custom challenge page is a three step process: 1. Create a custom challenge page. Deploy the created custom challenge page on your

More information

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

COM1004 Web and Internet Technology

COM1004 Web and Internet Technology COM1004 Web and Internet Technology When a user submits a web form, how do we save the information to a database? How do we retrieve that data later? ID NAME EMAIL MESSAGE TIMESTAMP 1 Mike mike@dcs Hi

More information

Advanced HTML 5.1 INTRODUCTION 5.2 OBJECTIVES

Advanced HTML 5.1 INTRODUCTION 5.2 OBJECTIVES 5 Advanced HTML 5.1 INTRODUCTION An effective way to organize web documents, visually, and also logically, by dividing the page into different parts is the necessity of the website today. In each part

More information

5 Snowdonia. 94 Web Applications with C#.ASP

5 Snowdonia. 94 Web Applications with C#.ASP 94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial

More information