<h1><?php $this->_echo($d['.'][0]['L_RANKS_TITLE']); ?></h1>

<p><?php $this->_echo($d['.'][0]['L_RANKS_TEXT']); ?></p>

<form method="post" action="<?php $this->_echo($d['.'][0]['S_RANKS_ACTION']); ?>"><table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline">
<tr>
<th class="thCornerL"><?php $this->_echo($d['.'][0]['L_RANK']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_RANK_MINIMUM']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_SPECIAL_RANK']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_EDIT']); ?></th>
<th class="thCornerR"><?php $this->_echo($d['.'][0]['L_DELETE']); ?></th>
</tr>
<?php if($_ranks_count = count($d['ranks'])) {for ($_ranks_i = 0; $_ranks_i < $_ranks_count; $_ranks_i++){ ?>
<tr>
<td class="<?php $this->_echo($d['ranks'][$_ranks_i]['ROW_CLASS']); ?>" align="center"><?php $this->_echo($d['ranks'][$_ranks_i]['RANK']); ?></td>
<td class="<?php $this->_echo($d['ranks'][$_ranks_i]['ROW_CLASS']); ?>" align="center"><?php $this->_echo($d['ranks'][$_ranks_i]['RANK_MIN']); ?></td>
<td class="<?php $this->_echo($d['ranks'][$_ranks_i]['ROW_CLASS']); ?>" align="center"><?php $this->_echo($d['ranks'][$_ranks_i]['SPECIAL_RANK']); ?></td>
<td class="<?php $this->_echo($d['ranks'][$_ranks_i]['ROW_CLASS']); ?>" align="center"><a href="<?php $this->_echo($d['ranks'][$_ranks_i]['U_RANK_EDIT']); ?>"><?php $this->_echo($d['.'][0]['L_EDIT']); ?></a></td>
<td class="<?php $this->_echo($d['ranks'][$_ranks_i]['ROW_CLASS']); ?>" align="center"><a href="<?php $this->_echo($d['ranks'][$_ranks_i]['U_RANK_DELETE']); ?>"><?php $this->_echo($d['.'][0]['L_DELETE']); ?></a></td>
</tr>
<?php }} ?>			
<tr>
<td class="catBottom" align="center" colspan="6"><input type="submit" class="mainoption" name="add" value="<?php $this->_echo($d['.'][0]['L_ADD_RANK']); ?>" /></td>
</tr>
</table></form>