-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.php
69 lines (67 loc) · 1.9 KB
/
dashboard.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
<html>
<head>
<title>
GYAAN
</title>
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<?php
if(!isset($_COOKIE['username']))
{
header('Location: index.php');
}
if(isset($_POST["logout"]))
{
setcookie("username",'', time() + (86400 * 30), "/");
header("Location: index.php");
}
?>
<form method="POST" action="">
<div class="right"><button class="btn waves-effect waves-light" type="logout" name="logout">Logout
<i class="material-icons right"></i></div>
</form>
<div class="row">
<div class="col s2">
<!--list-->
<a href="#">1. a</a><br>
<a href="#">2. a</a><br>
<a href="#">3. a</a><br>
<a href="#">4. a</a><br>
<a href="#">5. a</a><br>
<a href="#">6. a</a><br>
<a href="#">7. a</a><br>
<a href="#">8. a</a><br>
<a href="#">9. a</a><br>
<a href="#">10. a</a><br>
<a href="#">1. a</a><br>
<a href="#">1. a</a><br>
<a href="#">1. a</a><br>
<a href="#">1. a</a><br>
<a href="#">1. a</a><br>
</div>
<div class="col s8">
<div>
<!--data of user-->
</div>
<div>
<!--contents-->
</div>
</div>
<div class="col s2">
<!--progress bar-->
</div>
</div>
<footer>
</footer>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="js/materialize.js"></script>
<script src="js/init.js"></script>
</body>
</html>