-
Notifications
You must be signed in to change notification settings - Fork 0
/
browse.php
43 lines (33 loc) · 932 Bytes
/
browse.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
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<?php
include('conn.php');
if(!isset($_SESSION))
{
session_start();
}
if (!isset($_SESSION['userID']))
{
echo '<script type="text/javascript"> alert(\'You must be logged to view this page\'); </script>';
echo '<script type="text/javascript">location.href = \'login.php\';</script>';
}
?>
<?php include 'header.html'; ?>
<div id="main_top"></div>
<div id="main_wrapper">
<div id="main">
<?php include 'output.php'; ?>
</div><!-- end of main -->
</div><!-- end of main wrapper -->
<div id="footer">
<div class="center copyright">
<p>Designed by <a>Darren Britton</a></p>
</div>
<div class="cleaner"></div>
</div><!-- end of footer -->
</body>
</html>