-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
38 lines (24 loc) · 680 Bytes
/
index.php
File metadata and controls
38 lines (24 loc) · 680 Bytes
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
<?php
session_start();
include('header.php');
include_once("db_connect.php");
if (empty($_SESSION['user_id'])){
header("Location: login.php");
}
?>
<?php if ((isset($_SESSION['user_id']) )) { ?>
<head>
<link rel="stylesheet" href="css/style.css">
</head>
<table width=600px style="margin-left:auto;margin-right:auto;">
<th colspan=2><img src="img/menu.png" /></th>
<tr>
<td><a href="viewlibrary.php"><img src="img/lib1.png" /></a></td>
<td><a href="managemedia.php"><img src="img/mm.png" /></a></td>
</tr>
</table>
<br /><br />
<p align="center">
Click <a href="logout.php">here</a> to logout
</p>
<?php } ?>