{*
  This is the footer which is displayed on bottom of every page
  $Id: footer.tpl,v 1.8 2004/11/03 02:48:49 andig2 Exp $
*}

		<div id="bottompage">
		{if $number}
			{if $pageno && $maxpageno}
			<div class="footer-links">
				{if $pageno != 1}<a href="?pageno={$pageno-1}{if $q}&q={$q}{/if}{if $teamfilter}&teamfilter={$teamfilter}{/if}">«</a>{/if}Page {$pageno} of {$maxpageno}
				{if $pageno != $maxpageno}<a href="?pageno={$pageno+1}{if $q}&q={$q}{/if}{if $teamfilter}&teamfilter={$teamfilter}{/if}">»</a>{/if}
				{$totalresults} {$lang.records}.

			</div>
			{/if}
		{/if}
		</div>
		{$DEBUG}
		</div>
		</div>
	</td>
	<td valign="top" align="right">
		<table width="100%" cellpadding="0" cellspacing="0" border="0">
			<tr>
			<td align="right">
				<div id="titlemenu-right">
				<div id="titlenavi" style="text-align:left"><span>{$lang.matchs}</span></div>
				
				{php}
				   include('./modules/list_matchs.php');
				{/php}
				</div>
			</td>
			</tr>
			<tr>
			<td align="right">
				<div id="titlemenu-right">
				<div id="titlenavi" style="text-align:left"><span>{$lang.classement}</span></div>
				</div>
				{php}
				   include('./modules/list_tables.php');
				{/php}
			</td>
			</tr>
		</table>
	</td>
</tr>
<tr>
	<td colspan="4" id="footer">
		<div id="copyright" style="display:table-cell">
			<a href="http://phpcompet.free.fr" target="_blank">PHP Competition System - {$version}</a>
			© All trademarks and copyrights are owned by their respective owners -
			{if $loggedin}
				{$lang.loggedinas} {$loggedin}
			{/if}
		</div>
	</td>
</tr>
	</table>
	</center>

</body>
</html>
