0) { $_SESSION["ses_monthly_upto"] = $monthly_upto; $_SESSION["ses_monthly_more"] = 0; } if ( $monthly_more > 0) { $_SESSION["ses_monthly_more"] = $monthly_more; $_SESSION["ses_monthly_upto"] = 0; } if ( $monthly_service == "reset") { $_SESSION["ses_monthly_upto"] = $_SESSION["ses_monthly_more"] = 0; } // $_SESSION["ses_monthly_upto"] = 450; // $_SESSION["ses_monthly_1"] = $monthly_1 - 1; // $_SESSION["ses_monthly_2"] = $monthly_2 + 1; // $_SESSION["ses_monthly_less"] = 750; // $_SESSION["ses_monthly_1"] = 1; // $_SESSION["ses_monthly_2"] = 750; if ( empty($sort) && $_SESSION["ses_sort"] == "") { $_SESSION["ses_sort"] = $site."_motor.price desc"; } if ( $sort != "") { $_SESSION["ses_sort"] = $site."_motor.price $sort"; } ?>
0) { $sql .= " and ".$site."_motor.make = '".$_SESSION["ses_make"][0]."'"; } if ( $_SESSION["ses_model"] > 0) { $sql .= " and ".$site."_motor.model = '".$_SESSION["ses_model"]."'"; } if ( $_SESSION["ses_price"] > 1) { $sql .= " and ".$site."_motor.price < '".$_SESSION["ses_price"]."' "; } if ( $_SESSION["ses_price1"] > 1) { $sql .= " and ".$site."_motor.price > '".$_SESSION["ses_price1"]."' "; } if ( $_SESSION["ses_cat"][0] > 0) { $sql .= " and ".$site."_motor.cat = '".$_SESSION["ses_cat"][0]."' "; } if ( $_SESSION["ses_TopSearchTrans"] > 0) { $sql .= " and ".$site."_motor.`transmission` = '".$_SESSION["ses_TopSearchTrans"]."'"; } if ( $_SESSION["ses_TopSearchFuel"] > 0) { $sql .= " and ".$site."_motor.`fuel` = '".$_SESSION["ses_TopSearchFuel"]."'"; } $sql .= " and `domain` = '$website_url' group by ".$site."_motor.id "; $sql .= " order by ".$_SESSION["ses_sort"]; $result = mysql_query ( $sql); /**** NEW HACKS ***********/ // New Hack to get Ivendi Details $cars = array (); $array_cars_list = array (); while ( $row = mysql_fetch_row( $result)) { include "ivendiCAR.php"; if ( $include_this_car == "y") { $cars[] = $car_details; $array_cars_list[] = $car_list; } } $counter = sizeof ( $cars); if (($start+$display_count_main) > $counter) { $temp = $counter; } else { $temp = $start+$display_count_main; } ?>
 
Price Low - High Price High - Low"; ?>
PAGE: 0) { $start1 = $start - $display_count_main; echo " < \n"; } if ( $page_count > 0) { for ( $i = 0; $i < $page_count; $i++) { $start1 = $i * $display_count_main ; if ( $start != $start1) { echo " ".($i+1)." \n"; } else { echo " ".($i+1)." \n"; // echo " ".($i+1)." "; } } } $start1 = $start + $display_count_main; if ( ($counter) > $start1 ) { echo " > \n"; } ?>

PAGE: 0) { $start1 = $start - $display_count_main; echo " < \n"; } if ( $page_count > 0) { for ( $i = 0; $i < $page_count; $i++) { $start1 = $i * $display_count_main ; if ( $start != $start1) { echo " ".($i+1)." \n"; } else { echo " ".($i+1)." \n"; // echo " ".($i+1)." "; } } } $start1 = $start + $display_count_main; if ( ($counter) > $start1 ) { echo " > \n"; } ?>