-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClient.php
39 lines (35 loc) · 1.11 KB
/
Client.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ClientPage</title>
<link rel="stylesheet" href="client.css">
<?php include('./db_connect.php'); ?>
<?php
session_start();
if(isset($_SESSION['name']));
/*header("location:index.php?page=home");*/
?>
</head>
<body>
<div class="full-page">
<div class="navbar">
<div>
<a href=''>
<?php echo "Welcome back ".($_SESSION['role'] == 2 ? " ".$_SESSION['username'] : $_SESSION['username'])."!" ?>
</a>
</div>
<nav>
<ul id='MenuItems'>
<li><a href='Client.php'>Home</a></li>
<li><a href='mydetails.php'>My Details</a></li>
<li><a href='loanapplication.php'>Apply For Loan</a></li>
<li><a href="Homepage.php"><button type='button' class='toggle-btn'>Logout</button></a></li>
</ul>
</nav>
</div>
</div>
</body>
</body>
</html>