-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadvance_search.php
273 lines (227 loc) · 9.15 KB
/
advance_search.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<?php
include("boot.php");
include("lib/db.class.php");
include("lib/auth.class.php");
include("lib/alerts.class.php");
include("lib/advertisement.class.php");
include("lib/user.class.php");
include("lib/general.php");
$alert = new Alerts();
$user = new Users($db);
$adv = new Advertisement($db);
$gen = new General($db);
$user_id = 0;
if ($_REQUEST['action'] == 'serach') {
}
$page_title = "Result for Bugatti virion";
$page_heading = "Result for Bugatti virion";
$page_subheading = "Post your car for sale";
$page_description = "Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. Some Description goes here. ";
?>
<?php include("home/header.php"); ?>
<!-- #search -->
<div id="search" class="dox-template container">
<div class="container_12 clearfix">
<div class="grid_12"><h3 class="page-title">Advanced Search</h3></div>
<!-- #content -->
<div id="content" class="grid_8">
<!-- .post -->
<div class="post-9 page type-page status-publish hentry clearfix" id="post-9">
<!-- .entry-content -->
<div class="entry-content">
<p><em>Donec ut est in lectus consequat consequat. Etiam eget dui.
Aliquam erat volutpat. Sed at lorem in nunc porta tristique. Proin nec
augue. Quisque aliquam tempor magna.</em></p>
</div>
<!-- end - .entry-content -->
<h4 class="section-title section-line">Find Your Car</h4>
<!-- .step-form -->
<div class="step-form">
<!-- .step-alert -->
<div class="step-alert alert alert-error" style="display:none">
<p></p>
</div>
<!-- end .step-alert -->
<!-- .step-form-wrap -->
<div class="step-form-wrap">
<!-- #search-form -->
<div id="search-form">
<form id="searchForm"
action="http://wp.inoart.com/demo/autotrader/search-results/"
method="post" enctype="multipart/form-data">
<div class="form-input form-input-33 clearfix">
<label for="make_model">Make</label>
<select name="make_model[]" id="make_model" multiple="multiple">
<option value="58">Alfa Romeo</option>
<option value="59">Audi</option>
<option value="60">BMW</option>
<option value="62">Chevrolet</option>
<option value="63">Ford</option>
<option value="61">Honda</option>
<option value="64">Hyundai</option>
<option value="129">Infiniti</option>
<option value="123">Jaguar</option>
<option value="125">Lotus</option>
<option value="65">Mercedes</option>
<option value="66">MINI</option>
<option value="133">Smart</option>
<option value="67">Subaru</option>
<option value="68">Toyota</option>
<option value="69">Volkswagen</option>
<option value="70">Volvo</option>
</select>
</div>
<div class="form-input form-input-33 clearfix">
<label for="make_modelsub">Model</label>
<select name="make_modelsub[]" id="make_modelsub"
multiple="multiple" disabled="disabled"></select>
</div>
<div class="form-input form-input-33 clearfix">
<label for="condition">Condition</label>
<select name="condition[]" id="condition" multiple="multiple">
<option value="5">New Cars</option>
<option value="7">Rental Cars</option>
<option value="6">Used Cars</option>
</select>
</div>
<div class="form-input form-input-33 clearfix">
<label for="location">Location</label>
<select name="location[]" id="location" multiple="multiple">
<option value="44">Alabama</option>
<option value="45">Arizona</option>
<option value="46">California</option>
<option value="47">Florida</option>
<option value="48">Indiana</option>
<option value="49">Kentucky</option>
<option value="50">Louisiana</option>
<option value="51">Michigan</option>
<option value="52">Minnesota</option>
<option value="53">New Jersey</option>
<option value="54">New York</option>
<option value="55">Texas</option>
<option value="56">Utah</option>
<option value="57">Washington</option>
</select>
</div>
<div class="form-input form-input-33 clearfix">
<label for="locationsub">City</label>
<select name="locationsub[]" id="locationsub" multiple="multiple" disabled="disabled"></select>
</div>
<div class="form-input form-input-33 clearfix">
<label for="adyear">Year</label>
<select name="adyear[]" id="adyear" multiple="multiple">
<option value="24">2012</option>
<option value="25">2011</option>
<option value="26">2010</option>
<option value="27">2009</option>
<option value="28">2008</option>
<option value="29">2007</option>
<option value="30">2006</option>
<option value="31">2005</option>
<option value="32">2004</option>
<option value="33">2003</option>
<option value="34">2002</option>
<option value="35">2001</option>
</select>
</div>
<div class="form-input form-input-33 clearfix">
<label for="transmission">Transmission</label>
<select name="transmission[]" id="transmission" multiple="multiple">
<option value="8">Automatic</option>
<option value="9">Manual</option>
<option value="10">Tiptronic</option>
</select>
</div>
<div class="form-input form-input-33 clearfix">
<label for="colour">Colour</label>
<select name="colour[]" id="colour" multiple="multiple">
<option value="37">Black</option>
<option value="41">Blue</option>
<option value="39">Gray</option>
<option value="42">Green</option>
<option value="40">Red</option>
<option value="38">Silver</option>
<option value="36">White</option>
<option value="43">Yellow</option>
</select>
</div>
<div class="form-input form-input-33 clearfix">
<label for="fuel_type">Fuel Type</label>
<select name="fuel_type[]" id="fuel_type" multiple="multiple">
<option value="23">Bi-Fuel</option>
<option value="21">Diesel</option>
<option value="19">Hybrid</option>
<option value="22">LPG</option>
<option value="20">Petrol</option>
</select>
</div>
<div class="form-input form-input-50 clearfix">
<label for="body_type">Body Type</label>
<select name="body_type[]" id="body_type" multiple="multiple">
<option value="13">Coupe</option>
<option value="14">Hatchback</option>
<option value="19">Hybrid</option>
<option value="16">MPV</option>
<option value="15">Saloon</option>
<option value="17">Sedan</option>
<option value="18">Sport Utility</option>
</select>
</div>
<div style="float:left;width:100%">
<div class="form-input form-input-50 clearfix">
<label for="cylinders">Cylinders</label>
<input name="cylinders-min" id="cylinders-min" size="9"
maxlength="5" type="text">
<span class="to">to</span>
<input name="cylinders-max" id="cylinders-max" size="9"
maxlength="5" type="text">
</div>
<div class="form-input form-input-50 clearfix">
<label for="doors">Doors</label>
<input name="doors-min" id="doors-min" size="9" maxlength="1" type="text">
<span class="to">to</span>
<input name="doors-max" id="doors-max" size="9" maxlength="1" type="text">
</div>
<div class="form-input form-input-50 clearfix">
<label for="mileage">Mileage</label>
<input name="mileage-min" id="mileage-min" size="9" maxlength="6" type="text">
<span class="to">to</span>
<input name="mileage-max" id="mileage-max" size="9" maxlength="6" type="text">
</div>
<div class="form-input form-input-50 clearfix">
<label for="price">Price</label>
<input name="price-min" id="price-min" size="9" type="text">
<span class="to">to</span>
<input name="price-max" id="price-max" size="9" type="text">
</div>
</div>
<div class="form-input clearfix">
<label for="keyword">Keyword</label>
<input name="keyword" id="keyword" size="60" maxlength="50" type="text">
<div class="clear"></div>
</div>
<div style="float:left;width:100%">
<div class="form-input clearfix">
<input name="auto_search" id="auto_search" value="true" type="hidden">
<input name="searchButton" id="searchButton" class="button" value="Search" type="submit">
</div>
</div>
</form>
</div>
<!-- end - #search-form -->
<div class="clear"></div>
</div>
<!-- .step-form-wrap -->
<div class="clear"></div>
</div>
<!-- end - .step-form -->
</div>
<!-- end - .post -->
</div>
<?php include("home/rightbar.php"); ?>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
<!-- end - #contact-form -->
<?php include("home/footer.php"); ?>