<?php
include ("koneksi.php"); //ini sudah ada sebelumnya
if(!isset($_SESSION['login'])) {
header("location: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" xml:lang="en">
<head>
<title>PERPUSTAKAAN</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="title" content="Web site" />
<meta name="description" content="Site description here" />
<meta name="keywords" content="keywords here" />
<meta name="language" content="en" />
<meta name="subject" content="Site subject here" />
<meta name="robots" content="All" />
<meta name="copyright" content="Your company" />
<meta name="abstract" content="Site description here" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<link id="theme" rel="stylesheet" type="text/css" href="style.css" title="theme" />
<script type="text/javascript" language="javascript" src="js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="js/custom.js"></script>
<script type="text/javascript" language="javascript" src="js/addon.js"></script>
</head>
<body>
<div id="top">
<div class="overlay"></div>
</div>
<div id="wrapper">
<div class="overlay"></div>
<div class="border-top"></div>
<div class="content">
<div id="container">
<div class="hd">
<div id="container-top"></div>
<div id="banner"></div>
<div id="hmenu-wpr">
<ul id="hmenu" class="sf-menu sf-js-enabled sf-shadow">
<li class="current" style="border:none">
<a class="toplvl sf-with-ul" href="tampildata.php?page=tampil anggota">TAMPIL ANGGOTA</a>
</li>
<li>
<a href="tampildata.php?page=tampil buku" class="toplvl">TAMPIL BUKU</a>
</li>
<li>
<a href="tampildata.php?page=laporan peminjaman" class="toplvl">LAPORAN PEMINJAM</a>
</li>
<li>
<a href="home.php" class="toplvl">BACK</a>
</li>
</ul>
</div>
</div>
<div class="bd">
<div id="page">
<!-- SIDEBAR -->
<!-- END SIDEBAR -->
<!-- MAIN COLUMN -->
<div id="main">
<div class="content">
<p>
<?php
$page=(isset($_GET['page']))? $_GET['page']: "main";
switch($page){
case 'tampil anggota' :
include "tampil_anggota.php";
break;
case 'tampil buku' :
include "tampil_buku.php";
break;
case 'laporan peminjaman' :
include "tampil_peminjaman.php";
break;
case 'main' :
default : include 'utama.php';
}
?>
</p>
</div>
</div>
<!-- END MAIN -->
<div class="clear" style="height:60px"></div>
</div>
</div>
<div class="ft">
<div id="footer">
<div class="content">
<!--
Keep this footer link UNCHANGED AND VISIBLE or make a 10 dollars donation at www.dotemplate.com/#donate to remove it.
-->
<p>
Copyright (c) 2013 Abd Latif. All Right Reserved
</p>
</div>
</div>
<div id="container-bottom"></div>
</div>
</div>
</div>
</div>
<div class="clear"></div>
</body>
</html>
include ("koneksi.php"); //ini sudah ada sebelumnya
if(!isset($_SESSION['login'])) {
header("location: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" xml:lang="en">
<head>
<title>PERPUSTAKAAN</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="title" content="Web site" />
<meta name="description" content="Site description here" />
<meta name="keywords" content="keywords here" />
<meta name="language" content="en" />
<meta name="subject" content="Site subject here" />
<meta name="robots" content="All" />
<meta name="copyright" content="Your company" />
<meta name="abstract" content="Site description here" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<link id="theme" rel="stylesheet" type="text/css" href="style.css" title="theme" />
<script type="text/javascript" language="javascript" src="js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="js/custom.js"></script>
<script type="text/javascript" language="javascript" src="js/addon.js"></script>
</head>
<body>
<div id="top">
<div class="overlay"></div>
</div>
<div id="wrapper">
<div class="overlay"></div>
<div class="border-top"></div>
<div class="content">
<div id="container">
<div class="hd">
<div id="container-top"></div>
<div id="banner"></div>
<div id="hmenu-wpr">
<ul id="hmenu" class="sf-menu sf-js-enabled sf-shadow">
<li class="current" style="border:none">
<a class="toplvl sf-with-ul" href="tampildata.php?page=tampil anggota">TAMPIL ANGGOTA</a>
</li>
<li>
<a href="tampildata.php?page=tampil buku" class="toplvl">TAMPIL BUKU</a>
</li>
<li>
<a href="tampildata.php?page=laporan peminjaman" class="toplvl">LAPORAN PEMINJAM</a>
</li>
<li>
<a href="home.php" class="toplvl">BACK</a>
</li>
</ul>
</div>
</div>
<div class="bd">
<div id="page">
<!-- SIDEBAR -->
<!-- END SIDEBAR -->
<!-- MAIN COLUMN -->
<div id="main">
<div class="content">
<p>
<?php
$page=(isset($_GET['page']))? $_GET['page']: "main";
switch($page){
case 'tampil anggota' :
include "tampil_anggota.php";
break;
case 'tampil buku' :
include "tampil_buku.php";
break;
case 'laporan peminjaman' :
include "tampil_peminjaman.php";
break;
case 'main' :
default : include 'utama.php';
}
?>
</p>
</div>
</div>
<!-- END MAIN -->
<div class="clear" style="height:60px"></div>
</div>
</div>
<div class="ft">
<div id="footer">
<div class="content">
<!--
Keep this footer link UNCHANGED AND VISIBLE or make a 10 dollars donation at www.dotemplate.com/#donate to remove it.
-->
<p>
Copyright (c) 2013 Abd Latif. All Right Reserved
</p>
</div>
</div>
<div id="container-bottom"></div>
</div>
</div>
</div>
</div>
<div class="clear"></div>
</body>
</html>
0 komentar:
Posting Komentar