-
Notifications
You must be signed in to change notification settings - Fork 1
/
userinfo.php
188 lines (175 loc) · 5.04 KB
/
userinfo.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?php
include 'config.php';
?>
<!DOCTYPE html>
<html>
<head>
<title>Order form</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="assets/images/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<!-- Bootstrap core CSS -->
<link href="./dist/frontendcss/bootstrap.min.css" rel="stylesheet">
<!-- Additional CSS Files -->
<link rel="stylesheet" href="./dist/frontendcss/fontawesome.css">
<link rel="stylesheet" href="./dist/frontendcss/style.css">
<link rel="stylesheet" href="./dist/frontendcss//owl.css">
<link rel="shortcut icon" href="images/favicon-icon/24x24.png">
<style>
html, body {
height: 100%;
}
body, input, select {
padding: 0;
margin: 0;
outline: none;
font-family: Roboto, Arial, sans-serif;
font-size: 16px;
color: #eee;
}
h1, h3 {
font-weight: 400;
}
h1 {
font-size: 50px;
color:#000000;
}
h3 {
color: #1c87c9;
}
.main-block, .info {
display: flex;
flex-direction: column;
}
.main-block {
justify-content: center;
align-items: center;
width: 100%;
min-height: 100%;
background: url("/uploads/media/default/0001/01/e7a97bd9b2d25886cc7b9115de83b6b28b73b90b.jpeg") no-repeat center;
background-size: cover;
}
form {
width: 80%;
padding: 25px;
margin-bottom: 20px;
background: rgba(0, 0, 0, 0.9);
}
input, select {
padding: 5px;
margin-bottom: 20px;
background: transparent;
border: none;
border-bottom: 1px solid #eee;
}
input::placeholder {
color: #eee;
}
option {
background: black;
border: none;
}
.metod {
display: flex;
}
input[type=radio] {
display: none;
}
label.radio {
position: relative;
display: inline-block;
margin-right: 20px;
text-indent: 32px;
cursor: pointer;
}
label.radio:before {
content: "";
position: absolute;
top: -1px;
left: 0;
width: 17px;
height: 17px;
border-radius: 50%;
border: 2px solid #1c87c9;
}
label.radio:after {
content: "";
position: absolute;
width: 8px;
height: 4px;
top: 5px;
left: 5px;
border-bottom: 3px solid #1c87c9;
border-left: 3px solid #1c87c9;
transform: rotate(-45deg);
opacity: 0;
}
input[type=radio]:checked + label:after {
opacity: 1;
}
button {
display: block;
width: 200px;
padding: 10px;
margin: 20px auto 0;
border: none;
border-radius: 5px;
background: #1c87c9;
font-size: 14px;
font-weight: 600;
color: #fff;
}
button:hover {
background: #095484;
}
@media (min-width: 568px) {
.info {
flex-flow: row wrap;
justify-content: space-between;
}
input {
width: 46%;
}
input.fname {
width: 100%;
}
select {
width: 48%;
}
}
</style>
</head>
<body>
<div class="main-block">
<h1>Order Form</h1>
<form action="success.php" method="post">
<div class="info">
<input class="fname" type="text" name="name" placeholder="Full name" required>
<input type="text" name="email" placeholder="Email" required>
<input type="text" name="phone" placeholder="Phone number" required>
<input type="text" name="address" placeholder="Full delivery Address" required>
<input type="text" name="city" placeholder="City" required>
</div>
<h3>Payment Method</h3>
<div class="metod">
<div>
<input type="radio" value="none" id="radioOne" name="metod" checked/>
<label for="radioOne" class="radio">Cash On delivery</label>
</div>
</div>
<button id= 'sub' button href="/" class="button">Submit</button>
</form>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Additional Scripts -->
<script src="assets/js/custom.js"></script>
<script src="assets/js/owl.js"></script>
</div>
</body>
</html>