-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
79 lines (50 loc) · 1.19 KB
/
index.php
File metadata and controls
79 lines (50 loc) · 1.19 KB
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
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="css/style3.css" />
<link rel="icon" href="images/logo.png" />
<title>Let's (L)EARN</title>
</head>
<body>
<div>
<div class="top" >
<img src="images/logo.png" />
<div>
<?php
session_start();
if(isset($_SESSION["email"]))
{
echo "<a href='logout.php'>LOGOUT</a>";
echo " ";
echo "<a href='cart.php'>POINTS</a>";
}
else
{
echo '<a href="register.php">REGISTER</a>';
echo "|";
echo '<a href="login.php">LOGIN</a>';
}
?>
</div>
<div class="name">
<h1>
Let's (L)EARN!!
</h1>
<center>
<div class="btn" >
<a id="begin-btn" href="page1.html">
Let's Begin!!
</a>
</div>
</center>
</div>
</div>
<!--<div class="banner">
<img src="images/banner.jpg" />
</div>-->
<div class="bottom">
© Copyright 2018-19
</div>
</div>
</body>
</html>