Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- set_time_limit(0);
- error_reporting(0);
- /////////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////////
- $AdresaBazaDate = "localhost:/tmp/mysql5.sock";//db address
- $UtilizatorBazaDate = "dbo375604597";//db user
- $ParolaBazaDate = "haracajna";//db pass
- $NumeBazaDate = "db375604597";//db name
- $conexiune = mysql_connect($localhost:/tmp/mysql5.sock,$dbo375604597,$haracajna) or die("Cannot connect to MySQL Server!");
- mysql_select_db($db375604597, $conexiune) or die("Searching for database <b>$db375604597</b>.... NOT FOUND!");
- ////////////////////////////////DO NOT CHANGE BELLOW/////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////////
- require_once('functions.php');
- /////////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////////
- $sitesets = sitesets();
- /////////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////////
- $features = array("index.php" => "Homepage",
- "search-auto.php" => "Search Auto",
- "submit-auto.php" => "Submit Auto",
- "rssfeed.php" => "RSS Feed",
- "contact-us.php" => "Contact Us");
- if(checkLogged() == true) {
- $features["logout.php"] = "Log out";
- }else{
- $features["login.php"] = "Log in";
- }
- /////////////////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////////////////
- $bodyStyles = array('Hatchback','Convertible','Truck','Van','Wagon','SUV','Coupe','Sedan','Crossover');
- $transmissions = array('manual','semi-automatic','automatic');
- $fuels = array('gasoline','gas','diesel');
- $doorsCount = array('2','3','4','5');
- ////////////////////////////////////////////////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////////////
- $carDetails = array(
- "Body Style" => "bodyStyle",
- "Mileage" => "mileAge",
- "Exterior Color " => extColor,
- "Interior color" => "intColor",
- "engine",
- "transmission",
- "Doors Count" => "doorsCount",
- "Fuel Type" => "fuelType",
- "Location" => "countryCity",
- "Contact Name" => "contactName",
- "Contact No." => "contactNo",
- "price"
- );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement