/
index.php
96 lines (82 loc) · 3.08 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php
if(!empty($_REQUEST['act'])){
$act = $_REQUEST['act'];
}else
{
$act = 'home';
}
session_start();
//$_SESSION['usersessid'] = 'admin';
include('config/conn.php');
if(!empty($act)){
include_once('function/sqlfunction.php');
}
require_once('function/tmplfunction.php');
require_once('function/mainfunction.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>WOM Finance | Psikotest Online</title>
<link href="css/custom2.css" rel="stylesheet" type="text/css">
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="css/jquery.dataTables.min.css" rel="stylesheet" type="text/css">
<link href="fonts/css/font-awesome.min.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.timer.js"></script>
<script type="text/javascript" src="js/jquery.msgbox.js"></script>
<script type="text/javascript" src="js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="js/jquery.scrollTo-2.1.2/jquery.scrollTo.js"></script>
<script type="text/javascript" src="js/jquery.scrollTo-2.1.2/jquery.scrollTo.min.js"></script>
<!--<script type="text/javascript" src="js/dataTables.tableTools.js"></script>-->
<script type="text/javascript" src="js/jquery.dataTables.columnFilter.js"></script>
<link href="css/tooltipster.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.tooltipster.min.js"></script>
<script>
function maxLengthCheck(object) {
if (object.value.length > object.maxLength)
object.value = object.value.slice(0, object.maxLength)
}
</script>
<?php if($act=='papi' || $act=='wpt'){?>
<script type="text/javascript" src="js/prototype.js"></script>
<?php } ?>
<?php if($act=='chartjs'){?>
<link href="css/custom.css" rel="stylesheet">
<script src="js/custom.js"></script>
<?php } ?>
<?php if($act=='chartjs' || $act=='papi'){?>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<!-- Custom styling plus plugins -->
<link href="css/icheck/flat/green.css" rel="stylesheet">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- chart js -->
<script src="js/chartjs/chart.min.js"></script>
<!-- bootstrap progress js -->
<script src="js/progressbar/bootstrap-progressbar.min.js"></script>
<script src="js/nicescroll/jquery.nicescroll.min.js"></script>
<!-- icheck -->
<script src="js/icheck/icheck.min.js"></script>
<?php } ?>
</head>
<body>
<?php if($act == 'home'){ ?>
<div id="main">
<?php } ?>
<div id="hheaderCont">
<div id="hheader">
<div class="headerLogo" >
<a href="?"><img src="images/logo-WOM.png" width="235" height="45"></a>
</div>
</div></div>
<div id="content">
<?php showpage('',$act);?>
</div>
<?php if($act == 'home'){ ?>
</div>
<?php } ?>
</body>
</html>