-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.php
57 lines (39 loc) · 963 Bytes
/
home.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
<?php
session_start();
if(!isset($_SESSION['examineeSession']['examineenakalogin']) == true) header("location:index.php");
?>
<?php include("conn.php"); ?>
<!-- MAO NI ANG HEADER -->
<?php include("includes/header.php"); ?>
<!-- UI THEME DIRI -->
<?php include("includes/ui-theme.php"); ?>
<div class="app-main">
<!-- sidebar diri -->
<?php include("includes/sidebar.php"); ?>
<!-- Condition If unza nga page gi click -->
<?php
@$page = $_GET['page'];
if($page != '')
{
if($page == "exam")
{
include("pages/exam.php");
}
else if($page == "result")
{
include("pages/result.php");
}
else if($page == "myscores")
{
include("pages/myscores.php");
}
}
// Else ang home nga page mo display
else
{
include("pages/home.php");
}
?>
<!-- MAO NI IYA FOOTER -->
<?php include("includes/footer.php"); ?>
<?php include("includes/modals.php"); ?>