-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
69 lines (43 loc) · 1.99 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
<?php
include("auth.php"); //include auth.php file on all secure pages ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="w3.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome Home</title>
</head>
<body >
<div class="w3-sidebar w3-bar-block w3-card w3-animate-left" style="display:none" id="mySidebar">
<button onclick="w3_close()" class="w3-bar-item w3-button w3-large">Close ×</button>
<a class="w3-bar-item w3-button" href="index.php">HOME</a>
<a class="w3-bar-item w3-button" href="dashboard.php">DASHBOARD</a>
<a class="w3-bar-item w3-button" href="logout.php">LOGOUT</a>
</div>
<div class="w3-container w3-animate-right" id="main">
<?php include 'header.php';?>
<div class="w3-container" >
<center><p><h1 class="w3-center w3-animate-right">Welcome <?php echo $_SESSION['username']; ?>!</h1></p></center>
<center><img class="w3-center w3-animate-right" src="2.jpg" ></img></center>
<br\><br\><br\><br\><br\><br\><br\><br\>
<center><img style="margin-top:150px;"src="down.gif"></img>
<h3 style="color:#ff0066;"><span class="blink_text"><a href="dashboard.php">DASHBOARD</a><span></h3></center>
<br /><br /><br /><br />
<?php include 'footer.php';?>
<script>
function w3_open() {
document.getElementById("main").style.marginLeft = "25%";
document.getElementById("mySidebar").style.width = "25%";
document.getElementById("mySidebar").style.display = "block";
document.getElementById("openNav").style.display = 'none';
}
function w3_close() {
document.getElementById("main").style.marginLeft = "0%";
document.getElementById("mySidebar").style.display = "none";
document.getElementById("openNav").style.display = "inline-block";
}
</script>
</div>
</body>
</html>