{*
  Deletion confirmation
  $Id: delete.tpl,v 1.2 2005/05/22 10:29:57 andig2 Exp $
*}

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

<div id="topspacer"></div>

<div id="content" style=" text-align:center; vertical-align:middle;">

{if $confirmdelete}
	<meta http-equiv="refresh"; content="1; url=index.php">
	<div id="toppage"><a href="#">{$lang.confirmation}</a></div>
	<div id="pagecontent">
		<table id="tableshow" border="0" celpadding="0" cellspacing="0" width="100%">
		<tr>
			<td class="list_plot"><b>{$lang.deleted}<br>
		{$SQL}</b></td>
		</tr>
		</table>
	</div>
{else}
	<center><br><br>
		<form action="delete.php" method="get">
		<input type="hidden" name="confirmdelete" value="1">
		<input type="hidden" name="cat" value="{$cat}">
		<input type="hidden" name="id" value="{$id}">
		<div id="toppage"><a href="#">{$lang.delete_title}</a></div>
		<div id="pagecontent">
		<table id="tableshow" border="0" celpadding="0" cellspacing="0" width="100%">
		<tr>
			<td class="list_plot"><b>{$msg}</b></td>
		</tr>
		<tr>
			
			<td>
			<span class="onglet-admin">
			<input type="submit" name="delete" style="width:100%" value="{$lang.del}">
			</span>
			</td>
			
		</tr>
		</table>
		</div></form>
	</center>	
{/if}

</div>
<!-- /content -->
