tab_id == $category) && ($product->segment == $segment)) {
$count++;
$currentRecord += 1;
if ($currentRecord > ($startPage * $perPage) && $currentRecord <= ($startPage * $perPage + $perPage)) {
?>