{include file="../head.tpl"}
<table width="100%"  border="0" cellspacing="1" cellpadding="5" class="tableborder">
<form method="post" action="platform.php?action=save">
  <tr>
    <td colspan="2" class="header">{$langadmin.platforms}</td>
  </tr>

  <tr>
    <td class="firstrow">{$langadmin.title}</td>
    <td nowrap class="firstrow">&nbsp;</td>
  </tr>
    {foreach from=$items item=item}
  <tr class="{cycle name="c0" values="secondrow,firstrow"}">
    <td class="tdspacer"><input name="platform[{$item->id}]" id="cp{$item->id}" size="40" value="{$item->platform}" type="text"></td>
    <td width="10%" nowrap>
        <div align="center">
          <input class="button" onclick="if(confirm('{$langadmin.confirmdel_platform}'))  location.href='platform.php?action=del&amp;area={$area}&amp;id={$item->id}';" type="button" value="{$langadmin.menue_navigation_delete}" />
        </div></td>
  </tr>
  {/foreach}
  <tr>
    <td colspan="2" class="secondrow">      <input name="area" type="hidden" id="area" value="{$smarty.request.area}">
      <input name="id" type="hidden" id="id" value="{$smarty.request.id}">
      <input name="Senden" type="submit" class="button" value="{$langadmin.save}">
      
    </td></tr>
  </form>

  <form name="newitem" action="platform.php?action=new" method="post">
<tr class="c1">
<td class="tdspacer"><input name="newplatform" type="text" id="newplatform" value="" size="40" /></td>
<td class="tdspacer">&nbsp;
 </td>

<input type="hidden" name="area" value="{$smarty.request.area}" />

</tr>
<tr class="c1">
  <td colspan="2" class="firstrow">
    <input name="Senden" type="submit" class="button" value="{$langadmin.platform_new}"></td></tr>
</form>
</table>
{include file="../foot.tpl"}