Hasil Uji Program Tugas Akhir SURAT KETERANGAN
Yang bertanda tangan dibawah ini, menerangkan bahwa Mahasiswa Tugas Akhir Program Diploma 3 Teknik Informatika/Statistika :
Nama : DTM. ZIKRI AURA SYAHPUTRA
NIM : 122406053
Prog. Studi : Teknik Informatika
Judul TA : Sistem Informasi Sekolah Berbasis Web Pada SMA Negeri 1 Tanjungbalai
Telah melaksanakan test program Tugas Akhir Mahasiswa tersebut di atas pada tanggal ……….
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, Juni 2015
Dosen Pembimbing
Program Studi D3 Teknik Informatika
LISTING PROGRAM
index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<link rel="stylesheet" type="text/css" href="engine1/style.css" />
<script type="text/javascript" src="engine1/jquery.js"></script>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SMA NEGERI 1 TANJUNGBALAI</title>
<link rel="shortcut icon" href="img/smile.png" title="Smile Bimbel Online"/>
<link href="css/homestyle.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
href="pro_dropdown_2/pro_dropdown_2.css" />
<script src="pro_dropdown_2/stuHover.js" type="text/javascript"></script>
<!--
.style1 {font-family: "Times New Roman", Times, serif} .style4 {
font-family: monospace; color: #849CCD;
font-size: xx-large; }
-->
</style> </head>
<body> <br />
<center>
<div id="main_wrapper"> <div id="header"></div>
<div id="dropdown_menu">
<span class="preload1"></span> <span class="preload2"></span>
<?php include('menu.php')?>
</div>
<!-- End head -->
<div id="sidebar">
<p class="side_title style1">Menu</p> <ul class="side_item style1">
<li><a href="visi.php">Visi & Misi</a></li>
<li><a
href="strukturorganisasi.php">Struktur Organisasi</a></li>
<li><a
href="profil.php">Profil</a></li> <li><a
href="datasekolah.php">Data Identitas Sekolah</a></li> <li><a
href="saranadanprasarana.php">Sarana dan Prasarana</a></li>
<li><a
href="kegiatan.php">Kegiatan Kesiswaan</a></li> <li><a
href="prestasi.php">Prestasi Guru dan Siswa</a></li> <li><a href="bukutamu.php">Buku Tamu</a></li>
</br> </br>
<div> <?php include ('jam.php')?> </div>
<div> <?php include ('kalender.php')?> </div> </ul>
</div>
<!-- End Sidebar -->
<div id="container">
<div id="content_wrapper">
<div id="content_wrapper"><font color="#339900"><h2 align="center"
class="style1"><marquee><span class="style4">SELAMAT DATANG DI WEBSITE SMA NEGERI 1 TANJUNGBALAI</span> </marquee>
<li><img src="data1/images/1.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_0"/></li>
<li><img src="data1/images/2.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_1"/></li>
<li><img src="data1/images/3.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_2"/></li>
<li><img src="data1/images/4.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_3"/></li>
<li><img src="data1/images/5.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_4"/></li>
<li><img src="data1/images/6.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_5"/></li>
<li><img src="data1/images/7.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
<li><img src="data1/images/8.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_7"/></li>
<li><img src="data1/images/9.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_8"/></li>
<li><img src="data1/images/10.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_9"/></li>
<li><img src="data1/images/11.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_10"/></li>
<li><img src="data1/images/12.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_11"/></li>
<li><img src="data1/images/13.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_12"/></li>
<li><a href="http://wowslider.com"><img src="data1/images/14.jpg" alt="angular slider"
title="SMA N 1 TANJUNGBALAI" id="wows1_13"/></a></li> <li><img src="data1/images/15.jpg" alt="SMA N 1 TANJUNGBALAI" title="SMA N 1 TANJUNGBALAI"
id="wows1_14"/></li> </ul></div>
<div class="ws_bullets"><div> <a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/1.jpg" alt="SMA N 1 TANJUNGBALAI"/>1</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/2.jpg" alt="SMA N 1 TANJUNGBALAI"/>2</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/3.jpg" alt="SMA N 1 TANJUNGBALAI"/>3</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/4.jpg" alt="SMA N 1 TANJUNGBALAI"/>4</span></a>
<a href="#" title="SMA N 1
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/6.jpg" alt="SMA N 1 TANJUNGBALAI"/>6</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/7.jpg" alt="SMA N 1 TANJUNGBALAI"/>7</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/8.jpg" alt="SMA N 1 TANJUNGBALAI"/>8</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/9.jpg" alt="SMA N 1 TANJUNGBALAI"/>9</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/10.jpg" alt="SMA N 1 TANJUNGBALAI"/>10</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/11.jpg" alt="SMA N 1 TANJUNGBALAI"/>11</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/12.jpg" alt="SMA N 1 TANJUNGBALAI"/>12</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/13.jpg" alt="SMA N 1 TANJUNGBALAI"/>13</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/14.jpg" alt="SMA N 1 TANJUNGBALAI"/>14</span></a>
<a href="#" title="SMA N 1
TANJUNGBALAI"><span><img src="data1/tooltips/15.jpg" alt="SMA N 1 TANJUNGBALAI"/>15</span></a>
</div></div><div class="ws_script" style="position:absolute;left:-99%"><a
</div>
</div> </div>
<!-- End Main content -->
<!-- Footer -->
<div id="footer">Copyright © 2015 SMA NEGERI 1 TANJUNGBALAI </div>
</div> </center> </body>
</html>
<!-- End Footer -->
pengunjungsiswa.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="img/smile.png" title="Smile Bimbel Online"/>
<link href="css/homestyle.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
href="pro_dropdown_2/pro_dropdown_2.css" />
<script src="pro_dropdown_2/stuHover.js" type="text/javascript"></script>
<style type="text/css"> <!--
.style1 {font-family: "Times New Roman", Times, serif} -->
</style> </head>
<body> <br />
<center>
<div id="main_wrapper"> <div id="header"></div>
<div id="dropdown_menu">
<span class="preload1"></span> <span class="preload2"></span>
href="profil.php">Profil</a></li> <li><a
href="datasekolah.php">Data Identitas Sekolah</a></li> <li><a
<div id="container">
<div id="content_wrapper"><div id="main_title"><center>Data Lengkap Siswa </center></div>
<div id="main_content">
<form name="form1" method="get" action="lihatsiswa.php">
<td><table width="225"><tr>
<td colspan="2" align="center" bgcolor="#669933"><span class=""><font color="#FFFFFF" size="+1">Search
</span></font></td></tr> </td></tr>
<tr><td width="85" bgcolor="#669933"
align="center"><span class="body"><img src="img/search-1.jpg"></span></td>
<td width="105" bgcolor="#669933"><input type="text" name="q" id="q" size="15"
placeholder="Search"/></td></tr>
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Search " />
<input style="font-weight: bold;" input type="reset" class="submit_btn" name="reset" id="reset"
value="Reset"></td> </tr></table></form>
<table><tr>
<td align="left"><font size="+1"><h6><ul><? include 'tabelsiswa.php'?></ul></h6></font></td></tr></table> <br><br><br><br>
</div>
</div>
<!-- End Main content -->
<!-- Footer -->
<div id="footer">Copyright © 2015 SMA NEGERI 1 TANJUNGBALAI </div>
</div> </center> </body>
</html>
<!-- End Footer -->
pengunjungguru.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SMA NEGERI 1 TANJUNGBALAI</title>
<link rel="shortcut icon" href="img/smile.png" title="Smile Bimbel Online"/>
<link href="css/homestyle.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
href="pro_dropdown_2/pro_dropdown_2.css" />
<script src="pro_dropdown_2/stuHover.js" type="text/javascript"></script>
<style type="text/css"> <!--
.style1 {font-family: "Times New Roman", Times, serif} -->
</style> </head>
<body> <br />
<center>
<div id="main_wrapper"> <div id="header"></div>
<div id="dropdown_menu">
<span class="preload2"></span>
<?php include('menu.php')?>
</div>
<!-- End head -->
<!-- Side Bar -->
<div id="sidebar">
<p class="side_title style1 style1">Menu</p>
<ul class="side_item style1"> <li><a href="visi.php">Visi & Misi</a></li>
<li><a
href="strukturorganisasi.php">Struktur Organisasi</a></li>
<li><a
href="profil.php">Profil</a></li> <li><a
href="datasekolah.php">Data Identitas Sekolah</a></li> <li><a
href="saranadanprasarana.php">Sarana dan Prasarana</a></li>
<li><a
href="kegiatan.php">Kegiatan Kesiswaan</a></li> <li><a
href="prestasi.php">Prestasi Guru dan Siswa</a></li> <li><a href="bukutamu.php">Buku Tamu</a></li>
id="main_title"><center>Data Lengkap Guru
</center></div>
<div id="main_content">
<form name="form1" method="get" action="lihatguru.php"> <td><table width="225"><tr>
<td colspan="2" align="center" bgcolor="#669933"><span class=""><font color="#FFFFFF" size="+1">Search
</span></font></td></tr> </td></tr>
<tr><td width="85" bgcolor="#669933"
align="center"><span class="body"><img src="img/search-1.jpg"></span></td>
<td width="105" bgcolor="#669933"><input type="text" name="q" id="q" size="15"
placeholder="Search"/></td></tr>
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Search " />
<input style="font-weight: bold;" input type="reset" class="submit_btn" name="reset" id="reset"
value="Reset"></td> </tr></table></form>
<table><tr>
<br><br><br><br>
</div>
</div> </div>
<!-- End Main content -->
<!-- Footer -->
<div id="footer">Copyright © 2015 SMA NEGERI 1 TANJUNGBALAI </div>
</div> </center> </body>
</html>
<!-- End Footer -->
pengunjungmapel.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SMA N 1 TANJUNGBALAI</title>
<link rel="shortcut icon" href="img/smile.png" title="Smile Bimbel Online"/>
<link href="css/homestyle.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
href="pro_dropdown_2/pro_dropdown_2.css" />
<script src="pro_dropdown_2/stuHover.js" type="text/javascript"></script>
<style type="text/css"> <!--
.style1 {font-family: "Times New Roman", Times, serif} -->
</style> </head>
<body> <br />
<center>
<div id="main_wrapper"> <div id="header"></div>
<div id="dropdown_menu">
<?php include('menu.php')?>
href="profil.php">Profil</a></li> <li><a
href="datasekolah.php">Data Identitas Sekolah</a></li> <li><a
<form name="form1" method="get" action="lihatmapel.php">
<td><table width="225"><tr>
<td colspan="2" align="center" bgcolor="#669933"><span class=""><font color="#FFFFFF" size="+1">Search
</span></font></td></tr> </td></tr>
<tr><td width="85" bgcolor="#669933"
align="center"><span class="body"><img src="img/search-1.jpg"></span></td>
<td width="105" bgcolor="#669933"><input type="text" name="q" id="q" size="15"
placeholder="Search"/></td></tr>
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Search " />
<input style="font-weight: bold;" input type="reset" class="submit_btn" name="reset" id="reset"
value="Reset"></td> </tr></table></form>
<table><tr>
</div>
</div> </div>
<!-- End Main content -->
<!-- Footer -->
<div id="footer">Copyright © 2015 SMA NEGERI 1 TANJUNGBALAI </div>
</div> </center> </body>
</html>
index.php (admin)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin</title>
<link href="style/style.css" rel="stylesheet" type="text/css" />
</head>
<script src="inc/jquery.js" type="text/javascript" language="javascript"></script>
<script language="javascript">
$(document).ready(function() {
$("#login_form").submit(function() {
//remove all the class add the messagebox classes and start fading
$("#msgbox").removeClass().addClass('messagebox'). text('Memeriksa....').fadeIn(1000);
//check the username exists or not from ajax $.post("ajax_login.php",{
user_name:$('#user_name').val(),pass:$('#pass').val(),r and:Math.random() } ,function(data)
if(data=='yes') //if correct login detail {
$("#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
{
//add message and change the class of the box and start fading
$(this).html('Masuk...').addClass('messageboxok').fad eTo(900,1,
function() {
//redirect to secure page document.location='home.php'; });
}); }
else {
$("#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
{
//add message and change the class of the box and start fading
$(this).html('Data anda tidak
tepat!').addClass('messageboxerror').fadeTo(900,1); });
}
});
return false; //not to post the form physically
//now call the ajax also focus move from $("#password").blur(function()
{
$("#login_form").trigger('submit'); });
});
</script>
<style type="text/css"> .messagebox{
position:absolute; width:100px;
margin-left:30px;
border:1px solid #c93; background:#ffc;
padding:3px; }
.messageboxok{
position:absolute; width:auto;
margin-left:30px;
border:1px solid #349534; background:#C9FFCA;
padding:3px;
font-weight:bold; color:#008000;
}
.messageboxerror{
width:auto;
margin-left:30px;
border:1px solid #CC0000; background:#F7CBCA;
padding:3px;
font-weight:bold; color:#CC0000; }
</style>
<body bgcolor="#FFF"> <div id="unverse"> <center>
<div id="wrapper">
<div id="leftBg"></div> <div id="mainBg">
<div id="headLogin"> <center>
<div id="key"></div>
Login Sebagai <br /> Admin </center>
</div>
<div id="contentLogin">
<form id="login_form" name="login_form" action="" method="post">
<table width="341" border="0"> <tr>
<td align="center" width="100">Username</td>
<td align="" width="225"><input name="user_name" type="text" id="user_name"
</tr> <tr> <td align="center">Password</td>
<td><input name="pass" type="password" value="" id="pass" maxlength="50" size="30" /></td>
</tr> <tr>
<td> </td> <td id="notif"
valign="top">silahkan login untuk pengelolaan</td> </tr>
<tr>
<td colspan="2"><span id="msgbox" style="display:none"></span><input
id="submit" name="submit" type="submit" value="Login" /></td>
</tr> </table> </form> </div> </div>
<div id="rightBg"></div> </div>
</center> </div>
home.php (admin)
<?php session_start();
// Developed by Roshan Bhattarai
// Visit http://roshanbh.com.np for this script and more.
// This notice MUST stay intact for legal use
// if session is not set redirect the user $u_name=$_SESSION['u_name'];
if(empty($u_name))
header("Location:redir.php");
//if logout then destroy the session and redirect the user
if(isset($_GET['logout'])) {
session_destroy();
header("Location:index.php"); }
//echo "<a href='secure.php?logout'><b>Logout<b></a>"; //echo "<div align='center'>You Are inside secured Page</a>";
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to admin Page</title>
<link rel="shortcut icon" href="img/smile.png" title="Smile Bimbel Online"/>
<link href="css/homestyle.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
href="pro_dropdown_2/pro_dropdown_2.css" />
<script src="pro_dropdown_2/stuHover.js" type="text/javascript"></script>
</head>
<body> <br />
<center>
<div id="main_wrapper"> <div id="header"></div>
<span class="preload1"></span> <span class="preload2"></span>
<ul id="nav">
<li class="top"><a href="home.php" class="top_link"><span>Home</span></a></li>
<li class="top"><a href="siswa.php" id="products" class="top_link"><span>Siswa</span></a></li>
<li class="top"><a href="guru.php" id="contacts" class="top_link"><span>Guru</span></a></li>
<li class="top"><a href="mapel.php" id="contacts" class="top_link"><span>Mata Pelajaran</span></a></li> <li class="top">
<div align="right">
</div>
<ul class="sub_admin" id="hello_admin">
<li><a href="logout.php">Logout</a></li> </li>
</ul>
</div>
<!-- End head -->
<!-- Side Bar -->
<div id="sidebar">
<p class="side_title">Menu</p> <ul class="side_item">
<li>Hello,<?php echo "
id="main_title"><center>Selamat Datang di Halaman Admin </center></div>
<div id="main_content">
Anda sekarang berada pada halaman Admin<img style="float:right; left:5px; margin-bottom:5px;" src="img/admin.jpg" />, dimana dengan halaman ini anda bisa menambah, mengupdate ,menghapus data siswa, data guru dan data mata pelajaran. Di halaman ini Anda dapat sepenuhnya memegang database pada website ini.</div>
</div> </center> </body>
</html>
<!-- End Footer -->
siswa.php (admin)
<?php session_start();
// Developed by Roshan Bhattarai
// Visit http://roshanbh.com.np for this script and more.
// This notice MUST stay intact for legal use
// if session is not set redirect the user $u_name=$_SESSION['u_name'];
if(empty($u_name))
header("Location:redir.php");
//if logout then destroy the session and redirect the user
session_destroy();
header("Location:index.php"); }
//echo "<a href='secure.php?logout'><b>Logout<b></a>"; //echo "<div align='center'>You Are inside secured Page</a>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to admin Page</title>
<link rel="shortcut icon" href="img/smile.png" title="Smile Bimbel Online"/>
<link href="css/homestyle.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
href="pro_dropdown_2/pro_dropdown_2.css" />
</head>
<body> <br />
<center>
<div id="main_wrapper"> <div id="header"></div>
<div id="dropdown_menu">
<span class="preload1"></span> <span class="preload2"></span>
<ul id="nav">
<li class="top"><a href="home.php" class="top_link"><span>Home</span></a></li>
<li class="top"><a href="siswa.php" id="products" class="top_link"><span>Siswa</span></a>
<li class="top"><a href="guru.php" id="contacts" class="top_link"><span>Guru</span></a>
<li class="top"><a href="mapel.php" id="contacts" class="top_link"><span>Mata Pelajaran</span></a>
<li class="top"></li>
<li class="top">
<ul class="sub_admin" id="hello_admin">
<li><a href="logout.php">Logout</a></li> </ul>
</li> </ul>
</div>
<!-- End head -->
<!-- Side Bar -->
<div id="sidebar">
<p class="side_title">Menu</p> <ul class="side_item">
<a href="home.php?logout"> <li>Hello,<?php echo " ".$_SESSION['u_name']?> [Logout]</li>
</a> </ul> </div>
<!-- End Sidebar -->
<!-- Main Content -->
<div id="container">
<div id="content_wrapper"><div id="main_title"><center>Data Siswa </center></div> <div id="main_content">
<form name="data" method="post" action="tambahsiswa.php">
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Tambah Data Siswa " /></td></tr></form>
<form name="form1" method="get" action="lihatsiswa.php">
<td><table width="225"><tr>
<td colspan="2" align="center" bgcolor="#669933"><span class=""><font color="#FFFFFF" size="+1">Search
</span></font></td></tr> </td></tr>
<tr><td width="85" bgcolor="#669933"
align="center"><span class="body"><img src="img/search-1.jpg"></span></td>
<td width="105" bgcolor="#669933"><input type="text" name="q" id="q" size="15"
placeholder="Search"/></td></tr>
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Search " />
<input style="font-weight: bold;" input type="reset" class="submit_btn" name="reset" id="reset"
value="Reset"></td> </tr></table></form>
<table><tr>
<td align="left"><font size="+1"><h6><ul><? include 'tabelsiswa.php'?></ul></h6></font></td></tr></table> <br><br><br><br>
</div>
</div> </div>
<!-- End Main content -->
<!-- Footer -->
<div id="footer">Copyright © 2015 SMA NEGERI 1 TANJUNGBALAI </div>
</center> </body>
</html>
<!-- End Footer -->
guru.php (admin)
<?php session_start();
// Developed by Roshan Bhattarai
// Visit http://roshanbh.com.np for this script and more.
// This notice MUST stay intact for legal use
$u_name=$_SESSION['u_name']; if(empty($u_name))
header("Location:redir.php");
//if logout then destroy the session and redirect the user
if(isset($_GET['logout'])) {
session_destroy();
header("Location:index.php"); }
//echo "<a href='secure.php?logout'><b>Logout<b></a>"; //echo "<div align='center'>You Are inside secured Page</a>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to admin Page</title>
<link href="css/homestyle.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
href="pro_dropdown_2/pro_dropdown_2.css" />
<script src="pro_dropdown_2/stuHover.js" type="text/javascript"></script>
</head>
<body> <br />
<center>
<div id="main_wrapper"> <div id="header"></div>
<div id="dropdown_menu">
<span class="preload1"></span> <span class="preload2"></span>
<ul id="nav">
<li class="top"><a href="home.php" class="top_link"><span>Home</span></a></li>
<li class="top"><a href="siswa.php" id="products" class="top_link"><span>Siswa</span></a>
<li class="top"><a href="guru.php" id="contacts" class="top_link"><span>Guru</span></a>
<li class="top"><a href="mapel.php" id="contacts" class="top_link"><span>Mata Pelajaran</span></a>
<li class="top"></li>
<ul class="sub_admin" id="hello_admin">
<li><a href="logout.php">Logout</a></li> </ul>
</li> </ul>
</div>
<!-- End head -->
<!-- Side Bar -->
<div id="sidebar">
<p class="side_title">Menu</p> <ul class="side_item">
<a href="home.php?logout"> <li>Hello,<?php echo " ".$_SESSION['u_name']?> [Logout]</li>
</a> </ul> </div>
<!-- End Sidebar -->
<!-- Main Content -->
<div id="container">
<form name="data" method="post" action="tambahguru.php">
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Tambah Data Guru " /></td></tr></form>
<br>
<form name="form1" method="get" action="lihatguru.php"> <td><table width="225"><tr>
<td colspan="2" align="center" bgcolor="#669933"><span class=""><font color="#FFFFFF" size="+1">Search
</span></font></td></tr> </td></tr>
<tr><td width="85" bgcolor="#669933"
align="center"><span class="body"><img src="img/search-1.jpg"></span></td>
<td width="105" bgcolor="#669933"><input type="text" name="q" id="q" size="15"
placeholder="Search"/></td></tr>
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Search " />
<input style="font-weight: bold;" input type="reset" class="submit_btn" name="reset" id="reset"
value="Reset"></td> </tr></table></form>
<table><tr>
<td align="left"><font size="+1"><h6><ul><? include 'tabelguru.php'?></ul></h6></font></td></tr></table> <br><br><br><br>
</div> </div>
<!-- End Main content -->
<!-- Footer -->
<div id="footer">Copyright © 2015 SMA NEGERI 1 TANJUNGBALAI </div>
</center> </body>
</html>
<!-- End Footer -->
mapel.php (admin)
<?php session_start();
// Developed by Roshan Bhattarai
// Visit http://roshanbh.com.np for this script and more.
// This notice MUST stay intact for legal use
// if session is not set redirect the user $u_name=$_SESSION['u_name'];
if(empty($u_name))
header("Location:redir.php");
//if logout then destroy the session and redirect the user
session_destroy();
header("Location:index.php"); }
//echo "<a href='secure.php?logout'><b>Logout<b></a>"; //echo "<div align='center'>You Are inside secured Page</a>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Welcome to admin Page</title>
<link rel="shortcut icon" href="img/smile.png" title="Smile Bimbel Online"/>
<link href="css/homestyle.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
href="pro_dropdown_2/pro_dropdown_2.css" />
</head>
<body> <br />
<center>
<div id="main_wrapper"> <div id="header"></div>
<div id="dropdown_menu">
<span class="preload1"></span> <span class="preload2"></span>
<ul id="nav">
<li class="top"><a href="home.php" class="top_link"><span>Home</span></a></li>
<li class="top"><a href="siswa.php" id="products" class="top_link"><span>Siswa</span></a>
<li class="top"><a href="guru.php" id="contacts" class="top_link"><span>Guru</span></a>
<li class="top"><a href="mapel.php" id="contacts" class="top_link"><span>Mata Pelajaran</span></a>
<li class="top"></li> <li class="top">
<ul class="sub_admin" id="hello_admin">
<li><a href="logout.php">Logout</a></li> </ul>
</li> </ul>
<!-- End head -->
<!-- Side Bar -->
<div id="sidebar">
<p class="side_title">Menu</p> <ul class="side_item">
<a href="home.php?logout"> <li>Hello,<?php echo " ".$_SESSION['u_name']?> [Logout]</li>
</a> </ul> </div>
<!-- End Sidebar -->
<!-- Main Content -->
<div id="container">
<div id="content_wrapper"><div id="main_title"><center>Data Mata Pelajaran </center></div>
<div id="main_content">
<form name="data" method="post" action="tambahmapel.php">
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Tambah Mata Pelajaran " /></td></tr></form>
<form name="form1" method="get" action="lihatmapel.php">
<td><table width="225"><tr>
<td colspan="2" align="center" bgcolor="#669933"><span class=""><font color="#FFFFFF" size="+1">Search
</span></font></td></tr> </td></tr>
<tr><td width="85" bgcolor="#669933"
align="center"><span class="body"><img src="img/search-1.jpg"></span></td>
<td width="105" bgcolor="#669933"><input type="text" name="q" id="q" size="15"
placeholder="Search"/></td></tr>
<tr><td colspan="2" align="center" bgcolor="#669933"> <input style="font-weight: bold;" input type="submit" class="submit_btn" name="submit" id="submit" value=" Search " />
<input style="font-weight: bold;" input type="reset" class="submit_btn" name="reset" id="reset"
value="Reset"></td> </tr></table></form>
<table><tr>
<td align="left"><font size="+1"><h6><ul><? include 'tabelmapel.php'?></ul></h6></font></td></tr></table> <br><br><br><br>
</div>
</div> </div>
<!-- End Main content -->
<div id="footer">Copyright © 2015 SMA NEGERI 1 TANJUNGBALAI </div>
</center> </body>
</html>