"; } if ( $temp2[(sizeof ( $temp2) - 1)] == 'view.php') { $query = "SELECT company_name,company_email,phone,fax, `googleverification`, `googleanalytics` FROM ".$site."_admin where `username` = '$website_url' "; $result = mysql_query($query); list ( $companyname, $companyemail, $companyphone, $companyfax, $googleverification, $googleanalytics) = mysql_fetch_row( $result); $query = "SELECT `id`,`title`,`des`,`no_of_doors`,`color`,`vin_no`,`engine_capacity`,`reg_plate1`,`cat`,`make`,`miles`,`fuel`,`model`,`year`,`price`,active,click, `edition` FROM `".$site."_motor` WHERE id = '$id' and `domain` = '$website_url' "; $result = mysql_query($query); $row_array = mysql_fetch_row($result); $sql = "select title from ".$site."_car_make where id = '$row_array[9]'"; $result1 = mysql_query($sql); list ($row_array[9]) = mysql_fetch_row($result1); $sql = "select title from ".$site."_car_model where id = '$row_array[12]'"; $result1 = mysql_query($sql); list ($row_array[12]) = mysql_fetch_row($result1); $sql = "select title from ".$site."_car_category where id = '$row_array[8]'"; $result1 = mysql_query($sql); list ($row_array[8]) = mysql_fetch_row($result1); $sql = "select title from ".$site."_car_fuel_type where id = '$row_array[11]'"; $result1 = mysql_query($sql); list ($row_array[11]) = mysql_fetch_row($result1); $metatitle = "$row_array[9] $row_array[12] $row_array[17] for sale from $companyname $county"; $metades = "$row_array[9] $row_array[12] $row_array[17] for sale from $companyname, call us on $companyphone."; $metakeywords = "$row_array[9] $row_array[12] $row_array[17], $row_array[4], new cars, used cars, for sale, $companyname."; } if ( empty ( $metatitle)) { $metatitle = "Car Dealer v5.0"; } if ( empty ( $metakeywords)) { $metakeywords = "used cars, approved, for sale, cheap, car dealer"; } if ( empty ( $metades)) { $metades = "Welcome to Car Dealer v5.0 online car sales showroom."; } $query = "SELECT company_name,company_email,phone,fax, google_metatag FROM ".$site."_admin where `username` = '$website_url' "; $result = mysql_query($query); list ( $companyname, $companymail, $companyphone, $companyfax, $google_metatag) = mysql_fetch_row( $result); $BANNER = ""; for ( $i = 1; $i < 7; $i++) { $file = "_".$i."_banner.jpg"; if ( file_exists ( "admin/uploaded_photos/$file")) { $BANNER .= "\n".'{ "title" : "", "image" : "/'.$file.'", "url" : "/'.$file.'", "firstline" : "", "secondline" : "" },'; } } ?> <? echo $metatitle; ?>
$webmaster_email"; ?>
01252 318417
'; } ?>
VAUXHALL ASTRA
DESIGN 16V TWINPORT 2006
£1,500
Year Icon
2006
Fuel Icon
Petrol
Gearbox Icon
Manual
Miles Icon
105,000 miles
Colour Icon
Silver
Owners Icon
2 Former Keepers
CO2 Icon
158
BHP Icon
100 Max BHP
CC Icon
1598cc
(4 cylinders)
Top Speed Icon
115 Max MPH
(0-60 12.3 secs)
Drive Icon
2WD
(5 Gears)
MPG Icon
41.5 Av MPG
Urban 32.5
Ext Urban 49.6
NJ56JXB

Description
THIS VEHICLE HAS JUST ARRIVED IN OUR PART EXCHANGE TO CLEAR SECTION,
THIS VEHICLE IS OFFERED IN GOOD CONDITION FOR THE AGE AND MILEAGE, THIS CAR HAS SERVICE HISTORY.
PLEASE CALL TO MAKE AN APPOINMENT AS ALL CARS ARE NOT KEPT ON SITE 01252 318417
Print E-Brochure Finance Option
Features
ABS
CD Player
Central Locking
Driver Airbag
HPI Clear
Finance
Contact Details
$county
$postcode"; ?>
Your Postcode *
" />

Vehicle Enquiry
\n"; print "alert ('Please click the Google Captcha box to verify yourself.');"; print "\n"; // echo "
\n"; } else { $body = "Name: $name\n"; $body .= "Phone: $tel\n"; $body .= "Email: $email\n"; $body .= "\n"; $body .= "Enquiry: $message"; $body .= "\n"; $headers = "From: $website_url <$webmaster_email>\r\nReply-To: $webmaster_email\r\nReturn-Path: $webmaster_email\r\n" . 'X-Mailer: PHP/' . phpversion(); // mail("$webmaster_name <$webmaster_email>", "Enquiry: $row_array[1]", $body, $headers); // mail("$webmaster_name ", "Enquiry: $row_array[1] .... $webmaster_email", $body, $headers); require './geekMail-1.0.php'; $geekMail = new geekMail(); $geekMail->setMailType('html'); $geekMail->from("$webmaster_email", "$webmaster_name"); $geekMail->to("$email", "$name"); $geekMail->cc("$webmaster_email", "$webmaster_name"); //$geekMail->cc(''.$admin_email.''); // $geekMail->bcc('vat129@gmail.com'); // $geekMail->cc('sales@cardealer5.co.uk'); $geekMail->subject("Enquiry: $row_array[1] "); $body = nl2br ( $body); $body = StripSlashes ($body); $body = str_replace ("rn", "
", $body); $geekMail->message("$body"); if (!$geekMail->send()) { $errors = $geekMail->getDebugger(); print_r($errors); } print "\n"; // echo "mail sent..."; } } if ( $showform == 1) { ?> \n"; echo "\n"; echo "\n"; ?>
Name *
Telephone *
Email *
Message / Notes *