{include file="../head.tpl"}
<form action="downloads.php?action=comments&subaction=save" method="post" name="kform" id="kform">
  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
    <tr>
      <td colspan="2" class="header">{$langadmin.comments}</td>
    </tr>
    <tr>
      <td class="firstrow"><div align="center">
          <input name="allbox" type="checkbox" class="firstrow" id="d" onclick="selall();" value="" />
        </div></td>
      <td class="firstrow"> {$langadmin.titlecomment} </td>
    </tr>
    {foreach from=$comments item=comments}
    <tr>
      <td class="navitd">&nbsp;</td>
      <td class="navitd">{$comments.ctime} | {$comments.author}</td>
    </tr>
    <tr class="{cycle name="c1" values="c1,c2"}">
      <td width="5%"><div align="center">
          <input name="del[{$comments.id}]" type="checkbox" id="d" value="1">
          <small>{$langadmin.delete}</small></div></td>
      <td><input style="width:400px" name="title[{$comments.id}]" type="text" id="title[{$comments.id}]" value="{$comments.title}">
        <br>
        <textarea style="width:400px" name="comment[{$comments.id}]" cols="50" rows="5" id="comment[{$comments.id}]">{$comments.comment}</textarea></td>
    </tr>
    {/foreach}
    <tr>
      <td class="firstrow" colspan="2"><input class="button" type="submit" value="{$langadmin.edit}">
        <input name="area" type="hidden" id="area" value="{$smarty.request.area}">
      </td>
    </tr>
  </table>
</form>
<br>
{include file="../foot.tpl"} 