{*
  The configuration template
  $Id: setup.tpl,v 1.0 2006/12/21
*}

<!-- {$smarty.template} -->

<table id="tableshow" border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td id="toppage">
		<a class="opt-group" href="javascript:" onclick="return false;">{$lang.add}</a>
		</td>
	</tr>
	<tr>
		<td>	
		<form action="edit_clubs.php">
		<span class="onglet-admin">
			<input type="submit" value="{$lang.club}"/>
		</span>
		</form>
		<form action="edit_categories.php">
		<span class="onglet-admin">
			<input type="submit" value="{$lang.categorys}"/>
		</span>
		</form>
		<form action="edit_competitions.php">
		<span class="onglet-admin">
			<input type="submit" value="{$lang.competition}"/>
		</span>
		</form>
		<form action="edit_stadiums.php">
		<span class="onglet-admin">
			<input type="submit" value="{$lang.stadium}"/>
		</span>
		</form>
		<form action="edit_persons.php">
		<span class="onglet-admin">
			<input type="submit" value="{$lang.person}"/>
		</span>
		</form>
		<form action="edit_news.php">
		<span class="onglet-admin">
			<input type="submit" value="{$lang.news}"/>
		</span>	
		</form>
		<form action="edit_caracs.php">
		<span class="onglet-admin">
			<input type="submit" value="{$lang.caracs}"/>
		</span>	
		</form>
		</td>
  	</tr>
	{if $total}
  	<tr>
		<td>
		<form action="setup.php">
		<span class="onglet-admin">		
			<input type="hidden" name="cachecleanup" value="1"/>
			<input type="submit" value="{$lang.cachecleanup}" />
		</span>
		</form>
		<form action="setup.php">
		<span class="onglet-admin">
			<input type="hidden" name="cacheempty" value="1"/>
			<input type="submit" value="{$lang.cacheempty}" onclick="return(confirm('{$lang.really_del}?'))" />
		</span>
		</form>
		<span id="barre-season">
		<h3>{$lang.cachesize}: </h3>{$total}mb
		<h3>{$lang.cacheexpired}: </h3>{$expired}mb ({math equation="round(a*100/b)" a=$expired b=$total}%)
		</span>
		</td>
  	</tr>
	{/if}
</table>
<!-- /actions -->


<div id="content">
	<form method="post" action="setup.php">
		<input type="hidden" name="save" value="1"/>

		<table id="tableshow" border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr><td>
			{include file='options.tpl'}
			</td></tr>
			<tr><td>
			<div class="onglet"><input style="width:100%" type="submit" value="{$lang.save}" id="savebutton" accesskey="s" /></div>
			</td></tr>			
		</table>
		
		
	</form>
</div>

<!-- /content -->
