Photo Gallery

$prevPage = $currentPage – 1;
echo ‘««‘;
}

for( $e=0; $e < $numPages; $e++ ) {
$p = $e + 1;

if ($p == $currentPage) {
$class = ‘current-paginate’;
} else {
$class = ‘paginate’;
}

echo ‘‘. $p .’‘;

}

if ($currentPage != $numPages) {
$nextPage = $currentPage + 1;
echo ‘»»‘;
}

}

}
?>

Photo Gallery

Leave a Reply