| |
| <?php session_start(); ?> |
| <!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"> |
| |
| <link href="styleutama.css" rel="stylesheet" type="text/css" /> |
| <link href="stylemenu.css" rel="stylesheet" type="text/css" /> |
| <style type="text/css"> |
| <!-- |
| body,td,th { |
| font-size: 13px; |
| } |
| |
| --> |
| </style> |
| <head> |
| <link rel="shortcut icon" href="favicon.gif" /> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| <title>Selamat Datang di Halaman Administrator</title> |
| </head> |
| <body> |
| <div id="header"> |
| <div id="menu"> |
| <ul> |
| <li><a href=utama.php>& |
| <?php include "menu.php";?> |
| <li><a href="modul/metu.php">& |
| </ul> |
| <p> </p> |
| </div> |
| <div id="content"> |
| <p> |
| <?php |
| |
| if (empty($_SESSION[jenengadmin]) && empty($_SESSION[passadmin])){ |
| echo "<center><b>MA'AF</b><br> |
| Untuk Mengakses Halaman Ini Anda Harus Login!!</br> |
| <b>Silahkan Login Terlebih Dahulu</b></center>"; |
| echo "<meta http-equiv=refresh content=3;url=index.php>"; |
| }else{ |
| if(isset($_GET[pg])) $page=$_GET[pg]; |
| else $page='beranda'; |
| include('page/'.$page.'.php'); |
| } |
| ?> |
| </p> |
| |
| <p> </p> |
| <p> </p> |
| <p> </p> |
| <p> </p> |
| </div> |
| <div id="footer">Copyright © 2011 By Burhanuddin Sae Community</div> |
| </div> |
| <br /> |
| </body> |
| </html> |