-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_rest_form.php
73 lines (71 loc) · 2.31 KB
/
add_rest_form.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
<!DOCTYPE html>
<html>
<head>
<title>Create Restaurant | Gourmet</title>
<link type="text/css" rel="stylesheet" href="css/signup.css" />
</head>
<body>
<div class="header">
<div class="header_top" >
<div class="left_buttons">
<a href="./food_list.php" class="header_hover" >Cuisines</a>
<a href="./rest_list.php">Restaurant</a>
</div>
<div class="right_buttons">
<?php
include('login_buttons.php');
?>
</div>
</div>
</div>
<div class="headerbg"></div>
<center>
<form class="formx" action='add_rest.php' method='post'>
<div class="formbgcolor">
<label>
<input type='text' name='name' required>
<div class="label-text">Restaurant Name</div>
</label>
<label>
<input type='text' name='address' required>
<div class="label-text">Address</div>
</label>
<label>
<input type='text' name='twon' required>
<div class="label-text">Town</div>
</label>
<label>
<input type='text' name='star' required>
<div class="label-text">Restaurant Rating</div>
</label>
<label>
<input type='text' name='mobile_no' required>
<div class="label-text">Contact Number</div>
</label>
<label>
<input class='time' type=time name='open_time' required>
<div class="label-text">Opening Time</div>
</label>
<label>
<input class='time' type='time' name='close_time' required>
<div class="label-text">Closing Time</div>
</label>
<label>
<select name='veg/nonveg' class='selectop'>
<option value='Veg'>Veg</option>
<option value='NonVeg'>Non Veg</option>
<option value='Both'>Both</option>
</select>
</label>
<label>
<input type='text' name='no' required>
<div class="label-text">No of Seats for Booking</div>
</label>
<br>
<button type='submit'>Create Restaurant</button><br><br>
</div>
</form>
</center>
<br><br>
</body>
</html>