forked from indowebit/Ext-PHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
77 lines (71 loc) · 2.59 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
session_start();
$userid = isset($_SESSION['userid'])?$_SESSION['userid']:0;
$username= isset($_SESSION['user_name'])?$_SESSION['user_name']:"";
include_once 'config_sistem.php';
include_once 'config_ux.php';
?>
<html>
<head>
<title><?php echo SITE_TITLE; ?></title>
<link rel="icon" href="images/icon/imac_web.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css">
<!-- <link rel="stylesheet" type="text/css" href="extjs/resources/css/xtheme-gray.css"> -->
<!-- custom includes -->
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" type="text/css" href="add-on/message/examples.css">
<?php foreach ($ux_css as $css) {?>
<link rel="stylesheet" type="text/css" href="extjs/ux/<?php echo $css;?>">
<?php } ?>
</head>
<body scroll="no">
<div id="loading">
<img src="images/indicator.gif" width="32" height="32">
</div>
<script type="text/javascript" src="extjs/adapter/ext/ext-base.js"></script>
<script type="text/javascript">Ext.BLANK_IMAGE_URL = "extjs/resources/images/default/s.gif"</script>
<script type="text/javascript" src="extjs/ext-all.js"></script>
<?php foreach ($ux_js as $js) {?>
<script type="text/javascript" src="extjs/ux/<?php echo $js;?>"></script>
<?php } ?>
<script type="text/javascript">
var userid = <?php echo $userid; ?>;
var username = '<?php echo ucfirst($username); ?>';
</script>
<div id="header"><h1><?php echo SITE_TITLE; ?></h1></div>
<div style="display:none;">
<!-- Start page content -->
<div id="start-div">
<?php include_once 'start.php'; ?>
</div>
<!-- Menu Master Details -->
<ul id="control-view" class="x-hidden">
<li>
<img src="images/s.gif" class="chk-pwd"/>
<a id="user-profile" href="#">User Profile</a>
</li>
<li>
<img src="images/s.gif" class="user-comment"/>
<a id="user-manager" href="#">User Manager</a>
</li>
<li>
<img src="images/s.gif" class="app"/>
<a id="menu-manager" href="#">Menu Event Manager</a>
</li>
<!--
<li>
<img src="images/s.gif" class="db-refresh"/>
<a id="db-backup" href="#">Database Manager</a>
</li>
-->
<li>
<img src="images/s.gif" class="logout"/>
<a id="logout" href="#">Logout</a>
</li>
</ul>
</div>
<script type="text/javascript" src="js/formLogin.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="add-on/message/examples.js"></script>
</body>
</html>