View difference between Paste ID: S70uWNQr and DGhrqgf9
SHOW: | | - or go back to the newest paste.
1
<?php
2
3-
session_start();
3+
$vehicle_types = array();
4-
require_once(__DIR__ . "/api/database.php");
4+
$vehicle_types[0] = "Convertibles";
5-
require_once(__DIR__ . "/api/api.classifieds.php");
5+
$vehicle_types[1] = "Crossovers";
6
$vehicle_types[2] = "Luxury Vehicles";
7-
include("ad_datas.php");
7+
$vehicle_types[3] = "Hybrids";
8
$vehicle_types[4] = "Minivans and Vans";
9-
?>
9+
$vehicle_types[5] = "Pickup Trucks";
10
$vehicle_types[6] = "Sedan and Coupes";
11-
<form>
11+
$vehicle_types[7] = "Sports Utilities";
12-
<select>
12+
$vehicle_types[8] = "Sports Cars";
13-
	
13+
$vehicle_types[9] = "Wagons";
14-
	<?php
14+
$vehicle_types[10] = "4WD/AWD";
15-
	
15+
$vehicle_types[11] = "Rocket Fuel srs";
16-
		foreach($vehicle_types as $vehicle) {
16+
17-
			echo "<option value='{$vehicle}'>" . $vehicle . "</option>";
17+
$transmission_types = array();
18-
		}
18+
$transmission_types[0] = "Automatic";
19-
	?>
19+
$transmission_types[1] = "Manual";
20
21-
</select>
21+
$fuel_types = array();
22-
</form>
22+
$fuel_types[0] = "Gas";
23
$fuel_types[1] = "Diesel";
24
$fuel_types[2] = "Electric";
25
$fuel_types[3] = "Rocket Fuel";
26
$fuel_types[4] = "Pixie Dust";
27
28
$property_types = array();
29
$property_types[0] = "House";
30
$property_types[1] = "Condo";
31
$property_types[2] = "Apartment for Rent";
32
$property_types[3] = "Apartment for Sale";
33
34
$misc_category = array();
35
36
37
?>