-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·28 lines (28 loc) · 1.13 KB
/
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
<DOCTYPE html>
<?php
session_start();
include "controller/function.php";
if(ceklogin()){
redirect('login.php');
}
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="framework/themes/gray/easyui.css" >
<link rel="stylesheet" type="text/css" href="framework/themes/icon.css" >
<link rel="stylesheet" type="text/css" href="framework/demo/demo.css" >
<link rel="stylesheet" type="text/css" href="css/sipkom.css" >
<script type="text/javascript" src="framework/jquery.min.js"></script>
<script type="text/javascript" src="framework/jquery.easyui.min.js"></script>
</head>
<body>
<div id="windowApp" class="easyui-window" title="  SISTEM INFORMASI PENGHITUNGAN KOMISI SALES PT LUXINDO RAYA - User_Logged_As [ <?php echo $_SESSION['nama'];?> ] [ <?php echo $_SESSION['jabatan'];?> ]" data-options="iconCls:'icon-large-chart',maximized:true" style="width:100%;height:100%;padding:10px;">
</div>
<script type="text/javascript">
var level = <?php echo $_SESSION['level'] ?>;
$(document).ready(function(){
$('#windowApp').window('refresh','view/home.php');
});
</script>
</body>
</html>