<!-- BEGIN header -->
<center>
  <table width="640" border="0" cellspacing="2" cellpadding="2">
    <tr>
      <td colspan="5" align="center" bgcolor="#c9c9c9"><b>{title}:&nbsp;{name}<b/></td>
    </tr>
    <tr>
      <td colspan="5" align=left>
        <table border="0" width="100%">
          <tr>
          {left}
          <td align="center">{search_message}&nbsp;</td>
          {right}
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td>
       <form action="{cat_action}" name="form" method="POST">
       {lang_category}&nbsp;&nbsp;<select name="fcat_id" onChange="this.form.submit();"><option value="">{lang_all}</option>{category_list}</select>
        <noscript>&nbsp;<input type="submit" name="submit" value="{lang_submit}"></noscript></form>
      </td>
      <td colspan="5" align="right">
        <form method="post" action={actionurl}>
        {hidden_vars}
        <input type="text" name="query" value="{query}">&nbsp;<input type="submit" name="submit" value="{lang_search}">
        </form></td>
    </tr>
<!-- END header -->

<!-- BEGIN col -->
<td valign="top"><a href="{view}"><img src="{img_thumb}" alt="{img_name}"></a></td>
<!-- END col -->

<!-- BEGIN row -->
 <tr>
 {cols}
 </tr>
<!-- END row -->

<!-- BEGIN footer -->
{rows}
    <tr valign="bottom">
      <td colspan="4"><form method="post" action="{addurl}">
        {hidden_vars}
        <input type="submit" name="add" value="{lang_add}"></form></td>
      <td><a href="{list_link}">{lang_list}</a></td>
    </tr>
  </table>
</center>
<!-- END footer -->
