  <table border='0' cellpadding='3' cellspacing='1' class='bgcol1 adminranks'>
    <tr class='forumhead'><td colspan='2' class='admrow'>
      <div class='admtab'><a href='{LINK_BOARD}'>{TABLE_HEADLINE}</a></div>
      <div class='admtab'><a href='{LINK_FORUMS}'>{FORUMS_HEADLINE}</a></div>
      <div class='admtab'><a href='{LINK_USERS}'>{USERS_HEADLINE}</a></div>
      <div class='admtab sel'><a href='{LINK_USERRANKS}'>{USERRANKS_HEADLINE}</a></div></td></tr>
      

    <!--HIDE NAME="EDITRANK"-->
      <tr class='forumhead'><td colspan='2'>{EDIT_RANK_HEADLINE}</td></tr>
      <tr class='forumhead'><td colspan='2' class='admrow'>
      <div class='admtab2 small'><a href='{LINK_USERRANKS}'>{BACK}</a></div></td></tr>
      <tr><td colspan='2'>
          <form method='post' action='{CONF_MAINSCRIPT}'>
        <table border='0' cellpadding='3' cellspacing='1' class='bgcol1'>
          <tr class='foruminner'><td class='descr b'>{DESCR_RANK}</td>
            <td class='field'><input type='text' name='descr' value='{FORM_VAL_RANK_DESCR}' class='f100' />
              <input type='hidden' name='action' value='edit_userrank' />
              <input type='hidden' name='rank_id' value='{FORM_VAL_RANK_ID}' />
              <input type='hidden' name='img' value='{FORM_VAL_RANK_IMG}' /></td></tr>
          <tr class='foruminner'><td class='b'>{DESCR_IMG}</td>
            <td><div class='rankholder'><img src='{IMG_RANK_SRC}' alt=''class='sbbrank' /></div>
            <a href='#' onclick="openrankimgs('{CONF_RELPATH}');return false;">{DESCR_SELECT_RANK_IMG}</a></td></tr>
    
      <tr class='forumfoot'><td colspan='2' class='c'><input type='submit' value='{DESCR_SAVE}' /></td></tr>
      </table>
      </form>
      <div id='sbb_modalbg'></div>
      <div id='sbbrankimgs'></div>
      
    <!--/HIDE NAME="EDITRANK"-->
    
    
      <!--HIDE NAME="NORANKS"-->
        <tr class='forumhead'><td colspan='2' class='admrow'>
          <div class='admtab2 small'><a href='{CONF_MAINSCRIPT}?todo=adminuserranks&amp;section=edit'>{ADDRANK}</a></div></td></tr>
        <tr class='foruminner'><td colspan='2'><div class='infobox'>{NO_RANKS_DEFINED}</div></td></tr>
      <!--/HIDE NAME="NORANKS"-->

    <!--HIDE NAME="RANKSAV"-->
    <tr class='forumhead'><td colspan='2'>{DEFINED_USERRANKS_HEADLINE}</td></tr>
    <tr class='forumhead'><td colspan='2' class='admrow'>
      <div class='admtab2 small'><a href='{CONF_MAINSCRIPT}?todo=adminuserranks&amp;section=edit'>{ADDRANK}</a></div></td></tr>
    
    <tr class='foruminner'><td colspan='2'>
      
      <table border='0' cellpadding='3' cellspacing='1' class='bgcol1'>
        <tr class='forumhead'><td>{DESCR_RANK}</td>
          <td class='c'>{DESCR_IMG}</td>
          <td class='rankusr c'>{DESCR_USERS}</td>
          <td class='ranktools c'>Tools</td>
      </tr>
      
      
      <!-- through the users [+] -->
      <LOOP NAME="RANKS">
        <tr class='foruminner'><td>{RANK_DESCR}</td>
              <td class='c'><img src='{RANK_IMG}' alt='' /></td>
              <td class='c'>{RANK_USERS}</td>
              <td class='c'>
                <a href='{CONF_MAINSCRIPT}?todo=adminuserranks&amp;section=edit&amp;rank_id={RANK_ID}'><img src='{CONF_TEMPLATE_PATH}/images/icons/pencil.png' alt='{IMG_EDITTITLE}' title='{IMG_EDITTITLE}' /></a>
                <a href='{CONF_MAINSCRIPT}?action=delrank&amp;rank_id={RANK_ID}' onclick="return confirm('{CONFIRM_DELRANK}');"><img src='{CONF_TEMPLATE_PATH}/images/icons/delete.png' alt='{IMG_DELTITLE}' title='{IMG_DELTITLE}' /></a></td>
          </tr>
      </LOOP NAME="RANKS">
      <!-- through the users [-] -->
    </table>
    
    <!--/HIDE NAME="RANKSAV"-->
    
    
    
    
  </td></tr></table>
