{*
  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>

<script src="javascript/look.js" language="JavaScript" type="text/javascript"></script>
<script src="templates/classic/javascript/tools.js" language="JavaScript" type="text/javascript"></script>
<center>
<div id="content-outer">
<div id="content">

<table border="0" cellspacing="0" cellpadding="5" style="margin-bottom: 10px">
<tr>
	{if $stylelist}
	<td align="right" class="footer-links">
	<select name="newtheme" onChange="javascript:changeTemplates(this);">
		{html_options options=$stylelist selected=$template}
	</select>
	</td>
	{/if}
	<td colspan="{if $stylelist}2{else}3{/if}" class="footer-links" align="right"><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}</td>
	
</tr>
<tr id="header">
	<td align="center" colspan="2"><a href="http://phpcompet.free.fr"><img src="templates/classic/images/logo.gif" width="100" height="100" border="0"></a></td>
	<td id="suchbox" colspan="2" align="right">
			<form action="search.php" name="qksearch" method="get">
			<div id="quicksearch" align="right">
				<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td class="searchopt" colspan="2" align="right">
					<a href="#" name="l0" style="font-weight:bold; padding:0 3px;" onClick="javascript:changeQuickSearch('clubs')">{$lang.clubs}</a> | 
					<a href="#" name="l1" style="font-weight:normal; padding:0 3px;" onClick="javascript:changeQuickSearch('stadiums')">{$lang.stadiums}</a> | 
					<a href="#" name="l2" style="font-weight:normal; padding:0 3px;" onClick="javascript:changeQuickSearch('players')">{$lang.players}</a> | 
					<a href="#" name="l3" style="font-weight:normal; padding:0 3px;" onClick="javascript:changeQuickSearch('referees')">{$lang.referees}</a> | 
					<a href="#" name="l4" style="font-weight:normal; padding:0 3px;" onClick="javascript:changeQuickSearch('coachs')">{$lang.coachs}</a> |
					<a href="#" name="l5" style="font-weight:normal; padding:0 3px;" onClick="javascript:changeQuickSearch('news')">{$lang.news}</a>
					</td>
				</tr>
				
				<tr>
					<td><div id="searchbox"><input class="sbox" type="text" name="q" /></div></td>
					<td>
					<input type="submit" id="searchsubmit" class="btn-search" style="text-transform:capitalize;" value="{$lang.search}">
					<input type="hidden" name="fields[]" value="shortname"> 
					<input type="hidden" name="searchtype" value="0"> 
					</td>
				</tr>
				<tr>
				<td><a href="search.php">{$lang.searchadv}</a>
				</td>
				</tr>
				</table>
			</div>
			</form>
	</td>
</tr>
<tr>
	<td valign="top">
		<div style="width:170px; border:1px solid #060606;" id="links">
			<div class="channelnavi">
				<a href="{$header.browse}{if $browseid}#{$browseid}{/if}" style="text-transform: capitalize; border-top: none">{$lang.home}</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.pronostic}
			<div class="channelnavi">
				<a href="{$header.pronostic}" style="text-transform: capitalize; border-top: none"><span>{$lang.pronostics}</span></a>
			</div>
			{/if}
			
		</div>
		{if $header.showclubs_preference}
		<br />
		<div style="width:170px; border:1px solid #060606;" id="links">
			{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 style="width:170px; border:1px solid #060606;" id="links">
			{if $header.profile}
			<div class="channelnavi">
				<a href="{$header.profile}" style="text-transform: capitalize; border-top: none">{$lang.profile}</a>
			</div>
			{/if}
			{if $header.members}
			<div class="channelnavi">
				<a href="{$header.members}" style="text-transform: capitalize; border-top: none">{$lang.memberslist}</a>
			</div>
			{/if}
			{if $header.newuser}
			<div class="channelnavi">
				<a href="{$header.newuser}" style="text-transform: capitalize; border-top: none">{$lang.register}</a>
			</div>
			{/if}
			{if $header.setup}
			<div class="channelnavi">
				<a href="{$header.setup}" style="text-transform: capitalize; border-top: none">{$lang.setup}</a>
			</div>
			{/if}
			{if $header.login}
			<div class="channelnavi">
				<a href="{$header.login}" style="text-transform: capitalize; border-top: none">{if $loggedin}{$lang.logout}{else}{$lang.login}{/if}</a>
			</div>
			{/if}			
		</div>
		<br>
		
		
	</td>

	<td style="width: 16px" valign="top">
		<div style="width: 10px"> </div>
	</td>

	<td style="width: 100%" valign="top" class="tdcontent">
