eliminating possible xss
[anyfivecardpokerhand.git] / style / tpl / pagination.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<table class="widefat post fixed">
<tr>
	<td id="pagination">
		{if $currentHand != ""}
			Showing <strong>{$hands.$currentHand}{if $currentCard}/{$currentCard}{/if}</strong> combinations
		{else}
			Showing <strong>all{if $currentCard}/{$currentCard}{/if}</strong> combinations
		{/if}
		<br />

		{if $pagination.firstpage}<a href="{$pagination.firstpage}">first page</a> | {/if}

		{foreach key=k item=v from=$pagination.pages}
			{if $k != $pagination.page}
				<a href="{$v}">{$k}</a>
			{else}
				{$k}
			{/if}
		{/foreach}

		{if $pagination.lastpage} | <a href="{$pagination.lastpage}">last page</a>{/if} | {$pagination.totalpages} pages | {$pagination.totalitems} combinations
	</td>
</tr>
</table>
comments