Location: PHPKode > projects > Axis Groupware > musiclib/unused/tunez/test.php
<?

$aantalNummers = 100;
$aantalPerPagina = 30;
$aantalPaginas = ceil($aantalNummers / $aantalPerPagina);

if ($startAt > $aantalPerPagina)
{
	echo "<a href=\"$PHP_SELF?startAt=" . ($startAt - $aantalPerPagina) ."\">previous</a> ";
}
if (($startAt + $aantalPerPagina) <= $aantalNummers)
{
	echo "<a href=\"$PHP_SELF?startAt=" . ($startAt + $aantalPerPagina) ."\">next</a> ";
}

?>
Return current item: Axis Groupware