-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbook.php
162 lines (160 loc) · 8.14 KB
/
book.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
161
162
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js"
integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<style>body{overflow-x:hidden;}
body{
background:url('images/background.jpg');
overflow:hidden;
}
#btn{
border-radius:7px;
background:#FDFEFE;
border-bottom:5px solid #0462B6;
color:#0462B6;
}
</style>
<title>guesthouse</title>
<li class="nav-item">
<button class="head"><a class="nav-link"href="index.php" style="" >Home</a>
</li>
</head>
<body>
<div class="main">
<div class="data">
<div class="row">
<div class="col-md-6">
<center>
<div class="header" style="padding-bottom:0px;">
<h1 style="font-family: 'Raleway', sans-serif;padding:20px; color:white; font-weight:bold;">Guest House Booking </h1>
<ul class="nav nav-pills mb-3 justify-content-center" id="pills-tab" role="tablist" style=" font-family:'Oswald',sans-serif;padding:10px;">
<li class="nav-item">
<a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab"
style="color:white;" aria-controls="pills-home" aria-selected="true">Faculty</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab"
style="color:white;" aria-controls="pills-profile" aria-selected="false">Student Related</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-contact-tab" data-toggle="pill" href="#pills-contact" role="tab"
style="color:white;" aria-controls="pills-contact" aria-selected="false">Other</a>
</li>
</ul>
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
<form method="POST" action="db.php" style="font-size:150%;font-family:'Oswald',sans-serif;padding:50px;padding-bottom:0px;">
<p>
<label for="name"><i class="fas fa-user-circle"></i></label>
<input type="text" name="name" value="" required placeholder="Enter your name" size="30"
style="border-radius:5px;"></input><br/>
</p>
<p>
<label for="name"><i class="fas fa-at"></i></label>
<input type="text" name="email" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$"
style="border-radius:5px;" placeholder="Enter your email address" size="30"></input><br/>
</p>
<p>
<label for="name"><i class="fas fa-phone"></i></label>
<input type="tel" name="phone" required maxlength="10"
style="border-radius:5px;" placeholder="Enter your mobile number" size="30"></input><br/>
</p>
<p>
<label for="reference"><i class="fas fa-id-badge" style="font-size:140%;"></i></label>
<input type="text" name="reference" required
style="border-radius:5px;" placeholder="Enter your reference number" size="30"></input>
</p>
<p>
<input type="submit" name="submit" value="Book" id="btn" style="width:300px; margin-left:30px;"></input></p>
</form>
<div>
<h1 style="font-family: 'Raleway', sans-serif;">Cost Per room: $4000</h1></div>
</div>
<div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
<form method="POST" action="db.php" style="font-size:130%;font-family:'Oswald',sans-serif;padding:30px; padding-top:0px;padding-bottom:0px;">
<p>
<label for="name"><i class="fas fa-user-circle"></i></label>
<input type="text" name="name" value="" required autofocus
style="border-radius:5px;" placeholder="Enter your name" size="35"></input><br/></p>
<p>
<label for="name"><i class="fas fa-at"></i></label>
<input type="text" name="email" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$"
style="border-radius:5px;" placeholder="Enter your email address" size="35"></input><br/></p>
<p>
<label for="name"><i class="fas fa-phone"></i></label>
<input type="tel" name="phone" required maxlength="10"
style="border-radius:5px;" placeholder="Enter your mobile number" size="35"></input><br/></p>
<p>
<label for="namestudent"><i class="far fa-user"></i></label>
<input type="text" name="namestudent" required
style="border-radius:5px;" placeholder="Enter the name of the student" size="35"></input><br/></p>
<p>
<label for="year"><i class="far fa-calendar-alt"></i></label>
<input type="tel" name="year" required
style="border-radius:5px;" placeholder="Enter the student's year" size="35"></input><br/></p>
<p>
<label for="reg"><i class="fas fa-registered"></i></label>
<input type="tel" name="reg" required
style="border-radius:5px;" placeholder="Enter the student's Registration number" size="35"></input><br/></p>
<p>
<label for="relation"><i class="fas fa-link"></i></label>
<input type="text" name="relation" required
style="border-radius:5px;" placeholder="Enter your relation with the student" size="35"></input><br/></p>
<input type="submit" name="submit" value="Book" id="btn" style="width:300px; margin-left:30px;"></input>
</form>
<h5 style="font-family: 'Raleway', sans-serif;">Cost Per room:</h5>
</div>
<div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab">
<form method="POST" action="db.php" style="font-size:150%;font-family:'Oswald',sans-serif;padding:50px;padding-bottom:0px;">
<p>
<label for="name"><i class="fas fa-user-circle"></i></label>
<input type="text" name="name" value="" required autofocus
style="border-radius:5px;" placeholder="Enter your name" size="40"></input><br/>
</p>
<p>
<label for="name"><i class="fas fa-at"></i></label>
<input type="text" name="email" required pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$"
style="border-radius:5px;" placeholder="Enter your email address" size="40"></input><br/>
</p>
<p>
<label for="name"><i class="fas fa-phone"></i></label>
<input type="tel" name="phone" required maxlength="10"
style="border-radius:5px;" placeholder="Enter your mobile number" size="40"></input><br/>
</p>
<p>
<label for="purpose"><i class="fas fa-info-circle"></i></label>
<input type="text" name="purpose" required
style="border-radius:5px;" placeholder="Enter your purpose to visit" size="40"></input><br/>
</p>
<p>
<label for="affiliated"><i class="fab fa-affiliatetheme"></i></label>
<input type="text" name="affiliated" required
style="border-radius:5px;" placeholder="Enter the college/company you are affiliated to" size="40"></input><br/>
</p>
<input type="submit" name="submit" value="Book" id="btn" style="width:300px; margin-left:30px;"></input>
</form>
<div>
<h1 style="font-family: 'Raleway', sans-serif;">Cost Per room:</h1></div>
</div>
</div>
</div>
</center>
</div>
<div class="col-md-6" style="padding-left:0px;margin-left:-20px;">
<img src="images/test.jpg" class="img-responsive">
</div>
</div>
</div>
</div>
</body>
</html>