-
Notifications
You must be signed in to change notification settings - Fork 0
/
adm.php
68 lines (65 loc) · 2.02 KB
/
adm.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
session_start();
if(isset($_SESSION['name']) && !empty($_SESSION['name'])) {
}
else{
header("location: http://localhost:8080/ITA_PRO/home.php");
}
?>
<html>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<style>
body, html {
height: 100%;
margin: 0;
color: white;
}
.bg {
background-image: url("covid.jpg");
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
.blink {
animation: blink-animation 0.5s steps(5, start) infinite;
-webkit-animation: blink-animation 0.5s steps(5, start) infinite;
}
@keyframes blink-animation {
to {
visibility: hidden;
}
}
@-webkit-keyframes blink-animation {
to {
visibility: hidden;
}
}
</style>
<body class="bg" >
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" >COVID-19</a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="adm.php">Home</a></li>
<li><a href="patient.php">patient search</a></li>
<li><a href="admcase.php">total cases</a></li>
<li><a href="admpat.php">patient list</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="logout.php"><span class="glyphicon glyphicon-log-in"></span> Logout</font></a></li>
</ul>
</div>
</nav>
<br><BR><BR><BR><blink>
<marquee scrollamount=30> <h1 class="blink">Hello, Doctor <?php
$name=$_SESSION['name'];
echo "$name";
?></h1> </marquee>
</body>
</html>