-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
47 lines (45 loc) · 1.35 KB
/
home.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
44
45
46
47
<?php
include('services/user/session.php');
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Simple Website Design HTML CSS | CodingNepal</title>
<link rel="stylesheet" href="./style.css" />
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
</head>
<body>
<nav>
<div class="menu">
<div class="logo">
<a href="/home.php">Civil Registry</a>
</div>
<ul>
<label style="color: aliceblue;">
<?php
if($_SESSION['admin']==1){
echo $_SESSION['name']."(Admin)";
}
else
{
echo $_SESSION['name'];
}
?>
</label>
<li><a href="services/user/logout.php">Logout</a></li>
</ul>
</div>
</nav>
<div class="img"></div>
<div class="center">
<div class="title">Services</div>
<div class="btns">
<button>Marriage Registration</button>
<a href="birth_registration.php" style="text-decoration:none;"><button>Birth Registration</button></a>
<a href="death_registration.php" style="text-decoration:none;"><button>Death Registration</button></a>
</div>
</div>
</body>
</html>