-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadminhome.php
More file actions
189 lines (159 loc) · 5.14 KB
/
adminhome.php
File metadata and controls
189 lines (159 loc) · 5.14 KB
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
<html>
<head>
<title>doctorlogin</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
var docRegFlag=0;
$("#docReg").click(function(){
if (docRegFlag ==1)
{
docRegFlag=0;
$("#doctreg").hide();
$(this).removeClass("liHoverClass");
}
else{
resetButtons();
docRegFlag=1;
$(this).addClass("liHoverClass");
$("#doctreg").show();
}
});
var remUserFlag=0;
$("#remUser").click(function(){
if (remUserFlag ==1)
{
remUserFlag=0;
$("#removeuser").hide();
$(this).removeClass("liHoverClass");
}
else{
resetButtons();
remUserFlag=1;
$(this).addClass("liHoverClass");
$("#removeuser").show();
}
});
/*
var exploreFlag=0;
$("#explore").click(function(){
if (exploreFlag ==1)
{
exploreFlag=0;
$("#doctreg").hide();
$(this).removeClass("liHoverClass");
}
else{
resetButtons();
exploreFlag=1;
$(this).addClass("liHoverClass");
$("#doctreg").show();
}
});
*/
var remDocFlag=0;
$("#remDoc").click(function(){
if (remDocFlag ==1)
{
remDocFlag=0;
$("#removedoct").hide();
$(this).removeClass("liHoverClass");
}
else{
resetButtons();
remDocFlag=1;
$(this).addClass("liHoverClass");
$("#removedoct").show();
}
});
function resetButtons()
{
//alert("Hello");
docRegFlag=0;
$("#doctreg").hide();
$("#docReg").removeClass("liHoverClass");
remUserFlag=0;
$("#removeuser").hide();
$("#remUser").removeClass("liHoverClass");
remDocFlag=0;
$("#removedoct").hide();
$("#remDoc").removeClass("liHoverClass");
}
});
</script>
<style>
.liHoverClass{
font-size:4.5rem;
color:blue;
}
input{
height:4%;
font-size:43px;
width:80%;
margin-left:10%;
}
label{
margin-left:10%;
}
</style>
<script>/*
function doctreg(){
document.getElementById('doctreg').style.display="block";
}
function rmvuser(){
document.getElementById('removeuser').style.display="block";
}
function rmvpost(){
document.getElementById('').style.display="block";
}
function rmvdoct(){
document.getElementById('removedoct').style.display="block";
}*/
</script>
</head>
<body style="background-color:aqua">
<div style="font-size:8.5rem; color:white; margin-top:5%; text-align:center; text-shadow:0 0 18px blue, 0 0 15px blue, 0 0 10px blue "><b><i>Think Fit !!!</i></b></div>
<div style="width:93%; height:20%; font-size:3.5rem; background-color:white; margin-left:3%; box-shadow: 3px 2px 30px gray, 3px 2px 12px gray; margin-top:7%">
<ul style="margin-left:5%; padding-top:4%" type="none">
<li id="docReg">Doctor registration</li>
<li id="remUser">Remove user</li>
<li id="explore"><a href="./adminexplore.php" style="text-decoration:none;color:black;">Explore</a></li>
<li id="remDoc">Remove doctor</li>
</ul>
</div>
<div id="functions"></div>
<form style="font-size:3rem; display:none; margin-left:5%; margin-top:3%; width:90%" id="doctreg">
<fieldset>
<br><label for="inputEmail4">Email</label><br>
<input type="email" class="form-control" id="inputEmail4"><br><br>
<label for="inputPassword4">Password</label><br>
<input type="password" class="form-control" id="inputPassword4"><br><br>
<label for="inputName">Name</label><br>
<input type="text" class="form-control" id="inputName" placeholder="Enter Name.."><br><br>
<label for="inputCity">City</label><br>
<input type="text" class="form-control" id="inputCity"><br><br>
<label for="inputExp">Experience</label><br>
<input type="text" class="form-control" id="inputExp"><br><br>
<button style="height:6%;width:20%;background-color:blue;color:white;font-size:41px;margin-left:10%;padding:3%" type="submit" class="btn btn-primary">Done</button>
</fieldset>
</form>
<form style="font-size:3rem; display:none; margin-left:5%; margin-top:3%; width:90%" id="removeuser">
<fieldset>
<label for="removeUserName">User Name: </label><br>
<input type="text" class="form-control" id="removeUserName" placeholder="Enter Name.."><br><br>
<label for="rmvUserEmail">User Email:</label><br>
<input type="text" class="form-control" id="rmvUserEmail" placeholder="emailId..."><br><br>
<button style="height:6%;width:60%;background-color:blue;color:white;font-size:41px;margin-left:10%;padding:3%" type="submit" class="btn btn-primary">Delete User</button>
</fieldset>
</form>
<form style="font-size:3rem; display:none; margin-left:5%; margin-top:3%; width:90%" id="removedoct">
<fieldset>
<label for="removeDoctName">Doctor Name: </label><br>
<input type="text" class="form-control" id="removeDoctName" placeholder="Enter Name.."><br><br>
<label for="rmvDoctEmail">Doctor Email:</label><br>
<input type="text" class="form-control" id="rmvDoctEmail" placeholder="emailId..."><br><br>
<button style="height:6%;width:60%;background-color:blue;color:white;font-size:41px;margin-left:10%;padding:3%" type="submit" class="btn btn-primary">Delete User</button>
</fieldset>
</form>
</body>
</html>