-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.php
139 lines (131 loc) · 4.7 KB
/
test.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
<?php
session_start();
session_destroy();
include("header.php");
include("connect.php");
$query="select * from tbl_feedback";
$res=mysql_query($query);
?>
<!Doctype html>
<html>
<head>
<title>MediCounsel</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.css" rel="stylesheet"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.theme.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".feed-slider").owlCarousel({
items : 8,
itemsTablet : [900,2],
itemsMobile : [680,1],
singleItem:true,
navigation: true,
autoplay:true
});
$(".feed-slider").owlCarousel({
items : 4,
itemsTablet : [900,2],
itemsMobile : [680,1],
navigation:true,
pagination:true,
autoplay:true
});
});
</script>
</head>
<body>
<div class="container-fluid">
<div class="row sliderr">
<div id="demo" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ul class="carousel-indicators">
<li data-target="#demo" data-slide-to="0" class="active"></li>
<li data-target="#demo" data-slide-to="1"></li>
<li data-target="#demo" data-slide-to="2"></li>
</ul>
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active">
<img src="images/MediCounsel_BC.jpg" alt="Medicounsel" class="img-responsive">
</div>
<div class="carousel-item" style="width:100%;">
<img src="images/one_medical_brochure.jpg" alt="broucher" class="img-responsive">
</div>
<div class="carousel-item" style="width:100%;">
<img src="images/hero1.jpg" alt="Doctor" class="img-responsive">
</div>
</div>
</div>
</div>
<div class="row slidetxt">
<div class="col-md-12">
<img src="images/logo.png" alt="Logo" height="50" width="80">
<h3 class="h3 text-info">Medicounsel</h3><br/>
<h1 class="h1 text-info">Search your Doctor,<br/>Make an appointment</h1><br/>
<h3 class="h3 text-info">A new and modern way to approach your Doctor.</h3><br/>
<a href="login.php" class="btn btn-success rounded joom">Book Appointment</a>
</div>
</div>
<div class="row">
<div class="about">
<div class="col-md-4" id="labout">
<h1 class="text-center p-3"><u style="color:#fb7922;">About</u></h1>
<h4 class="text-center">Medicounsel is a plateform for Doctors and Patient to make their work easier, and saves time. Here you can book your appointment from your fevourite doctors. Discuss with other pateints and give feedback.</h4>
<a href="about.php" class="btn btn-success">Read More</a>
<p>
</p>
</div>
<div class="col-md-8" id="rabout">
<h1 class="text-center"><u style="color:#fb7922;">Feedbacks</u></h1>
<div class="feed-slider" style="height:340px;width:100%;margin-left:;">
<?php
while($row=mysql_fetch_array($res,MYSQL_BOTH))
{
?>
<div>
<?php
$pid=$row['pat_id'];
$query2="select name from tbl_patient where pat_id='$pid'";
$res2=mysql_query($query2);
if($row2=mysql_fetch_array($res2,MYSQL_BOTH))
{
?>
<h1 class="text-center"><?php echo $row2['name'] ?></h1>
<hr style="border:5px solid black;"/>
<hr style="border:5px solid black;"/>
<?php } ?>
<h1 class="text-center"><span class="icon fa fa-quote-left"></span></h1>
<h3 class="text-center"><?php echo $row['feedback'] ?></h3>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
<div class="row">
<div id="" class="col-md-12">
<div class="specc" style="background-image:url('images/sur.png');text-align:center;"><br/><br/><h2>Surgon</h2></div>
<div class="specc" style="background-image:url('images/neuro.png');text-align:center;" ><br/><br/><h2>Neuro</h2></div>
<div class="specc" style="background-image:url('images/ortho.png');text-align:center;" ><br/><br/><h2>Ortho</h2></div>
<div class="specc" style="background-image:url('images/heart (1).png');text-align:center;" ><br/><br/><h2>Physician</h2></div>
<div class="specc" style="background-image:url('images/eye.png');text-align:center;" ><br/><h2>Eye Specialist</h2></div>
</div>
</div>
<div class="row">
<div class="col-sm-3">
<img src="images/doc11.jpg" alt="image" class="img-responsive"/>
</div>
<div class="col-sm-3">
<img src="images/bp.jpg" alt="image" class="img-responsive"/>
</div>
<div class="col-sm-3"></div>
<div class="col-sm-3"></div>
</div>
</div>
</body>
</html>
<?php include("footer.php"); ?>