Anda di halaman 1dari 48

1

CODING FOR HOMEPAGE


<?php
$conn=mysqli_connect('localhost','root','','hospital');
if(isset($_POST['sub'])){
$name=$_POST['name'];
$email=$_POST['email'];
$phone=$_POST['phone'];
$comment=$_POST['comment'];
$con="INSERT INTO `query`( `name`, `email`, `phone`, `comment`)
VALUES ('$name','$email','$phone','$comment')";
$run=mysqli_query($conn,$con);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>OSCI HOSPITAL</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
</div>
</div>
<div class="row" style="background:#1E90FF; padding:5px;">
<div class="col-sm-3" style="margin-top:8px;">
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>
<div class="col-sm-5">
<i class=" fa fa-map-marker " style="font-size:30px;color:red"></i>
<span style="font-size:18px; color:white;"> Rajeev nagar, kandwa, Varanasi,India</span>
</div>
<div class="col-sm-4"><i class=" fa fa-envelope-square " style="font-
size:25px;color:#orange"></i>
3

<span style="font-size:18px; color:yellow;">support@osci.com</span>


</div>
</div>
<div class="row">
<div class="col-sm-1"> </div>
<div class="col-sm-2">
<img src="images/logo2.jpg" width="80" height="50">
</div>
<div class="col-sm-6">
<nav class="navbar navbar-expand-xl ">
<!-- Links -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.php">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Facilities.php">Facilities</a>
</li>
<li class="nav-item">
<a class="nav-link" href="blog.php">Blog</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.php">Login</a>
</li>
</ul>
</nav>
</div>
<div class="col-sm-2">
<img src="images/logo2.jpg" width="80" height="50">
</div>
<div class="col-sm-1"> </div>
</div>
</div>
<div class="row">
<div class="col-sm-12"><img src="images/23.jpg" width="100%" height="500"> </div>
</div>
<div class="container-fluid"><div class="row">
<div class="col-sm-6" ><br>
<div style="border:1px solid gray; padding:5px; box-shadow:0px 0px 20px orange; border-
radius:10px;"><br>
<form method="post" action="index.php">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" name="name" >
</div>
<div class="form-group">
<label for="email">Email address:</label>
<input type="email" class="form-control" id="email" name="email">
4

</div>
<div class="form-group">
<label for="phone">Phone no:</label>
<input type="text" class="form-control" name="phone">
</div>
<div class="form-group">
<label for="comment">Comment:</label>
<textarea class="form-control" rows="5" name="comment"></textarea>
</div>
<button type="submit" name="sub" class="btn btn-primary">Send</button>
</form><br></div><br>
</div>
<div class="col-sm-6"><br>
<div style="background:#FF0000; padding:10px;color:white; border-radius:30px;"><br>
<center><h1>Request An Appointment!</h1><hr>
<p>Just make an appointment to get help from our experts</p><hr>
<br>
<h3 style="color:yellow">Our Services</h3><hr>
<p style="font-size:18px;">Root Canal</p>
<p style="font-size:18px;">Teeth Whitening</p>
<p style="font-size:18px;">Wisdom Teeth</p>
<p style="font-size:18px;">Crowns Bridges</p>
<p style="font-size:18px;">Cosmetic Dentis</p>
<p style="font-size:18px;">Dental Implants</p>
</center><hr>
</div>
</div>
</div>
</div>
<!-- footer start here -->
<div class="container-fluid">
<div class="row" style="background:#AAAACD">
<div class="col-sm-4" >
<H3 style="color:white;">ABOUT US </H3>
<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>
</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
5

</div>
</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights Reserved</p>
</div>
</div>
</div>
</body>
</html>
6
7

CODING FOR ABOUT


<!DOCTYPE html>
<html lang="en">
<head>
<title>OSCI HOSPITAL</title>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1">


<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">

</div>
</div>
<div class="row" style="background:#1E90FF; padding:5px;">
<div class="col-sm-3" style="margin-top:8px;">
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>

</div>

<div class="col-sm-5">
<i class=" fa fa-map-marker " style="font-size:30px;color:red"></i>
<span style="font-size:18px; color:white;"> Rajeev nagar, kandwa,
Varanasi,India</span>
</div>
<div class="col-sm-4"><i class=" fa fa-envelope-square " style="font-
size:25px;color:#orange"></i>
<span style="font-size:18px;
color:yellow;">support@osci.com</span>
</div>
</div>
<div class="row">
<div class="col-sm-1"> </div>
<div class="col-sm-2">
8

<img src="images/logo2.jpg" width="80" height="50">


</div>
<div class="col-sm-6">
<nav class="navbar navbar-expand-xl ">

<!-- Links -->


<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.php">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="facilities.php">Facilities</a>
</li>
<li class="nav-item">
<a class="nav-link" href="blog.php">Blog</a>
</li>
</ul>

</nav>
</div>

<div class="col-sm-2">

<img src="images/logo2.jpg" width="80" height="50">


</div>
<div class="col-sm-1"> </div>
</div>

</div>
<div class="row">

<div class="col-sm-12"><img src="images/10.jpg" width="100%" height="500"


class="img-rounded;"> </div>

</div><br><hr>
<h1 align="center"><big><big><b>About Us</b></big></big></h1><hr>
<div class="container">
<div class="row">

<div class="col-sm-12" >


<div style="border:1px dotted green;">
<h1 align="center" style="color:blue;"><br><b>Welcome To Our Pearly
Care</b></h1>
<p align="center">Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer quis tristique est,
et egestas odio. Mauris ac tristique arcu, sed interdum risus.</p><br>
<p style="padding:10px;">
9

<strong>Mediconnect India</strong> -
A healthy body is the dweller of a sound mind. While considering the medical treatment facilities,
the name of India mounts to the top as one of the best seats for healthcare. Medical tourism in India
includes health care treatments like Oncology, Cosmetic Surgery, Cardiology, Organ Transplant and
IVF. Medical treatment in India is done in the most modern way by the highly acclaimed medical
professionals. Because of India's multi-dimensional and comparatively low cost healthcare benefits,
people from all around the world consider coming to India for their medical treatments. The
Medical Tourism initiative is directed towards helping people worldwide to facilitate best treatments
and medical care in India, which is one of the most promising medical travel destinations in the
world owing to highly skilled pool of medical professionals and low cost cutting edge technologies of
medical science.

</p>
</div>
</div>

</div>
<div class="row">

<div class="col-sm-12" >


<div class="jumbotron">

<h1 align="center"><br><b>With 25 Years` Experience Working With


Children And Teens</b></h1>
<img src="images/25.jpg" width="100%" height="500" class="img-
rounded;">
<p align="center">
Duis sit amet nisi quis leo fermentum vestibulum vitae eget augue. Nulla quam nunc, vulputate id
urna at, tempor tincidunt metus. Sed feugiat quam nec mauris mattis malesuada. Duis sit amet nisi
quis leo fermentum vestibulum vitae eget augue. Nulla quam nunc, vulputate id urna at, tempor
tincidunt metus. Sed feugiat quam nec mauris mattis malesuada.
</p>
<center><button class="btn btn-danger">Contact
Us</button></center><br>
</div>

</di</div>
</div>
<!-- footer start here -->
<div class="container-fluid">
<div class="row" style="background:#AAAACD">

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>
10

</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>

</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div>
</body>
</html>
11
12

CODING FOR FACILITIES


<!DOCTYPE html>
<html lang="en">
<head>
<title>OSCI HOSPITAL</title>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1">


<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">

</div>
</div>
<div class="row" style="background:#1E90FF; padding:5px;">
<div class="col-sm-3" style="margin-top:8px;">
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>

</div>

<div class="col-sm-5">
<i class=" fa fa-map-marker " style="font-size:30px;color:red"></i>
<span style="font-size:18px; color:white;"> Rajeev nagar, kandwa,
Varanasi,India</span>
</div>
<div class="col-sm-4"><i class=" fa fa-envelope-square " style="font-
size:25px;color:#orange"></i>
<span style="font-size:18px; color:yellow;">support@osci.com</span>
</div>
</div>
<div class="row">
<div class="col-sm-1"> </div>
<div class="col-sm-2">
13

<img src="images/logo2.jpg" width="80" height="50">


</div>
<div class="col-sm-6">
<nav class="navbar navbar-expand-xl ">

<!-- Links -->


<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.php">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="facilities.php">Facilities</a>
</li>
<li class="nav-item">
<a class="nav-link" href="blog.php">Blog</a>
</li>
</ul>

</nav>
</div>

<div class="col-sm-2">

<img src="images/logo2.jpg" width="80" height="50">


</div>
<div class="col-sm-1"> </div>
</div>

</div>
<div class="row">

<div class="col-sm-12"><img src="images/21.jpg" width="100%" height="500"


class="img-rounded;"> </div>

</div><br><hr><h1 align="center"><b>LABORATORY</b></h1>
<div class="row">

<div class="col-sm-12">
<div class="row">
<div class="col-sm-6">
<div>
<img src="images/35.jpg" width="100%" height="200" class="img-
thumbnail;">
</div>
<div class="row">
<div class="col-sm-6">
<img src="images/6.jpg" width="100%"
height="200" class="img-thumbnail;">
14

</div>
<div class="col-sm-6">
<img src="images/38.jpg" width="100%"
height="200" class="img-thumbnail;">
</div>
</div><br>
</div>
<div class="col-sm-6">
<img src="images/39.jpg" width="100%" height="400" class="img-
thumbnail;">
</div>
</div>

</div>
</div>
<div class="container"><div class="row">
<div class="col-sm-12">
<br> <h1 align="center"><b>Kidney Transplant </b></h1><br>
<p align="center"><img src="images/kideny1.jpg" width="100%"
height="400" class="img-thumbnail;"></p>
<p align="justify">
Humans do not need two kidneys to live, as one kidney can efficiently performs the tasks of both.
Much like limbs, eyes, ears, lungs, reproductive parts, it is possible that kidneys formed as a pair due
to symmetrical evolution of the organs. Humans may have adapted to develop two kidneys, due to
the vital function provided by the organs, so that if one is destroyed, the body can continue to
survive.
</p>
<p>Kidney Transplantation at Artemis Hospitals @ USD 15000. </p>
<p>The Kidney Transplant package also includes OPD charges of the patient
and the donor. </p>
<p>The patient will have to come on Medical Visa. </p>
<p>For kidney transplant, it is mandatory for the patient to bring along a
donor from his own family who has
a compatible blood group type.</p><br>

</div>
</div></div>
</div>

<!-- footer start here -->


<div class="container-fluid">
<div class="row" style="background:#AAAACD">

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>

</div>
15

<div class="col-sm-4" style="color:yellow;">


<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>

</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div>
</body>
</html>
16
17
18

CODING FOR BLOG


<!DOCTYPE html>
<html lang="en">
<head>
<title>OSCI HOSPITAL</title>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1">


<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">

</div>
</div>
<div class="row" style="background:#1E90FF; padding:5px;">
<div class="col-sm-3" style="margin-top:8px;">
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>

</div>

<div class="col-sm-5">
<i class=" fa fa-map-marker " style="font-size:30px;color:red"></i>
<span style="font-size:18px; color:white;"> Rajeev nagar, kandwa, Varanasi,India</span>
</div>
<div class="col-sm-4"><i class=" fa fa-envelope-square " style="font-
size:25px;color:#orange"></i>
<span style="font-size:18px; color:yellow;">support@osci.com</span>
</div>
</div>
<div class="row">
<div class="col-sm-1"> </div>
<div class="col-sm-2">

<img src="images/logo2.jpg" width="80" height="50">


19

</div>
<div class="col-sm-6">
<nav class="navbar navbar-expand-xl ">

<!-- Links -->


<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.php">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="facilities.php">Facilities</a>
</li>
<li class="nav-item">
<a class="nav-link" href="blog.php">Blog</a>
</li>
</ul>

</nav>
</div>

<div class="col-sm-2">

<img src="images/logo2.jpg" width="80" height="50">


</div>
<div class="col-sm-1"> </div>
</div>

</div>
<div class="row">

<div class="col-sm-12"><img src="images/12.jpg" width="100%" height="500"


class="img-rounded;"> </div>

</div>

<div class="container">
<div class="row">

<div class="col-sm-12">
<h1 ALIGN="center">10 Reasons Why Your Ankles are Swollen</h1>
<p style="font-size:12px; text-align:center;"><strong>Shalini
SharmaMay </strong>22/06/ 2018</p>
<p><img src="images/ankles.jpg" width="100%" height="500"
class="img-rounded;"></p>
<p align="justify">
20

The lower part of the body is more prone to swelling. Daily stress, fatigue and excursion can cause
leg, foot or ankle swelling. However, the reasons for swelling of ankle may be many. The swelling is
usually apparent at the end of a hectic day of after standing or sitting for hours continuously.
While getting ready for going out this morning, you might have found that you don’t fit in
your shoes. The reason could be, perhaps you’ve a swollen ankle.

</p>
<p><big>
So if you’re still in doubts as to why your ankle is swollen, read on to know all possible reasons and if
it signifies any impending danger.
</big></p>
<h4>Pregnancy</h4>
<p>
Pregnancy is surely the best time in a woman’s life. Everybody eagerly awaits for the upcoming
happiness. But only a few know that during pregnancy, more fluids are retained in the body. Natural
hormonal changes can also reduce the circulations in legs. Moreover, the increased uterus size
exerts pressure on veins which hinders return of blood to the heart. All these reasons can cause
swollen ankles and feet which vanishes after delivery.
</p>
<h4>What can help?</h4>
<ul>
<li>Sleep on your left side </li>
<li>Don’t wear tight bands on your ankles </li>
<li>Don’t stand for longer periods </li>
<li>Consulting a doctor is always recommended </li>

</ul>

<h4>Injury</h4>
<p>
Injuries are simply unavoidable. One might unexpectedly twist or sprain the ankle which leads to
swelling in the ankle. Due to injury, the ligaments are stretched beyond their normal limits. Acute or
chronic injury can trigger inflammation which can cause ankles to swell. Significant swelling may also
appear due to fracture in the ankle. This is also accompanied with intense pain. Although, it is
difficult to differentiate between ankle sprain and fracture, an advice from an experienced doctor is
suggested if pain becomes unbearable.
</p>
<h4>What can help?</h4>
<ul>
<li>PRICE (Protect, Rest, Ice, Compression and Elevation)
</li>
<li>Reflexology </li>
<li>Foot Massage </li>
<li>Do not stop moving the joints </li>

</ul>

<h4>Deep Vein Thrombosis (DVT)</h4>


<p>
21

DVT or Deep Vein Thrombosis occurs when there is a blood clot in one or more deep veins in the
body. In most cases, the clot is formed in the leg but it can also appear or travel to different parts of
the body. This usually happens when you don’t move for a long time or you are confined to bed.
DVT is mostly observed in adults of over 50 years of age. Deep Vein Thrombosis can be life
threatening, so it’s better to seek medical attention as soon as possible.
</p>
<h4>What can help?</h4>
<ul>
<li>Avoid sitting still after surgery or in case of bed rest </li>
<li>Wear compression stockings</li>
<li>Doctor may prescribe some blood thinners </li>
<li>Do not stop moving the joints </li>

</ul>

<h4>Obesity</h4>
<p>
Carrying some extra kilos may contribute to swelling in the ankle, feet or legs. Being overweight can
cause edema which means buildup of fluid outside the circulatory system. Gravity retains this extra
fluids in lower part of body and thus, ankles get swollen. No matter where the extra weight or mass
gets accumulated in the body, it is your ankles and foot that end up bearing the load. Since, ankles
are the weight-bearing joints, the ill-effects of obesity are confronted by them much earlier than
other parts of the body.
</p>
<h4>What can help?</h4>
<ul>
<li>Lose some weight in a healthy manner</li>
<li>Consult a podiatrist</li>
<li>Elevate your legs above your heart for 10-15 minutes
daily</li>
<li>Cut down your salt intake </li>

</ul>

<h4>Medication</h4>
<p>
Some particular medications also end up with swelling in ankle. Testosterone or estrogen, steroids,
non-steroidal anti-inflammatory drugs and antidepressants increase the thickness of the blood and
thus hinders its circulation. If you feel like your medications are leading to puffiness in your ankle, do
visit your doctor immediately. Don’t simply stop your dosage of medicines without discussing it with
your doctor.
</p>
<h4>What can help?</h4>
<ul>
<li>Talking to the doctor works best</li>
<li>Your doctor may reduce the dosage of your medicine</li>

</ul>
22

<h4>Pericarditis</h4>
<p>
Pericarditis is swelling in the pericardium. Depending upon its type,
signs and symptoms, swelling in the ankle may be seen. This might indicate constrictive
pericarditis. This is a serious type of pericarditis where the pericardium becomes thick or hard. This
hinders heart muscles from expanding and prevents it from working like it should be. The heart may
compress and blood may accumulate into abdomen, lungs and legs, and causes swelling. An
abnormal heart rhythm is also common.
</p>
<h4>What can help?</h4>
<ul>
<li>Colchicine</li>
<li>Over-the-counter pain killers</li>
<li>Corticosteroids</li>
</ul>
<p><img src="images/ankles1.jpg" width="100%" height="500" class="img-rounded;"></p>
</div>
</div></div>
<!-- footer start here -->
<div class="container-fluid">
<div class="row" style="background:#AAAACD">
<div class="col-sm-4" >
<H3 style="color:white;">ABOUT US </H3>
<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>
</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>
</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights Reserved</p>
</div>
</div>
</div>
</body>
</html>
23

CODING FOR ADD EMPLOYEE


<?php
$conn=mysqli_connect('localhost','root','','hospital');
if(isset($_POST['sub'])){
$name=$_POST['name'];
$fname=$_POST['fname'];
$mname=$_POST['mname'];
$address=$_POST['address'];
$post=$_POST['post'];
$mobile=$_POST['mobile'];
$jdate=$_POST['jdate'];
$dob=$_POST['dob'];
$gender=$_POST['gender'];
$eid=$_POST['eid'];

$photoname=$_FILES['photo']['name'];
$tmpname=$_FILES['photo']['tmp_name'];
move_uploaded_file($tmpname,"images/$photoname");

$con="INSERT INTO `addemployee`( `employee_id`, `name`, `fname`, `mname`, `address`,


`dob`, `mobile`, `post`, `gender`, `photo`, `j_date`)
VALUES
('$eid','$name','$fname','$mname','$address','$dob','$mobile','$post','$gender','$photoname','$jdat
e')";
$run=mysqli_query($conn,$con);}
?>
<!DOCTYPE html>
<html lang="en">
<head>

<title>OSCI</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>

<div class="container">
<p class="btn btn-primary" style="position:absolute;
right:5px; top:5px;"><a href="logout.php" style="text-decoration:none; color:white">Log
out</a></p>
24

<!-- header start here-->


<div class="row">
<div class="col-sm-12"> <img src="images/dash1.PNG" WIDTH="100%"
height="300" >
<a href="dashboard.php"><h1 style="border-radius:10px;
box-shadow:0 0 10px green;background:yellow; text-align:center; font-size:65px;
color:blue;">Dashboard</h1></a>
</div>
</div>
<!-- end header here-->
<br> <br>
<div class="row">

<div class="col-sm-1"> </div>


<div class="col-sm-10">

<h3 align="center" style="font-size:35;


color:greenyellow; text-shadow:2px 2px 10px yellow">Employee Registration Form</h3>

<form method="post" action="addemployee.php" enctype="multipart/form-data">


<div class="form-group">
<label for="name">Employee Id:</label>
<input type="text" class="form-control" placeholder="Enter Employee id" name="eid" required>
</div>

<div class="form-group">
<label for="name">Employee name:</label>
<input type="text" class="form-
control" placeholder="Enter Employee name" name="name" required>
</div>

<div class="form-group">
<label for="starting">Father's name:</label>
<input type="text" class="form-
control" placeholder="Enter Father's name" name="fname" required>
</div>
<div class="form-group">
<label for="starting">Mother's name:</label>
<input type="text" class="form-
control" placeholder="Enter mother's name" name="mname" required>
</div>

<div class="form-group ">


<label for="mdate">Address :</label>
<input type="text" class="form-control" placeholder="Enter Address" name="address"
requireds></div><div class="form-group "> <label for="mdate">Post :</label>
<input type="text" class="form-control" placeholder="Enter Post of employee"
name="post" requireds>

</div>
25

<div class="form-group ">


<label for="mdate">Date of birth:</label>
<input type="date" class="form-control" name="dob" requireds>

</div>

<div class="form-group ">


<label for="mdate">Joining Date:</label>
<input type="date" class="form-control" name="jdate" requireds>

</div>

<div class="form-group">
<label for="name">
Mobile:</label>
<input type="text" class="form-
control" placeholder="Enter mobile numbers" name="mobile" required>
</div>

<div class="form-group">
<label for="to">Gender:</label>
<input type="radio" name="gender" value="male">Male
<input type="radio" name="gender" value="female">Female
<input type="radio" name="gender" value="other">Other
</div>

<div class="form-group">
<label for="to">Upload Photo:</label>
<input type="file" name="photo"
required>
</div>
<input type="submit" name="sub" Value="Submit"><br><br> </form></div></div></div>
<div class="col-sm-1"> </div></div>
</div>
<!-- end of header -->
</div><br> <br>

<!-- Footer -->


<!-- footer start here -->
<div class="container">
<div class="row" style="background:#AAAACD">

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>

</div>
26

<div class="col-sm-4" style="color:yellow;">


<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>

</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div>
</body>
27

CODING FOR ADD PATIENT


<?php
$conn=mysqli_connect('localhost','root','','hospital');
if(isset($_POST['sub'])){
$name=$_POST['name'];
$fname=$_POST['fname'];
$mname=$_POST['mname'];
$address=$_POST['address'];
$age=$_POST['age'];
$adate=$_POST['adate'];
$doctor=$_POST['doctor'];

$disease=$_POST['disease'];

$con="INSERT INTO `addpatient`( `name`, `fname`, `mname`, `address`, `age`, `admit_date`,


`doctor`, `disease`)
VALUES ('$name','$fname','$mname','$address','$age','$adate','$doctor','$disease')";
$run=mysqli_query($conn,$con);

}
?>
<!DOCTYPE html>
<html lang="en">
<head>

<title>OSCI</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>

<div class="container">
<p class="btn btn-primary" style="position:absolute;
right:5px; top:5px;"><a href="logout.php" style="text-decoration:none; color:white">Log
out</a></p>

<!-- header start here-->


<div class="row">

<div class="col-sm-12">
28

<img src="images/dash1.PNG" WIDTH="100%"


height="300" >
<a href="dashboard.php"><h1 style="border-radius:10px; box-shadow:0 0 10px
green;background:yellow; text-align:center; font-size:65px; color:blue;">Dashboard</h1></a>
</div>
</div>
<!-- end header here-->
<br> <br>
<div class="row">
<div class="col-sm-1"> </div>
<div class="col-sm-10">

<h3 align="center" style="font-size:35; color:greenyellow; text-shadow:2px 2px 10px


yellow">Employee Registration Form</h3>

<form method="post" action="addpatient.php" >

<div class="form-group">
<label for="name">patient name:</label>
<input type="text" class="form-control" placeholder="Enter name" name="name" required>
</div><div class="form-group">
<label for="starting">Father's name:</label>
<input type="text" class="form-
control" placeholder="Enter Father's name" name="fname" required>
</div>
<div class="form-group">
<label for="starting">Mother's name:</label>
<input type="text" class="form-
control" placeholder="Enter mother's name" name="mname" required>
</div>

<div class="form-group ">


<label for="mdate">Address :</label>
<input type="text" class="form-control" placeholder="Enter Address"
name="address" requireds>

</div>

<div class="form-group ">


<label
for="mdate">Age</label>
<input type="number"
class="form-control" name="age" requireds>

</div>

<div class="form-group ">


<label for="mdate">Admit
Date:</label>
<input type="date" class="form-control" name="adate" requireds>
29

</div>

<div class="form-group">
<label for="name">
Doctor:</label>
<input type="text" class="form-
control" placeholder="Enter Dotctor name " name="doctor" required>
</div>

<div class="form-group">
<label for="name">
Disease:</label>
<input type="text" class="form-control" placeholder="Enter Disease " name="disease" required>
</div>

<input type="submit" name="sub" Value="Submit"><br><br>


</form>
</div>
<div class="col-sm-1"> </div>
</div>
</div>
<!-- end of header -->
</div>

<br> <br>

<!-- Footer -->


<!-- footer start here -->
<div class="container">
<div class="row" style="background:#AAAACD">

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>

</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
30

<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>


<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>

</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div></body>
31

CODING FOR DASHBOARD


<!DOCTYPE html>
<html lang="en">
<head>

<title>OSCI</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>

<div class="container">
<p class="btn btn-primary" style="position:absolute;
right:5px; top:5px;"><a href="logout.php" style="text-decoration:none; color:white">Log
out</a></p>

<!-- header start here-->


<div class="row">

<div class="col-sm-12">
<img src="images/dash1.PNG" WIDTH="100%"
height="300" >
<h1 style="border-radius:10px; box-shadow:0 0
10px green;background:yellow; text-align:center; font-size:65px; color:blue;">Dashboard</h1>
</div>

</div>
<br> <br>
<div class="row">

<div class="col-sm-1"> </div>


<div class="col-sm-5">
<a href="seequery.php"> <div style="width:250px;
height:150px; border-radius:40px; box-shadow:0 0 10px green;background:orange;">
<br>
<h2 style="padding:10px;text-align:center;
color:white;">See Query</h2>
</div></a><br>
<a href="addemployee.php"> <div style="width:250px;
height:150px; border-radius:40px; box-shadow:0 0 10px green; background:gold;">
32

<br><h2 style="padding:10px;text-
align:center; color:white;">Add Employee</h2>
</div></a><br>
<a href="addpatient.php"><div style="width:250px;
height:150px; border-radius:40px; box-shadow:0 0 10px green; background:blue;">
<br><h2 style="padding:10px;text-
align:center; color:white;">Add Patient</h2>
</div></a>
</div>
<div class="col-sm-5">

<a href="showemployee.php"><div
style="width:250px; height:150px; border-radius:40px; box-shadow:0 0 10px green;
background:hotpink;">
<br><h2 style="padding:10px;text-
align:center; color:white;">Show employee</h2>
</div><br>
<a href="showpatient.php"><div
style="width:250px; height:150px; border-radius:40px; box-shadow:0 0 10px green;
background:greenyellow;">
<br><h2 style="padding:10px;text-
align:center; color:white;">Show patient</h2>
</div></a>
</div>

<div class="col-sm-1"> </div>


</div></div>
<!-- end of header -->
</div><br> <br> <!-- Footer -->
<!-- footer start here -->
<div class="container">
<div class="row" style="background:#AAAACD">

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>

</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
33

<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>


<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>
</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div>
</body>
34

CODING FOR LOGIN


<?php
session_start();
$conn=mysqli_connect('localhost','root','','hospital');
if(isset($_POST['sub'])){
$uname=$_POST['uid'];
$pass=$_POST['pass'];

$con="SELECT * FROM `admin` WHERE user_id='$uname' and pass='$pass'";


$sql=mysqli_query($conn,$con);
$num=mysqli_num_rows($sql);
if($num>0){
$result=mysqli_fetch_assoc($sql);
$_SESSION['id']=$result['id'];
header('location:dashboard.php');
}else{
echo "your username or password might be wrong";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>OSCI HOSPITAL</title>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1">


<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">

</div>
</div>
<div class="row" style="background:#1E90FF; padding:5px;">
<div class="col-sm-3" style="margin-top:8px;">
<a href="https://www.facebook.com/" class="fa fa-facebook"
class="round"></a>
35

<a href="https://www.twitter.com/" class="fa fa-


twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-
youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-
skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-
android" class="round"></a>

</div>

<div class="col-sm-5">
<i class=" fa fa-map-marker " style="font-size:30px;color:red"></i>
<span style="font-size:18px; color:white;"> Rajeev nagar, kandwa,
Varanasi,India</span>
</div>
<div class="col-sm-4"><i class=" fa fa-envelope-square " style="font-
size:25px;color:#orange"></i>
<span style="font-size:18px;
color:yellow;">support@osci.com</span>
</div>
</div>
<div class="row">
<div class="col-sm-1"> </div>
<div class="col-sm-2">

<img src="images/logo2.jpg" width="80" height="50">


</div>
<div class="col-sm-6">
<nav class="navbar navbar-expand-xl ">

<!-- Links -->


<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.php">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Facilities.php">Facilities</a>
</li>
<li class="nav-item">
<a class="nav-link" href="blog.php">Blog</a>
</li>
</ul>

</nav>
</div>

<div class="col-sm-2">
36

<img src="images/logo2.jpg" width="80" height="50">


</div>
<div class="col-sm-1"> </div>
</div>

</div>

<!-- login form start-->

<div class="container">
<div class="row">

<div class="col-sm-2"> </div>


<div class="col-sm-8"><br>
<div style="padding:30px; margin-top : 50px; margin-
bottom:60px;border:10px dotted red; box-shadow:5px 5px 20px orange;">
<form method="post" action="login.php">
<div class="form-group">
<label for="email">UserId:</label>
<input type="text" class="form-control"
name="uid">
</div>
<div class="form-group">
<label for="pwd">Password:</label>
<input type="password" class="form-
control" name="pass">
</div>

<button type="submit" class="btn btn-default"


name="sub">Submit</button>
</form></div>
</div>
</div>
</div>
<!-- end of log in form -->
<!-- footer start here -->
<div class="container-fluid">
<div class="row" style="background:#AAAACD">

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>

</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
37

<H6><a href="#">Ms. Shalini Sharma</a></H6>


<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>

</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div>
</body>
</html>
38

CODING FOR LOGOUT


<?php

session_start();

session_destroy();

?>

<script>

alert("You have log out");

window.open('index.php','_self');

</script>

<?php

?>
39

CODING FOR SEE QUERY


<!DOCTYPE html>
<html lang="en">
<head>

<title>OSCI</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>

<div class="container">
<p class="btn btn-primary" style="position:absolute;
right:5px; top:5px;"><a href="logout.php" style="text-decoration:none; color:white">Log
out</a></p>

<!-- header start here-->


<div class="row">

<div class="col-sm-12">
<img src="images/dash1.PNG" WIDTH="100%"
height="300" >
<a href="dashboard.php"><h1 style="border-radius:10px;
box-shadow:0 0 10px green;background:yellow; text-align:center; font-size:65px;
color:blue;">Dashboard</h1></a>
</div>

</div>

<!-- end header here-->


<br> <br>
<div class="row">

<div class="col-sm-1"> </div>


<div class="col-sm-10" style="background:#abcd34;
overflow:scroll; font-size:18px; height:580px;">
<form method="post" action="seequery.php">

<p align="center"><br>

<input type="submit" name="sub" value="Show"> </form>


40

</p>
<p>
<?php

$conn=mysqli_connect('localhost','root','','hospital');
if(isset($_POST['sub'])){

$con="SELECT * FROM
`query`";
$sql=mysqli_query($conn,$con);
$num=mysqli_num_rows($sql);
if($num>0){

?>
<table class="table table-bordered">
<thead><tr>
<th>ID</th>
<th> Name</th>
<th>Email</th>
<th>Phone</th>
<th>Comment</th>
</tr>
</thead>
<tbody>
<?php

while($result=mysqli_fetch_assoc($sql)){
echo "<tr><td>".$result['id']."</td>";
echo "<td>".$result['name']."</td>";
echo "<td>".$result['email']."</td>";
echo "<td>".$result['phone']."</td>";
echo "<td>".$result['comment']."</td></tr>";
}
echo "</tbody></table>"; }else{
echo "there is no record found in your database";
}
}
?>
</p></div>
<div class="col-sm-1"> </div>
</div>
</div>
<!-- end of header -->
</div> <br> <br>

<!-- Footer -->


<!-- footer start here -->
<div class="container">
<div class="row" style="background:#AAAACD">
41

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>

</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a><a
href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>

</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div>
</body>
42

CODING FOR SHOW EMPLOYEE


<!DOCTYPE html>
<html lang="en">
<head>

<title>OSCI</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>

<div class="container">
<p class="btn btn-primary"
style="position:absolute; right:5px; top:5px;"><a href="logout.php" style="text-decoration:none;
color:white">Log out</a></p>

<!-- header start here-->


<div class="row">

<div class="col-sm-12">
<img src="images/dash1.PNG" WIDTH="100%"
height="300" >
<a href="dashboard.php"><h1 style="border-radius:10px;
box-shadow:0 0 10px green;background:yellow; text-align:center; font-size:65px;
color:blue;">Dashboard</h1></a>
</div>

</div>

<!-- end header here-->


<br> <br>
<div class="row">

<div class="col-sm-1"> </div>


<div class="col-sm-10">
<!-- Show --><br>
<div class="row" style="padding:40px; box-shadow:0 0 10px red;">

<div class="col-sm-12" style="background:#FFA500;


overflow:scroll; font-size:18px; height:580px;">
<form method="post" action="showemployee.php">
43

<p align="center"><br>

<input type="submit" name="sub" value="Show"> </form>


</p>
<p>
<?php

$conn=mysqli_connect('localhost','root','','hospital');
if(isset($_POST['sub'])){

$con="SELECT * FROM
`addemployee`";
$sql=mysqli_query($conn,$con);
$num=mysqli_num_rows($sql);
if($num>0){

?>
<table class="table table-bordered">
<thead><tr>
<th>ID</th>
<th> Name</th>
<th>Father</th>
<th>Mother</th>
<th>Address</th>
<th>Mobile</th>
<th>Joining Date</th>
<th>Date of birth</th>
<th>Post</th>
<th>Gender</th>
<th>Employee Id</th>
<th>Photo</th>

</tr>
</thead>
<tbody>
<?php

while($result=mysqli_fetch_assoc($sql)){
echo "<tr><td>".$result['id']."</td>";

echo "<td>".$result['name']."</td>";
echo "<td>".$result['fname']."</td>";
echo "<td>".$result['mname']."</td>";
echo "<td>".$result['address']."</td>";

echo "<td>".$result['mobile']."</td>";
echo "<td>".$result['j_date']."</td>";
echo "<td>".$result['dob']."</td>";
44

echo "<td>".$result['post']."</td>";
echo "<td>".$result['gender']."</td>";
echo "<td>".$result['employee_id']."</td>";

?><td><center><img src="images/<?php echo $result['photo']; ?>" width=100


height=80></center></td></tr><?php

}
echo "</tbody></table>";
}else{
echo "there is no record found in your database";
}
}
?>

</p></div> <!-- end show --> </div>


<div class="col-sm-1"> </div> </div>
</div>
<!-- end of header -->
</div> <br> <br>

<!-- Footer -->


<!-- footer start here -->
<div class="container">
<div class="row" style="background:#AAAACD">

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>

</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>

</div>
45

<div class="row" style="background:#aa00CD">


<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div>
</body>
46

CODING FOR SHOW PATIEN


<!DOCTYPE html>
<html lang="en">
<head>

<title>OSCI</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>

<body>

<div class="container">
<p class="btn btn-primary" style="position:absolute;
right:5px; top:5px;"><a href="logout.php" style="text-decoration:none; color:white">Log
out</a></p>

<!-- header start here-->


<div class="row">

<div class="col-sm-12">
<img src="images/dash1.PNG" WIDTH="100%"
height="300" >
<a href="dashboard.php"><h1 style="border-radius:10px;
box-shadow:0 0 10px green;background:yellow; text-align:center; font-size:65px;
color:blue;">Dashboard</h1></a>
</div>

</div>

<!-- end header here-->


<br> <br>
<div class="row">

<div class="col-sm-1"> </div>


<div class="col-sm-10">
<!-- Show --><br>
<div class="row" style="padding:40px; box-shadow:0 0 10px red;">

<div class="col-sm-12" style="background:#FFA500; overflow:scroll; font-size:18px; height:580px;">


<form method="post" action="showpatient.php">
47

<p align="center"><br>

<input type="submit" name="sub" value="Show"> </form>


</p>
<p>
<?php

$conn=mysqli_connect('localhost','root','','hospital');
if(isset($_POST['sub'])){

$con="SELECT * FROM
`addpatient`";
$sql=mysqli_query($conn,$con);
$num=mysqli_num_rows($sql);
if($num>0){

?>
<table class="table table-bordered">
<thead><tr>
<th>ID</th>
<th> Name</th>
<th>Father</th>
<th>Mother</th>
<th>Address</th>
<th>Age</th>
<th>Admit card</th>
<th>Doctor</th>
<th>Disease</th>
</tr>
</thead>
<tbody>
<?php

while($result=mysqli_fetch_assoc($sql)){
echo "<tr><td>".$result['id']."</td>";

echo "<td>".$result['name']."</td>";
echo "<td>".$result['fname']."</td>";
echo "<td>".$result['mname']."</td>";
echo "<td>".$result['address']."</td>";

echo "<td>".$result['age']."</td>";
echo "<td>".$result['admit_date']."</td>";
echo "<td>".$result['doctor']."</td>";
echo "<td>".$result['disease']."</td></tr>";
}
echo "</tbody></table>";
}else{
echo "there is no record found in your database";
}
48

}
?>
</p></div>
<!-- end show -->
</div>
<div class="col-sm-1"> </div>
</div>
</div>
<!-- end of header -->
</div><br> <br>

<!-- Footer -->


<!-- footer start here -->
<div class="container">
<div class="row" style="background:#AAAACD">

<div class="col-sm-4" >

<H3 style="color:white;">ABOUT US </H3>


<H6><a href="#">CAREERS</a></H6>
<H6><a href="#">CONTACT US</a></H6>
<H6><a href="#">MEDEA CENTER</a></H6>

</div>
<div class="col-sm-4" style="color:yellow;">
<H3 style="color:white;">Medical Tour Consultants: </H3>
<H6><a href="#">Ms. Shalini Sharma</a></H6>
<H6><a href="#">+91 9717766080</a></H6>
<H6><a href="#">info@mediconnectindia.com</a></H6>
</div>
<div class="col-sm-4" >
<h3 style="color:white;">Follow us</h3>
<a href="https://www.facebook.com/" class="fa fa-facebook" class="round"></a>
<a href="https://www.twitter.com/" class="fa fa-twitter" class="round"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube" class="round"></a>
<a href="https://www.skype.com/" class="fa fa-skype" class="round"></a>
<a href="https://www.android.com/" class="fa fa-android" class="round"></a>
</div>

</div>
<div class="row" style="background:#aa00CD">
<div class="col-sm-12">
<p align="center">Copyright © 2018 OPTIMAL HELTH CARE| All Rights
Reserved</p>
</div>
</div>
</div>
</body>

Anda mungkin juga menyukai