-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
125 lines (111 loc) · 4.68 KB
/
contact.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
<html>
<head>
<title>Doctor World | Contact Us </title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600&subset=cyrillic,latin">
<link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/header.css">
<link rel="stylesheet" href="assets/css/footer.css">
<link rel="stylesheet" href="assets/plugins/line-icons-pro/styles.css">
<link rel="stylesheet" href="assets/plugins/line-icons/line-icons.css">
<link rel="stylesheet" href="assets/plugins/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/plugins/sky-forms-pro/skyforms/css/sky-forms.css">
<link rel="stylesheet" href="assets/plugins/sky-forms-pro/skyforms/custom/custom-sky-forms.css">
<link rel="stylesheet" href="assets/css/custom.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="utils.css">
<link rel="stylesheet" href="service.css">
<link rel="stylesheet" href="About.css">
<link rel="stylesheet" href="custom.css">
<link rel="stylesheet" href="blog_timeline.css">
<link rel="stylesheet" href="footer.css">
<link rel="stylesheet" href="header.css">
<link rel="stylesheet" href="style.css">
</head>
<body class='overflow-x-hidden' style="background-image: url('images/Doctor3.png');">
<div class="container mx-auto">
<header>
<nav class="flex justify-between">
<div class=" Logo font-bold flex items-center text-blue">
<span style="font-size: 20px;">Doctor World</span>
<img src="images/Doctor.png" alt="Doctor" class="Image1" style="height: 80px; width: 80px;">
</div>
<ul class="navbar flex items-center" >
<li><Button class="btn" onClick="location.href='index.php'">Home</Button></li>
<li><Button class="btn" onClick="location.href='Service.php'">Services</Button></li>
<li><Button class="btn" onClick="location.href='About.php'">About Us</Button></li>
<li><Button class="btn" onClick="location.href='Doctors.php'">Doctors</Button></li>
<li><Button class="btn" onClick="location.href='contact.php'">Contact us</Button></li>
<li><Button class="btn" onClick="location.href='registration.php'">Registration</Button></li>
<li><Button class="btn" onClick="location.href='login.php'">Login</Button></li>
<?php
session_start();
if(isset($_SESSION['flag'])) {
if($_SESSION['flag'] == 'Login'){
?>
<li><Button class="btn" onClick="location.href='Appointment.php'">Book Appointment</Button></li>
<li><Button class="btn" onClick="location.href='backend/logout.php'">Logout</Button></li>
<?php
}
}
?>
</ul>
</nav>
</header>
<div class="container content">
<div class="row " style="margin-bottom: 30px;">
<div class="col-md-12" style="margin-bottom: 30px;">
<div class="headline">
<h1 class="box2">Contact Us</h1>
</div>
<form onsubmit="showMsg(0);return false;" method="post" class="sky-form sky-changes-3" action="backend/contact.php" autocomplete="off">
<fieldset>
<div class="row">
<section class="col col-6">
<label class="label">Name</label>
<label class="input">
<i class="icon-append fa fa-user"></i>
<input type="text" name="name" id="name" required>
</label>
</section>
<section class="col col-6">
<label class="label">E-mail</label>
<label class="input">
<i class="icon-append fa fa-envelope-o"></i>
<input type="email" name="email" id="email" required>
</label>
</section>
<section class="col col-6">
<label class="label">Mobile Number</label>
<label class="input">
<i class="icon-append fa fa-phone"></i>
<input type="number" name="number" id="number" min="0" required>
</label>
</section>
<section class="col col-6">
<label class="label">Subject</label>
<label class="input">
<i class="icon-append fa fa-tag"></i>
<input type="text" name="subject" id="subject" required>
</label>
</section>
</div>
<section>
<label class="input">
<label class="label">Message</label>
<label class="textarea">
<i class="icon-append fa fa-comment"></i>
<textarea rows="2" name="message" id="message" required></textarea>
</label>
</label>
</section>
<footer>
<button type="submit" class="btn btn-u">Send Message</button>
</footer>
</fieldset>
</form>
</div>
</div>
</div>
</body>
</html>