<?php if($_topicrow_count = count($d['topicrow'])) {for ($_topicrow_i = 0; $_topicrow_i < $_topicrow_count; $_topicrow_i++){if($_bottom_count = count($d['topicrow'][$_topicrow_i]['bottom'])) {for ($_bottom_i = 0; $_bottom_i < $_bottom_count; $_bottom_i++){ ?>
<tr>
<td class="catBottom" colspan="<?php if($_no_topics_count = count($d['topicrow'][$_topicrow_i]['bottom'][$_bottom_i]['no_topics'])) {for ($_no_topics_i = 0; $_no_topics_i < $_no_topics_count; $_no_topics_i++){ ?>6<?php }} else { ?>8<?php } ?>" height="29" align="right" nowrap="nowrap"><span class="gensmall">&nbsp;
<input type="submit" name="delete" class="liteoption" value="<?php $this->_echo($d['.'][0]['L_DELETE']); ?>" />&nbsp;
<input type="submit" name="move" class="liteoption" value="<?php $this->_echo($d['.'][0]['L_MOVE']); ?>" />&nbsp;
<input type="submit" name="lock" class="liteoption" value="<?php $this->_echo($d['.'][0]['L_LOCK']); ?>" />&nbsp;
<input type="submit" name="unlock" class="liteoption" value="<?php $this->_echo($d['.'][0]['L_UNLOCK']); ?>" />&nbsp;
</span></td>
</tr>
<?php }}}} ?>