Location: PHPKode > projects > Viscacha > templates/1/main/pages.html
<span class="pagination">
<?php
echo $lang->phrase('pages_x');
foreach ($pages as $page => $row) {
	if ($row['type'] == PAGES_CURRENT) {
		echo "<strong class='page_number_current'>{$page}</strong>";
	}
	elseif ($row['type'] == PAGES_SEPARATOR) {
		echo " <span class='page_more'>".$lang->phrase('pages_sep')."</span> ";
	}
	elseif ($row['type'] == PAGES_NUM) {
		echo "<a class='page_number' href='{$row['url']}'>{$page}</a>";
	}
	if ($row['separator']) {
		echo "<span class='page_separator'>".$lang->phrase('pages_sep2')."</span>";
	}
	if ($page == $anz && $anz > 10) {
		echo "<a class='page_number' href='javascript:jumptopage(\"{$uri}\");'><img src='".$tpl->img('desc')."' alt='' /></a>";
	}
}
?>
</span>
Return current item: Viscacha