LISTING PROGRAM koneksi.php $host="localhost"; $user="root"; $pass=""; $db="pegawai"; $koneksi=mysql_connect($host, $user, $pass); if ($koneksi==true) mysql_select_db($db); else echo"gagal"; 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"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>untitled Document</title> <style type="text/css"> <!--.style1 font-family: pristina; font-weight: bold; color: #999900;.style2 color: #999900 --> </style> <table width="824" border="3" align="center" bordercolor="#000099"> <td colspan="2"><div align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=7,0,19,0" width="784" height="100"> <param name="movie" value="image/header2.swf" /> <param name="quality" value="high" /> <embed src="image/header2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/xshockwave-flash" width="784" height="100"></embed> </object> </div></td> <td colspan="2" bgcolor="#ffffff"> <table width="403" border="0" vspace="0" align="center"> <td width="95" valign="top"> include"template/menu.php"; </td> <td width="119"> include"template/menu4.php"; </td> <td width="175"> include"template/menu2.php"; </td> </td> <td width="575" height="162"> include"template/utama.php"; include"module/inc.php";</td> <td width="229"><table width="200" border="1" vspace="1"> <tr valign="top"> <td><img src="image/beach.gif" width="200" height="123" /></td> </td> <td><table width="575" border="0" align="center"> <th width="130" scope="row"> include"template/skin.php"; </th> <td width="429"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=7,0,19,0" width="480" height="279"> <param name="movie" value="image/bsi-all.swf" /> <param name="quality" value="high" /> <embed src="image/bsi-all.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/xshockwave-flash" width="480" height="279"></embed> </object></td> </td> <td><table width="214" height="289" border="1" align="center" vspace="0"> <tr valign="top" >
<td width="204" height="159"><object classid="clsid:d27cdb6e-ae6d-11cf- 96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=7,0,19,0" width="202" height="165"> <param name="movie" value="image/jam.swf" /> <param name="quality" value="high" /> <embed src="image/jam.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/xshockwave-flash" width="202" height="165"></embed> </object></td> <td height="115"><object classid="clsid:d27cdb6e-ae6d-11cf- 96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=7,0,19,0" width="65" height="86"> <param name="movie" value="image/jamindonesia.swf" /> <param name="quality" value="high" /> <embed src="image/jamindonesia.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/xshockwave-flash" width="65" height="86"></embed> </object> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=7,0,19,0" width="65" height="86"> <param name="movie" value="image/jamtokyo.swf" /> <param name="quality" value="high" /> <embed src="image/jamtokyo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/xshockwave-flash" width="65" height="86"></embed> </object> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=7,0,19,0" width="65" height="86"> <param name="movie" value="image/jamseoul.swf" /> <param name="quality" value="high" /> <embed src="image/jamseoul.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/xshockwave-flash" width="65" height="86"></embed> </object></td> </td>
<td colspan="2" bgcolor="#336633"><div align="center"><span class="style2"><a href="index.php">home</a> <a href="?module=login">login</a> <a href="?module=berita">news </a></span></div></td> <td colspan="2" bgcolor="#336633"><div align="center" class="style1">web KEPEGAWAIAN </div></td> home.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"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>untitled Document</title> <style type="text/css"> <!--.style1 font-family: pristina; font-weight: bold; --> </style> <table width="798" border="1" align="center"> <td colspan="2"><div align="center"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=7,0,19,0" width="784" height="100"> <param name="movie" value="image/header2.swf" /> <param name="quality" value="high" /> <embed src="image/header2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/xshockwave-flash" width="784" height="100"></embed> </object> </div></td> <td colspan="2" bgcolor="#0099cc"> <table width="403" border="0" vspace="0" align="center">
<td width="95" valign="top"> include"template/admin.php"; </td> </td> <td width="582" height="162"> include"template/text.php"; <br /><br /> include"module/inc.php";</td> <td width="200"><table width="200" border="1" vspace="1"> <tr valign="top"> <td><img src="image/beach.gif" width="200" height="123" /></td> </td> <td> include"template/skin.php"; </td> <td><table width="200" border="1" vspace="0" align="center"> <tr valign="top" > <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab# version=7,0,19,0" width="190" height="130"> <param name="movie" value="image/jam.swf" /> <param name="quality" value="high" /> <embed src="image/jam.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/xshockwave-flash" width="190" height="130"></embed> </object></td> </td> <td colspan="2" bgcolor="#666666"><div align="center"><a href="index.php">home</a> <a href="">login</a> <a href="">news </a></div></td> <td colspan="2" bgcolor="#999999"><div align="center" class="style1">web KEPEGAWAIAN </div></td> berita_display.php <html>
<title>:::biodata:::</title> <style type="text/css"> <!--.style5 font-family: pristina; color: #006633; --> </style> $id=$_request['id']; include"../koneksi.php"; $sql="select * from berita where id='$id' "; $query=mysql_query($sql, $koneksi); <? while($row=mysql_fetch_array($query)) <table width="340" border="1" align="center"> <td colspan="3"> include"template/header.php"; </td> <td colspan="3"><div align="center">b<span class="style5">erita</span></div></td> <td width="99"><span class="style5">nama awal </span></td> <td width="44">:</td> <td width="183"> echo $row['ki']; </td> <td><p class="style5"> </p> <p class="style5">isi</p></td> <td>:</td> <td> echo $row['isi']; </td> <p> </p> a.php
<html> <title>:::biodata:::</title> <style type="text/css"> <!--.style5 font-family: pristina; color: #006633; --> </style> $id=$_request['id']; include"../koneksi.php"; $sql="select * from berita where id='$id' "; $query=mysql_query($sql, $koneksi); <? while($row=mysql_fetch_array($query)) <form name="a" method="post" action="../edit.php" enctype="multipart/formdata"> <table width="340" border="1" align="center"> <td colspan="3"><div align="center">berita</div></td> <td width="99"><span class="style5">nama awal </span></td> <td width="44">:</td> <td width="183"> echo $row['ki']; </td> <td><p class="style5"> </p> <p class="style5">isi</p></td> <td>:</td> <td> echo $row['isi']; </td> <td><p class="style5"> </p> <p class="style5">isi</p></td> <td>:</td> <td><img src="../image/ echo $row['nama_file']; " width="118" height="84">view </a></td> <p> <label> <input type="submit" name="submit" value="submit"> </label>
</p> </FORM> <div align="center"> <a href="../index.php">home </a></div> <p> </p> admin.php include"module/inc_session.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"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>untitled Document</title> <br /> <table width="430" border="0" vspace="1" align="center" > <tr valign="top"> <td width="90" valign="top"> include"template/admin_menu2.php"; </td> <td width="90"> include"template/admin_menu1.php"; </td> <td width="90"> include"template/admin_menu3.php"; </td> admin_view_pegawai.php <html> <title>view</title> <style type="text/css"> <!--.style3 color: #999900; font-family: pristina; font-weight: bold;.style5 color: #990000 --> </style>
<p> include"../koneksi.php"; $nk=$_request['nk']; $batas=5; $halaman=$_get['halaman']; if(empty($halaman)) else $posisi=0; $halaman=1; $posisi=($halaman-1) * $batas; $tampil="select * from data order by nk desc limit $posisi, $batas"; $hasil=mysql_query($tampil); </p> include"../template/header.php"; <table width="614" border="3" align="center"> <td width="25" bgcolor="#336633"><div align="center" class="style3">no.</div></td> <td width="67" bgcolor="#336633"><div align="center" class="style3">nik</div></td> <td width="129" bgcolor="#336633"><div align="center" class="style3">nama</div></td> <td width="111" bgcolor="#336633"><div align="center" class="style3">jabatan</div></td> <td width="248" bgcolor="#336633"><div align="center" class="style3">action</div></td> $no=1; while($data=mysql_fetch_array($hasil)) <td> echo $no; </td> <td> echo $data['nk']; </td> <td> echo $data['nm']; </td> <td> echo $data['jbt']; <a href="librari/view_detail_pegawai.php?nk=<? echo $data['nk']; "></a></td>
<td><a href="../librari/admin_view_detail_pegawai.php?nk=<? echo $data['nk']; ">view</a><a href="a/../../database/delete_pegawai.php?nk=<? echo $data['nk']; ">Hapus <a href="../librari/edit_admin.php?nk=<? echo $data['nk']; ">Edit </a></td> $no++; <div align="center"> $tampil2=mysql_query("select * from data order by nk desc"); $jmldata=mysql_numrows($tampil2); $jmlhalaman=ceil($jmldata/$batas); echo"<center><br> halaman :"; for($i=1; $i<=$jmlhalaman; $i++) if ($i!=$halaman) echo"<a href=$_server[php_self]?halaman=$i>$i</a> "; else echo"<b>$i</b> "; echo"<p>total anggota: <b>$jmldata</b>orang</p>"; <span class="style5">----------------------------------------------------------------------------- --------------- </span> <input name="button" type="button" onclick="self.history.back()" value="back"/> </div> <center> <a href="../home.php"> Home</a> </center> form_gaji.php <html> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>untitled Document</title> <style type="text/css"> <!--.style1 color: #999900.style3 font-family: pristina; font-weight: bold;
.style4 color: #999900; font-family: pristina; font-weight: bold; --> </style> <table width="488" border="1" align="center"> <th width="50" rowspan="2" bgcolor="#336633" scope="row"><div align="center" class="style4">gaji Pokok </div></th> <td colspan="2" bgcolor="#336633"><div align="center" class="style4">tunjangan keluarga </div></td> <td width="68" rowspan="2" bgcolor="#336633"><div align="center" class="style4">tunjangan Pangan </div></td> <td width="99" bgcolor="#336633"><div align="center" class="style4">potongan</div></td> <td width="108" rowspan="2" bgcolor="#336633"><div align="center" class="style4">gaji Total</div></td> <td width="67" bgcolor="#336633"><div align="center" class="style4">istri / Suami </div></td> <td width="56" bgcolor="#336633"><div align="center" class="style4">anak</div></td> <td bgcolor="#336633"><div align="center"></div></td> <th scope="row"> </th> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> login.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"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>untitled Document</title> <style type="text/css"> <!--.style3 font-family: pristina; font-weight: bold;
.style4 font-family: pristina --> </style> session_start(); <form name="form1" method="post" action="?module=log"> <table width="223" border="0"> <td width="59" rowspan="3"><img src="a/../image/loginwelcome.gif" width="134" height="105" /></td> <td><span class="style3">username</span></td> <td><input type="text" name="username" /></td> <td><span class="style3">password</span></td> <td width="214"><label> <input type="password"name="password" /> </label></td> <td><input name="button" type="submit" value="login" /></td> <td><a href="?module=daftar">daftar</a></td> <td> </td> </form> save_login.php include"a/../koneksi.php"; $username=$_request['username']; $password=$_request['password']; $password2=$_request['password2']; if(trim($username)=="") include"template/daftar.php"; echo"data belum di isi"; elseif(trim($password)=="")
include"template/daftar.php"; echo"data belum di isi"; elseif(trim($password2)=="") include"template/daftar.php"; echo"konfirmasi password belum di isi"; elseif($password==$password2) if(isset($username)) $sql="select * from login where username='$username'"; $query=mysql_query($sql, $koneksi); $cek=mysql_num_rows($query); if ($cek ==1) $SES_USER=$username; session_register("ses_user"); <script language="javascript">alert('username Telah digunakan, Silahkan isi dengan username yang belum ada'); document.location='?module=login'</script><? else $sql="insert into login (username, password) values('$username', '$password')"; $query=mysql_query($sql, $koneksi); if($query==true) echo "<script language=javascript>"; echo "alert('anda telah terdaftar');"; echo"</script>"; echo"<meta http-equiv='refresh' content='0; url=index.php'>"; else echo"password yang anda masukan tidak sama dengan di konfirmasi"; include"template/daftar.php";
logout.php session_start(); include"module/inc_session.php"; session_unregister("ses_user"); echo"<meta http-equiv='refresh' content='0; url=index.php'>"; struktur.php <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>untitled Document</title> <table width="200" border="1" align="center" height="300"> <td bgcolor="#c0c0c0"><img src="a/../image/struktur.jpg" width="600" height="400" /></td> <p><a href="template/org.php">selanjutnya...</a></p>
KEMENTERIAN PENDIDIKAN NASIONAL UNIVERSITAS SUMATERA UTARA FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM Jl. Bioteknologi No. 1 Kampus USU Telp. (061) 8214290, 8211212, 8211414 Fax. (061) 8214290 Medan 20155 Kartu Bimbingan Tugas Akhir Mahasiswa Nama : FAUZIAH ANIM Nomor Induk Mahasiswa : 072406080 Judul Tugas Akhir : SISTEM INFORMASI BERBASIS WEB KEPEGAWAIAN PT. SIMODONG JAYA Dosen Pembimbing : Dr. Tulus, M. Si Tanggal Mulai Bimbingan : 08 Februari 2010 Tanggal Selesai Bimbingan : 27 Mei 2010 No Tanggal Asistensi Bimbingan Pembahasan Pada Asistensi Mengenai, Pada Bab : 1. 08 Februari 2010 Proposal Tugas Akhir 2. 17 Mei 2010 Bab 1 s/d Bab 3 3. 24 Mei 2010 Bab 4 s/d Bab 6 4. 27 Mei 2010 ACC Tugas Akhir 5. 27 Mei 2010 Uji Program *Kartu ini harap dikembalikan ke Departemen Matematika bila bimbingan mahasiswa telah selesai Paraf Dosen Pembimbing Keterangan Diketahui, Departemen Matematika FMIPA USU Ketua Disetujui, Pembimbing Utama/ Penanggung Jawab Dr. Saib Suwilo, M.Sc NIP. 196401091988031004 Dr. Tulus, M. Si NIP.196209011988031002
SURAT KETERANGAN Hasil Uji Program Tugas Akhir Yang bertanda tangan dibawah ini, menerangkan bahwa Mahasiswa Tugas Akhir Program Diploma 3 Ilmu Komputer/Statistika : Nama : Fauziah Anim NIM : 072406080 Prog. Studi : Ilmu Komputer Judul TA : Sistem Informasi Berbasis Web Kepegawaian PT. Simodong Jaya Telah melaksanakan test program Tugas Akhir Mahasiswa tersebut di atas pada tanggal 27 Mei 2010 Dengan Hasil : Sukses / Gagal Demikian diterangkan untuk digunakan melengkapi syarat pendaftaran Ujian Meja Hijau Tugas Akhir Mahasiswa bersangkutan di Departemen Matematika FMIPA USU Medan. Medan, 27 Mei 2010 Dosen Pembimbing Dr. Tulus, M. Si NIP.196209011988031002