| 17794 |
naman |
1 |
<script>
|
|
|
2 |
$(document).ready(function(){
|
|
|
3 |
|
|
|
4 |
$("#state").val('<?php echo $getstateval;?>');
|
|
|
5 |
$('#submitdata').click(function(){
|
|
|
6 |
|
|
|
7 |
if($('#pin').val().length!=6)
|
|
|
8 |
{
|
|
|
9 |
$("#pin").next().html('Invalid Pin');
|
|
|
10 |
$("#pin").css({"border":"red solid 1px"});
|
|
|
11 |
|
|
|
12 |
}
|
|
|
13 |
else
|
|
|
14 |
{
|
|
|
15 |
$("#pin").next().html('');
|
|
|
16 |
$("#pin").css({"border":"#58d936 solid 1px"});
|
|
|
17 |
}
|
|
|
18 |
|
|
|
19 |
if($('#phone').val().length!=10)
|
|
|
20 |
{
|
|
|
21 |
$("#phone").next().html('Invalid Phone Number');
|
|
|
22 |
$("#pin").css({"border":"red solid 1px"});
|
|
|
23 |
}
|
|
|
24 |
else
|
|
|
25 |
{
|
|
|
26 |
$("#phone").next().html('');
|
|
|
27 |
$("#pin").css({"border":"#58d936 solid 1px"});
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
});
|
|
|
32 |
});
|
|
|
33 |
</script>
|
|
|
34 |
|
|
|
35 |
<style>
|
|
|
36 |
|
|
|
37 |
#footer{
|
|
|
38 |
position:fixed;
|
|
|
39 |
/*height:50px;*/
|
|
|
40 |
/*background-color:red;*/
|
|
|
41 |
bottom:0px;
|
|
|
42 |
left:0px;
|
|
|
43 |
right:0px;
|
|
|
44 |
margin-bottom:0px;
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
* {
|
|
|
48 |
padding: 0;
|
|
|
49 |
margin: 0;
|
|
|
50 |
}
|
|
|
51 |
a {
|
|
|
52 |
text-decoration: none;
|
|
|
53 |
-webkit-tap-highlight-color: rgba(0,0,0,0.1);
|
|
|
54 |
color: #000;
|
|
|
55 |
}
|
|
|
56 |
input,
|
|
|
57 |
select,
|
|
|
58 |
a,
|
|
|
59 |
div {
|
|
|
60 |
-webkit-tap-highlight-color: rgba(0,0,0,0.2);
|
|
|
61 |
}
|
|
|
62 |
input:active,
|
|
|
63 |
select:active,
|
|
|
64 |
a:active,
|
|
|
65 |
.btn:active {
|
|
|
66 |
background: rgba(0,0,0,0.2);
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
input {
|
|
|
71 |
outline: 0;
|
|
|
72 |
-webkit-appearance: none;
|
|
|
73 |
-moz-appearance: none;
|
|
|
74 |
-o-appearance: none;
|
|
|
75 |
appearance: none;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
select {
|
|
|
79 |
-webkit-appearance: none;
|
|
|
80 |
-moz-appearance: none;
|
|
|
81 |
-o-appearance: none;
|
|
|
82 |
appearance: none;
|
|
|
83 |
}
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
* html .clearfix {
|
|
|
87 |
height: 1px;
|
|
|
88 |
}
|
|
|
89 |
select::-ms-expand {
|
|
|
90 |
display: none;
|
|
|
91 |
color: #ffffff;
|
|
|
92 |
}
|
|
|
93 |
select::selection {
|
|
|
94 |
background-color: black;
|
|
|
95 |
}
|
|
|
96 |
input[type="checkbox"]::-ms-check {
|
|
|
97 |
display: none;
|
|
|
98 |
}
|
|
|
99 |
|
|
|
100 |
select {
|
|
|
101 |
width: 100%;
|
|
|
102 |
appearance: none;
|
|
|
103 |
-webkit-appearance: none;
|
|
|
104 |
border: #58d936 solid 1px;
|
|
|
105 |
color: #555555;
|
|
|
106 |
border-radius: 6px;
|
|
|
107 |
outline: none;
|
|
|
108 |
padding: 4px;
|
|
|
109 |
display: block;
|
|
|
110 |
box-sizing: border-box;
|
|
|
111 |
-webkit-box-sizing: border-box;
|
|
|
112 |
-moz-box-sizing: border-box;
|
|
|
113 |
/*font: normal 1.4em/1.2em Helvetica, Arial, sans-serif;*/
|
|
|
114 |
/*margin: 2px 0 8px 0;*/
|
|
|
115 |
margin: 2px 0 0px 0;
|
|
|
116 |
background: url('../images/dropdown.PNG') no-repeat 99% 16px, #ffffff;
|
|
|
117 |
background-size: 20px, 100%;
|
|
|
118 |
}
|
|
|
119 |
.shipping-cont {
|
|
|
120 |
margin:7px 2px;
|
|
|
121 |
padding: 12px 7px;
|
|
|
122 |
background: white;
|
|
|
123 |
}
|
|
|
124 |
.shipping-cont form {
|
|
|
125 |
padding: 0px 0;
|
|
|
126 |
}
|
|
|
127 |
.shipping-cont form fieldset {
|
|
|
128 |
border: none;
|
|
|
129 |
}
|
|
|
130 |
|
|
|
131 |
.shipping-cont label span {
|
|
|
132 |
color: red;
|
|
|
133 |
}
|
|
|
134 |
/*.shipping-cont input[type="submit"] {
|
|
|
135 |
float: left;
|
|
|
136 |
width: 100%;
|
|
|
137 |
margin: 10px 0;
|
|
|
138 |
background: #ff7201;
|
|
|
139 |
color: #ffffff;
|
|
|
140 |
font: normal 1.8em/1.2em Helvetica, Arial, sans-serif;
|
|
|
141 |
text-align: center;
|
|
|
142 |
padding: 5px 0;
|
|
|
143 |
text-transform: uppercase;
|
|
|
144 |
appearance: none;
|
|
|
145 |
-webkit-appearance: none;
|
|
|
146 |
-moz-appearance: none;
|
|
|
147 |
border: none;
|
|
|
148 |
}*/
|
|
|
149 |
|
|
|
150 |
label{
|
|
|
151 |
margin:0px;
|
|
|
152 |
padding:0px;
|
|
|
153 |
}
|
|
|
154 |
|
|
|
155 |
input[type="text"],
|
|
|
156 |
input[type="number"],
|
|
|
157 |
input[type="date"],
|
|
|
158 |
textarea {
|
|
|
159 |
width: 100%;
|
|
|
160 |
appearance: none;
|
|
|
161 |
-webkit-appearance: none;
|
|
|
162 |
-moz-appearance: none;
|
|
|
163 |
border: #58d936 solid 1px;
|
|
|
164 |
color: #555;
|
|
|
165 |
border-radius: 6px;
|
|
|
166 |
outline: none;
|
|
|
167 |
padding: 5px;
|
|
|
168 |
display: block;
|
|
|
169 |
box-sizing: border-box;
|
|
|
170 |
-webkit-box-sizing: border-box;
|
|
|
171 |
-moz-box-sizing: border-box;
|
|
|
172 |
font: normal 1.2em Helvetica, Arial, sans-serif;
|
|
|
173 |
/*margin: 2px 0 8px 0;*/
|
|
|
174 |
margin: 2px 0 0px 0;
|
|
|
175 |
}
|
|
|
176 |
|
|
|
177 |
textarea{
|
|
|
178 |
resize: none;
|
|
|
179 |
}
|
|
|
180 |
|
|
|
181 |
.error_msg {
|
|
|
182 |
padding: 5px 5px 5px 28px;
|
|
|
183 |
display: block;
|
|
|
184 |
border: #fc1f1f dashed 1px;
|
|
|
185 |
color: #fc1f1f;
|
|
|
186 |
font: normal 1.4em/1.2em Helvetica, Arial, sans-serif;
|
|
|
187 |
margin: 0 5px;
|
|
|
188 |
/*background: url(../images/error-notification.png) no-repeat 5px center;*/
|
|
|
189 |
background-size: 20px;
|
|
|
190 |
margin-bottom: 10px;
|
|
|
191 |
}
|
|
|
192 |
|
|
|
193 |
.form_submit{
|
|
|
194 |
width:100%;
|
|
|
195 |
}
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
</style>
|
|
|
200 |
|
|
|
201 |
<div class='container' style='margin-bottom:50px;'>
|
|
|
202 |
<div class='row' style="padding-bottom:40px;">
|
|
|
203 |
<div class='col-xs-12' style='padding:0px'>
|
|
|
204 |
|
|
|
205 |
<div class="shipping-cont">
|
|
|
206 |
<div id="error" class="error_msg" style="display:none">
|
|
|
207 |
</div>
|
|
|
208 |
<form method="post" action="<?php echo $base_url;?>shippings/add" name='form2' id='form2' class="address-form"
|
|
|
209 |
<fieldset>
|
|
|
210 |
<legend>Add New Address: <input type="submit" name="submit" value="Save" class='btn btn-success' id='form_submit' style='float:right;'/></legend>
|
|
|
211 |
<label>Name<span>*</span></label>
|
|
|
212 |
<input type="text" id="" name="name" placeholder= "<?php echo $_COOKIE['name'];?>"/>
|
|
|
213 |
<label>Address<span>*</span></label>
|
|
|
214 |
<textarea rows="2" id="line1" name="line1" required></textarea>
|
|
|
215 |
<!-- <input type="text" id="line1" name="line1" required/> -->
|
|
|
216 |
|
|
|
217 |
<div class='row' style='padding-bottom:5px'>
|
|
|
218 |
<div class='col-xs-6' style='padding:0px 5px 0px 0px ;'>
|
|
|
219 |
<label>City<span>*</span></label>
|
|
|
220 |
<input type="text" id="city" name="city" required/>
|
|
|
221 |
|
|
|
222 |
<label>Phone<span>*</span></label>
|
|
|
223 |
<input type="text" id="phone" name="phone" pattern="\d.{9,9}" required title="Invalid Phone number.."/>
|
|
|
224 |
</div>
|
|
|
225 |
<div class='col-xs-6' style='padding:0px 0px 0px 5px ;'>
|
|
|
226 |
<label>State<span>*</span></label>
|
|
|
227 |
<select id="state" name="state" required>
|
|
|
228 |
<option value="">Select State</option>
|
|
|
229 |
<option value="Andaman & Nicobar Island">Andaman & Nicobar Island</option>
|
|
|
230 |
<option value="Andhra Pradesh">Andhra Pradesh</option>
|
|
|
231 |
<option value="Arunachal Pradesh">Arunachal Pradesh</option>
|
|
|
232 |
<option value="Assam">Assam</option>
|
|
|
233 |
<option value="Bihar">Bihar</option>
|
|
|
234 |
<option value="Chandigarh">Chandigarh</option>
|
|
|
235 |
<option value="Chattisgarh">Chattisgarh</option>
|
|
|
236 |
<option value="Dadra & Nagar Haveli">Dadra & Nagar Haveli</option>
|
|
|
237 |
<option value="Daman & Diu">Daman & Diu</option>
|
|
|
238 |
<option value="Delhi">Delhi</option>
|
|
|
239 |
<option value="Goa">Goa</option>
|
|
|
240 |
<option value="Gujarat">Gujrat</option>
|
|
|
241 |
<option value="Haryana">Haryana</option>
|
|
|
242 |
<option value="Himachal Pradesh">Himachal Pradesh</option>
|
|
|
243 |
<option value="Jammu & Kashmir">Jammu & Kashmir</option>
|
|
|
244 |
<option value="Jharkhand">Jharkhand</option>
|
|
|
245 |
<option value="Karnataka">Karnataka</option>
|
|
|
246 |
<option value="Kerala">Kerala</option>
|
|
|
247 |
<option value="Lakshadweep">Lakshadweep</option>
|
|
|
248 |
<option value="Madhya Pradesh">Madhya Pradesh</option>
|
|
|
249 |
<option value="Maharashtra">Maharashtra</option>s
|
|
|
250 |
<option value="Manipur">Manipur</option>
|
|
|
251 |
<option value="Meghalaya">Meghalaya</option>
|
|
|
252 |
<option value="Mizoram">Mizoram</option>
|
|
|
253 |
<option value="Nagaland">Nagaland</option>
|
|
|
254 |
<option value="Orissa">Orissa</option>
|
|
|
255 |
<option value="Pondicherry">Pondicherry</option>
|
|
|
256 |
<option value="Punjab">Punjab</option>
|
|
|
257 |
<option value="Rajasthan">Rajasthan</option>
|
|
|
258 |
<option value="Sikkim">Sikkim</option>
|
|
|
259 |
<option value="Tamil Nadu">Tamil Nadu</option>
|
|
|
260 |
<option value="Tripura">Tripura</option>
|
|
|
261 |
<option value="Uttar Pradesh">Uttar Pradesh</option>
|
|
|
262 |
<option value="Uttarakhand">Uttarakhand</option>
|
|
|
263 |
<option value="West Bengal">West Bengal</option>
|
|
|
264 |
</select>
|
|
|
265 |
|
|
|
266 |
<label>Pincode<span>*</span></label>
|
|
|
267 |
<input placeholder='<?php echo $_COOKIE['pin'];?>' type="text" id="pin" name="pin" pattern="\d.{5,5}" title="Invalid Pin" />
|
|
|
268 |
</div>
|
|
|
269 |
</div>
|
|
|
270 |
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
<span style='color:red;'></span>
|
|
|
277 |
|
|
|
278 |
</fieldset>
|
|
|
279 |
</form>
|
|
|
280 |
|
|
|
281 |
|
|
|
282 |
</div>
|
|
|
283 |
</div>
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
<div class='row' style='padding:0px;' id='footer'>
|
|
|
287 |
<div class='col-xs-12' style='background-color:white;padding:5px; width:100%;'>
|
|
|
288 |
<h4>Total payable Amount: Rs. 1000000/-<br>
|
|
|
289 |
<a href="#" style=' padding-right:2px;color:blue;font-size:15px;'>Other Pay Option</a>
|
|
|
290 |
<button class='btn btn-success' style='float:right;'>Confirm Order via COD</button>
|
|
|
291 |
|
|
|
292 |
</div>
|
|
|
293 |
</div>
|
|
|
294 |
</div>
|