-
Notifications
You must be signed in to change notification settings - Fork 0
/
beforetime.php
135 lines (121 loc) · 2.56 KB
/
beforetime.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Thank you!!</title>
<!-- <link rel="stylesheet" href="thankyou_page.css"> -->
</head>
<style>
.c1 {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-size: cover;
text-align: center;
text-decoration: underline;
background-color: rgb(243, 232, 232);
}
h2 {
font-weight: bold;
opacity: 1;
animation: fin 2.5s ;
font-family:'Courier New', Courier, monospace ;
font-size: 25px;
}
@keyframes fin {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
li {
margin-bottom: 10px;
line-height: 1.8;
margin-left: 20px;
}
body{
background-color:
}
header {
background-color:blanchedalmond;
color: white;
padding: 20px 0;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
}
.home {
background-color: rgb(255, 255, 255);
padding: 20px 10px;
}
.home:hover,
nav ul li a:hover {
background-color: rgb(233, 229, 156);
color: rgb(0, 0, 0);
transition: 0.5s;
padding: 20px 10px;
}
.logo {
height: 50px;
width: 50px;
}
.container {
width: 80%;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin-left: 20px;
}
nav ul li a {
color: rgb(0, 0, 0);
text-decoration: none;
}
h1 {
margin: 0;
color: #000000;
font-family: 'Times New Roman', Times, serif;
}
</style>
<body class="bg">
<header>
<div class="container">
<a href="first.php"><img class="logo" src="logo.jpg"></a>
<h1 class="hover-4">ICT Voting Portal</h1>
<nav>
<ul>
<li class="home"><a href="first.php">Sign Up</a></li>
<li><a href="about_page.html">About</a></li>
</li>
<li style="float:right" class="about"><a href="first.php">Log Out</a></li>
</ul>
</nav>
</div>
</header>
<div class="c1">
<h2 class="fin"><pre>The Voting has not started yet
Please come in the given time.
</pre></h2>
</div>
</body>
</html>
<?php
session_start();
if(!isset($_SESSION['loggedin']) || $_SESSION['loggedin'] === "vote" || $_SESSION['loggedin']==="adm"|| $_SESSION['loggedin']!=="before" ){
header("location: error.php");
exit;
}
?>