{*
  This is the header which is displayed on top of every page
  $Id: header.tpl,v 1.25 2005/05/24 02:12:01 chinamann Exp $
*}
{include file="xml.tpl"}


<body>

<center>
<div id="content-outer">
<div id="content">

<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td id="topbar" align="left">
	<div style="display:inline;">
	<A HREF="#" onClick="HomePage('http://phpcompet.free.fr/competition/index.php');return(false);">Homepage</A> | <A href="javascript:window.external.addfavorite('http://phpcompet.free.fr/competition/index.php','{$sitename}')">Ajouter aux favoris</A>
	{if $header.contactus} | <a href="mailto:{$header.contactus}">{$lang.contactus}</a>{/if}
	</div>
	{if $stylelist}
	<div align="right" style="display:inline;">
	<select name="newtheme" onChange="javascript:changeTemplates(this);">
		{html_options options=$stylelist selected=$template}
	</select>
	</div>
	{/if}
	</td>
	
</tr>
<tr>
	<td>
	<div id="header"> </div>		
	</td>
</tr>
<tr>
	<td id="topsubbar">&nbsp;</td>
</tr>
</table>
<table id="trcontent" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td valign="top" width="150">
		<div id="titlemenu">
			<div class="titlenavi"><span>{$lang.menu}</span></div>
		</div>
		<div id="menu">
			<div class="channelnavi">
				<a href="{$header.browse}{if $browseid}#{$browseid}{/if}" style="text-transform: capitalize; border-top: none"><span>{$lang.home}</span></a>
			</div>
			{if $header.clubs}
			<div class="channelnavi">
				<a href="{$header.clubs}{if $browseid}#{$browseid}{/if}" style="text-transform: capitalize; border-top: none"><span>{$lang.clubs}</span></a>
			</div>
			{/if}
			{if $header.competitions}
			<div class="channelnavi">
				<a href="{$header.competitions}{if $browseid}#{$browseid}{/if}" style="text-transform: capitalize; border-top: none"><span>{$lang.competitions}</span></a>
			</div>
			{/if}
			{if $header.calendar}
			<div class="channelnavi">
				<a href="{$header.calendar}" style="text-transform: capitalize; border-top: none"><span>{$lang.calendar}</span></a>
			</div>
			{/if}
			{if $header.centralgallery}
			<div class="channelnavi">
				<a href="{$header.centralgallery}" style="text-transform: capitalize; border-top: none"><span>{$lang.gallerys}</span></a>
			</div>
			{/if}
			{if $header.stadiums}
			<div class="channelnavi">
				<a href="{$header.stadiums}{if $browseid}#{$browseid}{/if}" style="text-transform: capitalize; border-top: none"><span>{$lang.stadiums}</span></a>
			</div>
			{/if}
			{if $header.players}
			<div class="channelnavi">
				<a href="{$header.players}{if $browseid}#{$browseid}{/if}" style="text-transform: capitalize; border-top: none"><span>{$lang.players}</span></a>
			</div>
			{/if}
			{if $header.referees}
			<div class="channelnavi">
				<a href="{$header.referees}{if $browseid}#{$browseid}{/if}" style="text-transform: capitalize; border-top: none"><span>{$lang.referees}</span></a>
			</div>
			{/if}
			{if $header.coachs}
			<div class="channelnavi">
				<a href="{$header.coachs}{if $browseid}#{$browseid}{/if}" style="text-transform: capitalize; border-top: none"><span>{$lang.coachs}</span></a>
			</div>
			{/if}
			{if $header.pronostic}
			<div class="channelnavi">
				<a href="{$header.pronostic}" style="text-transform: capitalize; border-top: none"><span>{$lang.pronostics}</span></a>
			</div>
			{/if}
			{if $header.search}
			<div class="channelnavi">
				<a href="{$header.search}" style="text-transform: capitalize; border-top: none"><span>{$lang.search}</span></a>
			</div>
			{/if}
			
		</div>
		{if $header.showclubs_preference}
		<br />
		<div id="titlemenu">
			<div class="titlenavi"><span>{$lang.club}</span></div>
		</div>
		<div id="menu">
			{if $header.showclubs_preference}
			<div class="channelnavi">
				<a href="{$header.showclubs_preference}" style="text-transform: capitalize; border-top: none"><span>{$lang.card}</span></a>
			</div>
			{/if}
			{if $header.showteams_preference}
			<div class="channelnavi">
				<a href="{$header.showteams_preference}" style="text-transform: capitalize; border-top: none"><span>{$lang.team}</span></a>
			</div>
			{/if}
			{if $header.showcalendar_preference}
			<div class="channelnavi">
				<a href="{$header.showcalendar_preference}" style="text-transform: capitalize; border-top: none"><span>{$lang.calendar}</span></a>
			</div>
			{/if}
			{if $header.statsclubs_preference}
			<div class="channelnavi">
				<a href="{$header.statsclubs_preference}" style="text-transform: capitalize; border-top: none"><span>{$lang.statistics}</span></a>
			</div>
			{/if}	
		</div>
		{/if}
		<br />
		<div id="titlemenu">
			<div class="titlenavi"><span>{$lang.personnalisation}</span></div>
		</div>
		<div id="menu">
			{if $header.profile}
			<div class="channelnavi">
				<a href="{$header.profile}" style="text-transform: capitalize; border-top: none"><span>{$lang.profile}</span></a>
			</div>
			{/if}
			{if $header.members}
			<div class="channelnavi">
				<a href="{$header.members}" style="text-transform: capitalize; border-top: none"><span>{$lang.memberslist}</span></a>
			</div>
			{/if}
			{if $header.newuser}
			<div class="channelnavi">
				<a href="{$header.newuser}" style="text-transform: capitalize; border-top: none"><span>{$lang.register}</span></a>
			</div>
			{/if}
			{if $header.setup}
			<div class="channelnavi">
				<a href="{$header.setup}" style="text-transform: capitalize; border-top: none"><span>{$lang.setup}</span></a>
			</div>
			{/if}
			{if $header.login}
			<div class="channelnavi">
				<a href="{$header.login}" style="text-transform: capitalize; border-top: none"><span>{if $loggedin}{$lang.logout}{else}{$lang.login}{/if}</span></a>
			</div>
			{/if}			
		</div>
		<br />
		<div id="titlemenu">
		<div class="titlenavi"><span>{$lang.memberstable}</span></div>
			{php}
			   include('./modules/list_score_members.php');
			{/php}
		</div>
		
	</td>
	<td id="centerpage" valign="top" align="center">
