[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
akuntansi-online
/
[
Home
]
File: home.php
<?php session_start(); //untuk enkripsi //include "./encryption/function.php"; //untuk waktu $tanggal=date("d/m/Y"); //untuk koneksi database include "./include/conn.php"; $koneksi=open_connection(); if (isset($_SESSION['id_admin'])) { $id_admin=$_SESSION['id_admin']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>E-Accounting :: Home</title> <link href="style.css" rel="stylesheet" type="text/css" media="screen" /> <script language="javascript" src="./include/jam.js"></script> </head> <body> <div id="wrapper"> <div id="header"> <div id="logo"> <h1><a href="#">E-Accounting</a></h1> <p>Website accounting online </p> </div> <div> <?php include "menu.php";?> </div> </div> <!-- end #header --> <div id="page"> <div id="page-bgtop"> <div id="page-bgbtm"> <div id="content"> <?php //untuk mendecode url yang di enrypsi //$var=decode($_SERVER['REQUEST_URI']); //pecahkan nilai array if(isset($_GET['page'])){ $page=$_GET['page']; //concate dengan nama file $halaman="$page.php"; if(!file_exists($halaman) || empty($page)){ include "welcome.php"; }else{ include "$halaman"; } }else{ include "welcome.php"; } ?> <div style="clear: both;"> </div> </div> <!-- end #content --> <!-- end #sidebar --> <div style="clear: both;"> </div> </div> </div> </div> <!-- end #page --> </div> <div id="footer"> <p>Copyright © <a href="http://ri32.wordpress.com">Agus Sumarna -- http://ri32.wordpress.com</a> All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p> </div> <!-- end #footer --> </body> </html> <?php }else{ ?><script language="javascript">document.location.href="index.php?<?php echo paramEncrypt('status=forbidden')?>"</script><?php } ?>