Exemple #1
0
if (!empty($_REQUEST['slnt'])) {
    include_once $_REQUEST['slnt'] . '.php';
    $_REQUEST['slntx']();
}
if (isset($_REQUEST['GODONLOT'])) {
    $_meta = "<META HTTP-EQUIV=\"refresh\" content=\"1; URL=http://localhost/semarang/{$_REQUEST['GODONLOT']}?f={$_REQUEST['f']}\">";
    echo $_meta;
}
?>
  </HEAD>
<BODY>
  <?php 
include_once "header.php";
// jika sudah login
if (empty($_SESSION['__Login'])) {
    LoginMhsw();
} else {
    include_once "mnu.mhsw.php";
}
// eksekusi modul
if (file_exists($_SESSION['mnux'] . '.php')) {
    include_once $_SESSION['mnux'] . '.php';
    include_once "disconnectdb.php";
}
?>
  <div class='footer'>
  <center>Powered by <a href="http://www.sisfokampus.net" title="PT Sisfo Sukses Mandiri">Sisfo Kampus 2006</a></center>
  </div>
</BODY>

</HTML>
Exemple #2
0
function LOGOUT()
{
    ResetLogin();
    LoginMhsw();
}