-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOrder.php
More file actions
120 lines (112 loc) · 3.7 KB
/
Copy pathOrder.php
File metadata and controls
120 lines (112 loc) · 3.7 KB
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
<?php include("header.html") ?>
<head>
<style>
body {
font-family: Arial, sans-serif;
background-color: #fffaf0;
margin: 0;
padding: 0;
}
#Order {
width: 100%;
padding: 50px 0;
background-color: #f0f8ff;
display: flex;
justify-content: center;
}
.order-form {
background: white;
padding: 30px;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
width: 90%;
max-width: 500px;
}
.order-form h2 {
text-align: center;
color: #d2691e;
margin-bottom: 20px;
}
.form-group {
margin-bottom: 15px;
}
label {
font-weight: bold;
color: #333;
display: block;
margin-bottom: 5px;
}
input, textarea, select {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 16px;
outline: none;
transition: border-color 0.3s ease;
}
input:focus, textarea:focus, select:focus {
border-color: #d2691e;
}
textarea {
resize: none;
height: 80px;
}
.submit-btn {
width: 100%;
padding: 12px;
background-color: #d2691e;
color: white;
font-size: 18px;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s ease;
}
.submit-btn:hover {
background-color: #a0522d;
}
</style>
</head>
<body>
<div id="Order">
<form class="order-form" action="connect.php" method="POST">
<h2>Place Your Order</h2>
<div class="form-group">
<label>Customer Name</label>
<input type="text" name="customer_name" placeholder="Enter your name" required>
</div>
<div class="form-group">
<label>Mobile Number</label>
<input type="tel" name="mobile" placeholder="Enter your mobile no." required>
</div>
<div class="form-group">
<label>Email</label>
<input type="email" name="email" placeholder="Enter your email" required>
</div>
<div class="form-group">
<label>Select Dish</label>
<select name="dish" required>
<option value="">-- Select Dish --</option>
<option>Paneer Butter Masala</option>
<option>Chicken Biryani</option>
<option>Mutton Rogan Josh</option>
<option>Dal Makhani</option>
<option>Garlic Naan</option>
<option>Veg Pulao</option>
<option>Tandoori Chicken</option>
</select>
</div>
<div class="form-group">
<label>Quantity</label>
<input type="number" name="quantity" min="1" placeholder="Enter quantity" required>
</div>
<div class="form-group">
<label>Special Request</label>
<textarea name="special_request" placeholder="Any special instructions..."></textarea>
</div>
<button type="submit" class="submit-btn">Submit Order</button>
</form>
</div>
</body>
<?php include("footer.html") ?>