{include file="../head.tpl"}


<form action="container.php" method="post" name="area" id="area" >
	<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
	<tr>
	<td colspan="2" class="header">
	{if $smarty.request.typ == "out"}
	{$langadmin.menue_containerout}
	{else}
	{$langadmin.container}
	{/if}
	</td>
	</tr>
	<tr>
	<th class="firstrow">
	{$langadmin.containersection}
	</th>
	<th class="firstrow">
	{$langadmin.containeronce}
	</th>
	</tr>
	
	{foreach from=$pagerubs item=rub}
		<tr   class="{cycle name="c0" values="c1,c2"}">
		
		<td nowrap="nowrap">
		<input name="data[{$rub->id}][sid]" type="hidden" id="data[{$rub->id}][sid]" value="{$rub->id}">
		{$rub->lang}
		</td>
		<td width="10%" nowrap="nowrap">
		<div align="center">
		<select name="data[{$rub->id}][tpl]" id="data[{$rub->id}][tpl]">
		{$rub->dropdown}
		</select>
		</div>
		</td>
		</tr>
		{/foreach}
	<tr>
	<td colspan="2" class="secondrow">
<input name="typ" type="hidden" id="typ" value="{$smarty.request.typ}" />
<input name="send" type="hidden" id="send" value="1" />
<input name="area" type="hidden" id="area" value="{$smarty.request.area}">
<input name="save" type="submit" class="button" id="save" value="{$langadmin.edit}" />
	</td>
	</tr>
  </table>
</form>
<br>
<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
  <tr>
    <td class="header"><strong>
      {$langadmin.preview}
    </strong></td>
  </tr>
  <tr>
    <td class="c1">      {$previewlink}    </td>
  </tr>
</table>
