0){ $carRow = mysqli_fetch_object($carRes); $imgArr = array(); if($carRow->img != ''){$imgArr[] = array(stripslashes($carRow->img), stripslashes($carRow->img_title));} if($carRow->img2 != ''){$imgArr[] = array(stripslashes($carRow->img2), stripslashes($carRow->img2_title));} if($carRow->img3 != ''){$imgArr[] = array(stripslashes($carRow->img3), stripslashes($carRow->img3_title));} if($carRow->img4 != ''){$imgArr[] = array(stripslashes($carRow->img4), stripslashes($carRow->img4_title));} $car_name = stripslashes($carRow->car_name); $siteTitle = stripslashes($carRow->meta_title); $pageTitle = ''.$car_name.''; $breadcrumb = array( array('car-rental.php', 'Rental Cars'), array('', $car_name) ); $seoKeywords = stripslashes($carRow->meta_keyword); $seoDesc = stripslashes($carRow->meta_desc); } } if(!isset($carRow)){ $siteTitle = 'Error! Car not Found!'; $pageTitle = 'Error! Car not Found!'; $breadcrumb = array( array('', 'View Car') ); $seoKeywords = ''; $seoDesc = ''; } $h = array( 'siteTitle' => $siteTitle, 'pageTitle' => $pageTitle, 'breadcrumb' => $breadcrumb, 'headerImg' => $settings[14], 'seoKeywords' => $seoKeywords, 'seoDesc' => $seoDesc ); ?>
$arr): ?>
    $arr): ?>
  • Icon Seats
  • Icon Luggage
  • Icon Gear Type
  • Icon Engine Type
Get a Quote
available == 1): ?>
Car not Available to Reserve.
main_cat_id.' AND cr.id != '.$carRow->id.' ORDER BY cr.id DESC LIMIT 4 '; //echo $relevantSql; $relevantRes = mysqli_query($con, $relevantSql); ?> 0): ?>

Related Cars

id; $car_name = stripslashes($relevantRow->car_name); if(strpos($relevantRow->img, '/images') !== false){ $imgPath = '.'.stripslashes($relevantRow->img); }else { $imgPath = './images/cars/'.stripslashes($relevantRow->img); } $carUrl = makePermaLink($car_name).'-'.$id.'.php'; $img_title = stripslashes($relevantRow->img_title); if($relevantRow->available == 1){ $linkText = 'get a quote'; }else { $linkText = 'Not Available'; } ?>