All pastes #556762 Raw Edit

Unnamed

public php v1 · immutable
·published 2007-06-10 19:03 UTC
rendered paste body
$pages = mysql_num_rows($get_pages) / $cpp;$_pnumba = ceil($pages);for ($a = 0;$a < $pages;$a++) {if ($a >= $_pnumba) { $pseprator = ""; } else if ($a < $_pnumba) { $pseprator = "&mdash;"; }	$pages_link .= '<a href="?page=news&article=' . $id . '&pid=' . ($a + 1) . '">Page ' . ($a + 1) . '</a> ' . $pseprator .' ';}