forked from parasj/adaptive-learning-api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathportal.php
45 lines (42 loc) · 1.56 KB
/
portal.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
<?php
include "lib/mysql.php";
include "lib/user.php";
if(!(isset($_COOKIE['uid']))) {
header('Location: login.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" href="jm/images/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="jm/images/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="114x114" href="jm/images/apple-touch-icon-114x114.png" />
<title>Radioactive - Portal</title>
<link rel="stylesheet" href="jm/valencia.css" />
<link rel="stylesheet" href="css/style.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.js"></script>
</head>
<body>
<div data-role="page" id="home" data-theme="a">
<div data-role="header" data-position="fixed">
<h1>Portal</h1>
<a href="login.php?logout" data-icon="delete" class="ui-btn-right">Logout</a>
</div>
<div data-role="content">
<p>
<center>Hello <?=getfname($_COOKIE['uid']);?></center>
<a href="stats.php" data-role="button">Statistics</a>
<a href="test.php" data-role="button">Testing Center</a>
</p>
</div>
<div data-role="footer">
<h4>Radioactive</h4>
</div>
</div>
</body>
</html>