-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecent.php
40 lines (33 loc) · 1.06 KB
/
recent.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="style/style.css" media="screen" />
<title>Recent</title>
</head>
<body>
<div id="wrapper">
<?php include('includes/header.php'); ?>
<?php
session_start();
if (isset($_SESSION['username'])) {
include('includes/nav2.php');
echo "<div class='info'>";
echo "You are logged in as: ".$_SESSION['username'];
echo "<p>";
echo "<a href='logout.php'>Click here to lgout</a>";
echo "</div>";
} else {
include('includes/nav.php');
echo "please log in.";
}
?>
<div id="content">
<?php include('includes/footer.php'); ?>
</div> <!-- end #content -->
</div> <!-- End #wrapper -->
</body>
</html>