-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
36 lines (34 loc) · 900 Bytes
/
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
<?php
require "db_connect.php";
require "h3.php";
session_start();
if(empty($_SESSION['type']));
else if(strcmp($_SESSION['type'], "librarian") == 0)
header("Location: librarian/home.php");
else if(strcmp($_SESSION['type'], "member") == 0)
header("Location: member/home.php");
?>
<html>
<head>
<title>LMS</title>
<link rel="stylesheet" type="text/css" href="css/index_style.css" />
</head>
<body>
<div id="allTheThings">
<div id="member">
<a href="member">
<img src="img/MEMBERLOG.png" width="250px" height="auto"/><br />
Member Login
</a>
</div>
<div id="verticalLine">
<div id="librarian">
<a id="librarian-link" href="librarian">
<img src="img/LIBRARIAN.png" width="250px" height="auto" /><br />
Librarian Login
</a>
</div>
</div>
</div>
</body>
</html>