-
Notifications
You must be signed in to change notification settings - Fork 2
/
search.php
211 lines (180 loc) · 5.19 KB
/
search.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<?php
session_start();
if($_SESSION['doctor']){
if($_SESSION['p_report'] )
{
unset($_SESSION['p_report']);
}
}
else{
$error['login']='You are not logged in';
header("location:first.php?error=".serialize($error));
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/78e6212ab3.js" crossorigin="anonymous"></script>
<!-- favicon ko link -->
<link rel="shortcut icon" href="./images/logooo.png" type="image/x-icon">
<title>Search Username </title>
<style>
*{
margin: 0;
padding: 0;
font-family:'Courier New', Courier, monospace;
box-sizing: border-box;
}
.header{
height: 100vh;
width: 100%;
position: relative;
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
/* background: linear-gradient(green,transparent); */
background-color: #14A44D;
border-bottom: 1px solid rgb(52, 255, 33);
}
nav h2{
color: white;
margin: 7px;
padding: 10px 14px;
font-size: 30px;
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.nav-links{
padding: 2px 0;
}
.nav-links li{
display: inline-block;
margin: 0px 15px;
}
.nav-links li a{
text-decoration: none;
color: #ffffff;
padding: 5px 0;
position: relative;
font-size: 21px;
font-family: cursive;
}
.nav-links li a::after{
content: '';
background: #83ff1e;
width: 0;
height: 2px;
position: absolute;
bottom: 0;
left: 0;
transition: width 0.5s;
}
.nav-links li a:hover::after{
width: 100%;
}
.btn{
/* background: #000000; */
color: #fff;
padding: 6px 7px;
border-radius: 7px;
cursor: pointer;
border: 2px solid rgb(74, 255, 119);
}
.content{
position: absolute;
left: 50%;
top: 50%;
width: 90%;
max-width: 900px;
transform: translate(-50%,-50%);
text-align: center;
color: white;
padding: 50px;
}
.content h1{
font-size: 45px;
font-weight: 600px;
margin: 40px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: white;
-webkit-text-stroke: 1px rgb(0, 0, 0);
}
.content form{
background: #fff;
padding: 10px;
border-radius: 8px;
display: flex;
/* border: 2px solid rgb(103, 255, 103); */
}
.content form input{
flex: 1;
border: none;
outline: none;
padding: 0px 20px;
font-size: 21px;
}
.content form button{
background: green;
color: #fff;
padding: 15px 40px;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 15px;
}
.back-video{
position: absolute;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
}
@media(min-aspect-ratio: 16/9)
{
.back-video{
width: 100%;
height: auto;
}
}
@media(max-aspect-ratio: 16/9)
{
.back-video{
width: auto;
height: 100%;
}
}
</style>
</head>
<body>
<div class="header">
<video autoplay loop class="back-video" muted plays-inline>
<source src="./images/animated4.mp4" type="video/mp4">
</video>
<nav>
<h2>We<i class="fa-solid fa-circle-nodes"></i>Care</h2>
<ul class="nav-links">
<li><a href="">Home</a></li>
<li><a href="">Contact</a></li>
<li><a href="">Reviews</a></li>
<li><a href="">FAQs</a></li>
<li class="btn"><a href="" >WelCome <?php echo $_SESSION['doctor']; ?></a></li>
</ul>
</nav>
<!-- search box -->
<div class="content">
<h1>Search Username Here</h1>
<form action="./doctor-report.php" method="post">
<input name="username" type="search" placeholder="✎ Enter Username ">
<button type="submit" name="submit">Search</button>
</form>
</div>
</div>
</body>
</html>