Category:

"; echo 'CarDescriptionModelYearDetails'; shuffle($catalogRows); echo ''; foreach($catalogRows as $e){ echo ''.$e.''; } echo ''; echo ''; echo '
'; echo '
'; if(isset($maximumAdCount) && isset($from) && isset($limitCount)){ $pageNumTempArray = explode('.', $maximumAdCount / $limitCount); $pages = $pageNumTempArray[0]; if($maximumAdCount > $limitCount && ($maximumAdCount % $pages) >= 0){ $pages++; } if($from <= $maximumAdCount && $maximumAdCount <= 100){ $nextCount = $from + $limitCount; $lastCount = $from - $limitCount; // echo '
    '; if($lastCount >=0){ // echo '
  • <
  • '; } // Set page array $i = 0; while($i < $maximumAdCount){ $pageCountArray[] = $i; $i += $limitCount; } for($i=0; $i < $pages; $i++){ $name = $i + 1; if(isset($pageCountArray[$i])){ if($from == $pageCountArray[$i]){ $class = "active"; } else{ $class = ''; } } if(isset($pageCountArray[$i])){ $c = $i; } else{ $c = $i - 1; } // echo '
  • '.$name.'
  • '; } if($nextCount < $maximumAdCount){ // echo ''; } echo '
'; } } echo '
'; echo '
'; echo '
'; unset($catalogRows); } else{ echo '
No Items found!
'; } ?>