{*
  The configuration template
  $Id: setup.tpl,v 1.3 2005/05/21 11:19:51 andig2 Exp $
*}

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

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


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

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

<!-- /content -->
