<!--HIDE NAME="EDITFORUM"-->
  <form method='post' action='{CONF_MAINSCRIPT}'>
    <input type='hidden' name='action' value='admin_forum'>
    <input type='hidden' name='saction' value='edit'>
    <input type='hidden' name='id' value='{FORM_VAL_ID}'>
<!--/HIDE NAME="EDITFORUM"-->

<!--HIDE NAME="EDITCATEGORY"-->
  <form method='post' action='{CONF_MAINSCRIPT}'>
    <input type='hidden' name='action' value='admin_forum'>
    <input type='hidden' name='saction' value='editc'>
    <input type='hidden' name='id' value='{FORM_VAL_ID}'>
<!--/HIDE NAME="EDITCATEGORY"-->

  <table width='100%' border='0' align='center' cellpadding='3' cellspacing='1' class='bgcol1' id='adminforums'>
    <tr class='forumhead'><td colspan='2' class='admrow'>
      <div class='admtab'><a href='{LINK_BOARD}'>{TABLE_HEADLINE}</a></div>
      <div class='admtab sel'><a href='{LINK_FORUMS}'>{FORUMS_HEADLINE}</a></div>
      <div class='admtab'><a href='{LINK_USERS}'>{USERS_HEADLINE}</a></div>
      <div class='admtab'><a href='{LINK_USERRANKS}'>{USERRANKS_HEADLINE}</a></div></td></tr>
    
    <tr class='forumhead'><td colspan='2'>{YOUR_FORUMS_HEADLINE}</td></tr>
    
    <!--HIDE NAME="SHOWFORUMS"-->
    <tr class='foruminner'><td colspan='2'>
      
      <!--HIDE NAME="NOFORUMS"-->
        <div class='infobox'>{NO_FORUMS}</div>
      <!--/HIDE NAME="NOFORUMS"-->
      
      <!--HIDE NAME="FORUMS"-->
      <table cellpadding="0" cellspacing="0" width="100%">
      <LOOP NAME="FORUMS_ARR">
        <!--HIDE NAME="CATHL{ID}"-->
          <tr><td colspan='3' class='ftitle'><b>{CATHL}</b><br><span class='small'>{CATDESCR}</span></td></tr>
        <!--/HIDE NAME="CATHL{ID}"-->
        <tr class="forumline"><td class='fpic'><img src='{CONF_TEMPLATE_PATH}/images/forum{IMG_FORUM_SUFFIX}.png' alt='{TITLE}' width='32' height='32'></td>
          <td class='ftitle'><a href='{FORUM_LINK}' class='b'>{TITLE}</a><br>
            <span class='small'>{DESCR}</span></td>
          <td class='ftools'>
            <a href='{UP_LINK}'><img src='{CONF_TEMPLATE_PATH}/images/icons/bullet_arrow_up{IMG_UP_SUFFIX}.png' alt='&uarr;' title='&uarr;' border='0' width='16' height='16'></a>
            <a href='{DOWN_LINK}'><img src='{CONF_TEMPLATE_PATH}/images/icons/bullet_arrow_down{IMG_DOWN_SUFFIX}.png' alt='&darr;' title='&darr;' border='0' width='16' height='16'></a>
            <a href='{CONF_MAINSCRIPT}?action=admin_forum&amp;saction=del&amp;id={ID}' onclick="javascript:if (!confirm('{CONFIRM_DELFORUM}')) { return false; }"><img src='{CONF_TEMPLATE_PATH}/images/icons/delete.png' alt='delete' title='delete' border='0' width='16' height='16'></a>
            <a href='{CONF_MAINSCRIPT}?todo=adminforums&amp;section=edit&amp;id={ID}'><img src='{CONF_TEMPLATE_PATH}/images/icons/pencil.png' alt='edit' title='edit' border='0' width='16' height='16'></a></td></tr>
        <tr class="forumsep"><td colspan='3'>&nbsp;</td></tr>
      </LOOP NAME="FORUMS_ARR">
      </table>
      <!--/HIDE NAME="FORUMS"-->
      
      </td></tr>
      <tr class='forumhead'><td colspan='2' align="center" class="b">
        <form method="post" action="{CONF_MAINSCRIPT}">
          <input type="hidden" name="todo" value="adminforums">
          <input type="hidden" name="section" value="edit">
          <input type="submit" value="{DESCR_ADD_FORUM}"></form></td></tr>     
      <tr class="forumsep"><td colspan='3'>&nbsp;</td></tr> 
      
    <!-- Forums [-] -->  
      
    <!-- Categories [+] -->
    
      <tr class='forumhead'><td colspan='2'>{YOUR_CATEGORIES_HEADLINE}</td></tr>
      
      <tr class='foruminner'><td colspan='2'>
        
        <!--HIDE NAME="NOCATEGORIES"-->
          <div class='infobox'>{NO_CATEGORIES}</div>
        <!--/HIDE NAME="NOCATEGORIES"-->
        
        <!--HIDE NAME="CATEGORIES"-->
        <table cellpadding="0" cellspacing="0" width="100%">
        <LOOP NAME="CATEGORIES_ARR">
          <tr class="forumline"><td class='fpic'>&nbsp;</td>
            <td class='ftitle'><a href='{FORUM_LINK}' class='b'>{TITLE}</a><br>
              <span class='small'>{DESCR}</span></td>
            <td class='ftools'>
              <a href='{UP_LINK}'><img src='{CONF_TEMPLATE_PATH}/images/icons/bullet_arrow_up{IMG_UP_SUFFIX}.png' alt='&uarr;' title='&uarr;' border='0' width='16' height='16'></a>
              <a href='{DOWN_LINK}'><img src='{CONF_TEMPLATE_PATH}/images/icons/bullet_arrow_down{IMG_DOWN_SUFFIX}.png' alt='&darr;' title='&darr;' border='0' width='16' height='16'></a>
              <a href='{CONF_MAINSCRIPT}?action=admin_forum&amp;saction=delc&amp;id={ID}' onclick="javascript:if (!confirm('{CONFIRM_DELCATEGORY}')) { return false; } "><img src='{CONF_TEMPLATE_PATH}/images/icons/delete.png' alt='delete' title='delete' border='0' width='16' height='16'></a>
              <a href='{CONF_MAINSCRIPT}?todo=adminforums&amp;section=editc&amp;id={ID}'><img src='{CONF_TEMPLATE_PATH}/images/icons/pencil.png' alt='edit' title='edit' border='0' width='16' height='16'></a></td></tr>
          <tr class="forumsep"><td colspan='3'>&nbsp;</td></tr>
        </LOOP NAME="CATEGORIES_ARR">
        </table>
        <!--/HIDE NAME="CATEGORIES"-->
        
        </td></tr>
        <tr class='forumhead'><td colspan='2' align="center" class="b">
          <form method="post" action="{CONF_MAINSCRIPT}">
            <input type="hidden" name="todo" value="adminforums">
            <input type="hidden" name="section" value="editc">
            <input type="submit" value="{DESCR_ADD_CATEGORY}"></form></td></tr>      
        </table>
      
    <!-- Categories [-] -->
    <!--/HIDE NAME="SHOWFORUMS"-->
    
    
    
    <!--HIDE NAME="EDITCATEGORY"-->
    <tr class='forumhead'><td colspan='2' class='admrow'>
      <div class='admtab2 small'><a href='{LINK_FORUMS}'>{BACK}</a></div></td></tr>
    <tr class='foruminner'><td width='30%' class='b'>{DESCR_TITLE}</td>
      <td width='70%'><input type='text' name='category_title' value='{FORM_VAL_TITLE}' style='width:100%' maxlength="200"></td></tr>
    <tr class='foruminner'><td><b>{DESCR_DESCR}</b></td>
      <td><textarea style='width:100%;height:60px;' cols='75' rows='4' name='category_descr'>{FORM_VAL_DESCR}</textarea></td></tr>
    
    <tr class='forumfoot'><td colspan='2' align='center'><input type='submit' value='{DESCR_SUBMIT}'></td></tr></table>
</form>
<!--/HIDE NAME="EDITCATEGORY"-->       
    
    
    
    
    
    
    
    <!--HIDE NAME="EDITFORUM"-->
    <tr class='forumhead'><td colspan='2' class='admrow'>
      <div class='admtab2 small'><a href='{LINK_FORUMS}'>{BACK}</a></div></td></tr>
    <tr class='foruminner'><td width='30%' class='b'>{DESCR_TITLE}</td>
      <td width='70%'><input type='text' name='forum_title' value='{FORM_VAL_TITLE}' style='width:100%' maxlength="200"></td></tr>
    <tr class='foruminner'><td><b>{DESCR_DESCR}</b></td>
      <td><textarea style='width:100%;height:60px;' cols='75' rows='4' name='forum_descr'>{FORM_VAL_DESCR}</textarea></td></tr>
    <tr class='foruminner'><td width='30%' class='b'>{DESCR_CATEGORY}</td>
      <td width='70%'><select name='cat_id' style='width:100%'>{FORM_OPTIONS_CAT_ID}</select></td></tr>
    <tr class='foruminner'><td width='30%' class='b'>{DESCR_VIEW_PERMISSIONS}</td>
      <td width='70%'><select name='vperm' style='width:100%'>{FORM_OPTIONS_VPERM}</select></td></tr>
    <tr class='foruminner'><td width='30%' class='b'>{DESCR_POST_PERMISSIONS}</td>
      <td width='70%'><select name='pperm' style='width:100%'>{FORM_OPTIONS_PPERM}</select></td></tr>
    <tr class='foruminner'><td width='30%' class='b'>{DESCR_REPLY_PERMISSIONS}</td>
      <td width='70%'><select name='rperm' style='width:100%'>{FORM_OPTIONS_RPERM}</select></td></tr>
    
    <tr class='forumfoot'><td colspan='2' align='center'><input type='submit' value='{DESCR_SUBMIT}'></td></tr></table>
</form>
<!--/HIDE NAME="EDITFORUM"-->    