-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdisadd.php
160 lines (115 loc) · 6.6 KB
/
disadd.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
<?php
session_start();
mysql_connect('localhost', 'root', '');
mysql_select_db('project');
$sos=$_SESSION['adminmail'];
if(isset($_POST['disable']) )
{
$doctorid=$_POST['docid'];
$sql_add="UPDATE doc_registration SET status='absent' WHERE doc_id='$doctorid' ";
$result_add=mysql_query($sql_add);
}
?>
<!DOCTYPE html>
<html>
<head>
<title><?php
$sql_name="SELECT admin_name FROM admin_registration where mail_id='$sos' ";
$result_name=mysql_query($sql_name);
$obj=mysql_fetch_object($result_name);
echo $obj->admin_name;
?>
</title>
<link rel="stylesheet" type="text/css" href="patienthomestyle.css">
</head>
<body>
<div class="containertop">
<div class="wrapper">
<div id="topright">
<h4>Contact Us:</h4> [email protected]<br>
033-244268/235263/345654<br>
<form>
<input id="topsearch" type="text" name="toptext">
<input id="topbtn" type="button" name="topbutton" value="Search">
</form>
<!--<br> <a id="makeapp" href="patientregistration.php"><strong>Get Appointment</strong></a>-->
</div>
<div id="topleft">
<img src="OneCareLogo.jpg">
</div>
</div>
</div>
<div class="menubar">
<div class="wrapper">
<ul>
<!-- <li><a href="adminhome.php">Home</a></li>-->
<li><a href="admindetails.php">My Details</a></li>
<li><a href="admindocview.php">View Doctor</a></li>
<li><a href="adminappview.php">View Appointments</a></li>
<li><a href="adminfeedbackview.php">View Feedback</a></li>
<li><a href="adminreportview.php">View Reports</a></li>
<li><a href="patlogout.php">Logout</a></li>
</ul>
</div>
</div>
<br>
<div style="color: #09AD3D ;">
<h2 id="head">Here you can disable yours Doctors <?php echo $obj->admin_name; ?> </h2>
</div>
<br></br>
<form method="POST">
<div style="height: 250px;width: 700px;background-color: #bdc3c7;margin: auto; "><br>
<label style="font-size: 20px;margin-left: 160px;color: red; ">Enter the doctor Id that you want to dissable</label>
<br></br><br>
<label style="font-size: 22px;margin-left: 140px;color: #050559 "> Doctor Id :</label> <input style="font-size: 20px; " type="text" name="docid" required/><br>
<br></br>
<p class="sub">
<input style="margin-left:250px; " type="submit" name="disable" id="sub" value="Disable Doctor" >
</p>
</div>
</form>
<footer style="height: 300px;width: 100%;background-color: #35342F;margin-top: 100px; ">
<div style="height: 240px;width: 100%; " ><br>
<div style="height: 200px;width: 1200px;margin-left: 60px; ">
<div style="height: 200px;width: 300px;float: left; ">
<p style="font-size: 20px;color: #F1BF04; ">Quick Navigation</p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="aboutus.html">About Us</a> </p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="patientregistration.php">Make Appointment</a> </p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="help.html">Contact Us</a> </p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="feedback.php">Feedback</a> </p>
</div>
<div style="height: 200px;width: 300px;float: left; ">
<p style="font-size: 20px;color: #F1BF04; ">Related Links</p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="https://www.aiimsexams.org/">AIIMS</a> </p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="http://www.cmch-vellore.edu/">CMC Vellore</a> </p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="http://www.allindiadrug.in/">All India Drug Supply Co.</a> </p>
</div>
<div style="height: 200px;width: 300px;float: left; ">
<p style="font-size: 21px;color: #F1BF04; ">One Care Medical Clinic</p><br>
<p style="color: #fff;font-size: 15px;font-family: arial, helvetica; ">8B Gangadhar Benerjee lane,<br>25 Pally,Diamond Harbour Road,<br>Kolkata-700023<br>West Bengal. <br><br>[email protected]<br>033-244268 / 235263 / 345654</p>
</div>
<div style="height: 200px;width: 300px;float: left; ">
<p style="font-size: 20px;color: #F1BF04; ">Other Links</p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="cpyryts.html">Privacy Policy</a> </p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="faqs.html">FAQ</a> </p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="https://www.google.co.in/maps/place/St.+Thomas'+College+of+Engineering+and+Technology/@22.5387879,88.3267527,17z/data=!3m1!4b1!4m5!3m4!1s0x3a02775de26c3dfd:0xd7255ce261457bec!8m2!3d22.5387879!4d88.3289414">Map's & Direction's</a> </p><br>
<p><a style="color: #fff;text-decoration: none;font-family: arial, helvetica;font-size: 15px; " href="developers.html">Developers</a> </p>
</div>
</div>
</div>
<div style="height: 60px;width: 100%;background-color: #0F0D03; " >
<div style="margin-left: 20px; " >
<p style="color: #fff;font-size: 13px;font-family: arial, helvetica; "> Copyright © 2017 One Care Medical Clinic.     All Rights Reserved</p>
</div>
<div style="margin-left: 950px; ">
<a href="https://www.facebook.com/subhajit.khan.56"><img src="fb.png" width="30" height="30" title="facebook"></a>   
<a href="https://in.pinterest.com/subhajitkhan888/"><img src="pin.png" width="30" height="30" title="pinterest" ></a>   
<a href="https://www.twitter.com"><img src="tw.png" width="30" height="30" title="twitter"></a>  
<a href="https://www.youtube.com/channel/UCtvqyS3QCllWovcDYqRdnFw"><img src="ytb.png" width="30" height="30" title="youtube"></a>  
<a href="https://www.linkedin.com/in/subhajit-khan-b0838a119/"><img src="lnk.png" width="30" height="30" title="linkedin"></a>  
<a href="https://www.instagram.com"><img src="ins.jpg" width="30" height="30" title="instagram"></a>
</div>
</div>
</footer>
</body>
</html>