Location: PHPKode > projects > OpenNitro > trunk/Nitro/Defaults/Templates/Navigation.tpl
<!-- Start Nitro Navigation Template V1.0 -->
{if $Start > 0}
	{assign var="PrevPageID" value="`$Start-$maxPerPage`"}
	<a href="#" onclick="ModuleXMLRequest('{$onChange}', '&Start={if $Start > 0}{$PrevPageID}{else}0{/if}'); return false;"><img src="./GetObject.php?NitroDefault=Images/arrow_up.gif" width="13" height="17" alt="{$PreviousPage}" title="{$PreviousPage}" border="0" /></a>
{else}
	<img src="./GetObject.php?NitroDefault=Images/Fake.gif" width="13" height="17" border="0" />
{/if}
&nbsp;
<select name="PageNav" id="PageNav" onchange="ModuleXMLRequest('{$onChange}', '&Start=' + this.options[this.selectedIndex].value); return false;">
{foreach from=$Pages item=i}
	{assign var="pageID" value="`$i/$maxPerPage+1`"}
	<option value="{$i}"{if $i eq $Start} selected="selected"{/if}>{$Page} {$pageID|round}</option>
{/foreach}
</select>
&nbsp;
{if $Start < ($allPages-$maxPerPage)}
	{assign var="NextPageID" value="`$Start+$maxPerPage`"}
	<a href="#" onclick="ModuleXMLRequest('{$onChange}', '&Start={if $Start < $allPages}{$NextPageID}{else}{$allPages}{/if}'); return false;"><img src="./GetObject.php?NitroDefault=Images/arrow_down.gif" width="13" height="17" alt="{$NextPage}" title="{$NextPage}" border="0" /></a>
{else}
	<img src="./GetObject.php?NitroDefault=Images/Fake.gif" width="13" height="17" border="0" />
{/if}
<!-- End Nitro Navigation Template V1.0 -->
Return current item: OpenNitro