-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.php
30 lines (29 loc) · 894 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
//Membatasi Akses Pengelola (Ini Muncul Jika Telah Login)
session_start();
if (!empty($_SESSION['username']) and !empty($_SESSION['password']))
{
?>
<head>
<link href="desain.css" rel="stylesheet" type="text/css">
<link href="ikon/logo.png" rel="shortcut icon" type="image/x-icon">
<title>APLIKASI KREDIT ANGGOTA</title></head>
<body>
<div id="atas">
<div id="header"></div>
<div id="basemenu"><?php include"menu.php"; ?></div>
</div>
<div id="bawah">
<div id="kiri" onClick="sembunyi('pengguna');sembunyi('data');sembunyi('perpustakaan')"><?php include'halaman.php'; ?></div>
<div id="kanan"><?php include'statistik.php';?></div>
<div id="clear"></div>
<div id="footer"><?php include'footer.php'; ?></div>
</div>
</body>
<?php
} else {
//ini muncul jika belum login
echo"<link href=desain.css type=text/css rel=stylesheet>";
include'akses_modul.php';
}
?>