<script language="JavaScript" type="text/javascript" src="<?php $this->_echo($d['.'][0]['S_ROOT']); ?>includes/js_dom_branch.js"></script>

<?php if($_in_admin_count = count($d['in_admin'])) {for ($_in_admin_i = 0; $_in_admin_i < $_in_admin_count; $_in_admin_i++){ ?>
<h1><?php $this->_echo($d['.'][0]['L_TITLE']); ?></h1>

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

<form action="<?php $this->_echo($d['.'][0]['S_ACTION']); ?>" method="post" name="post">
<table width="100%" cellpadding="2" cellspacing="1" border="0">
<tr>
<td width="100%"><span class="gen">
<b><?php $this->_echo($d['.'][0]['L_PRUNE_DAYS']); ?>:</b>&nbsp;<input type="text" name="prune_days" value="<?php $this->_echo($d['.'][0]['PRUNE_DAYS']); ?>" class="post" size="4" />&nbsp;<?php $this->_echo($d['.'][0]['L_DAYS']); ?>
</span></td>
</tr>
</table>

<table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thCornerL" nowrap="nowrap">&nbsp;<?php $this->_echo($d['.'][0]['L_SELECT']); ?>&nbsp;</th>
<th class="thTop" height="25" nowrap="nowrap" width="100%">&nbsp;<?php $this->_echo($d['.'][0]['L_FORUM']); ?>&nbsp;</th>
<th width="70" class="thTop" nowrap="nowrap">&nbsp;<?php $this->_echo($d['.'][0]['L_TOPICS']); ?>&nbsp;</th>
<th width="70" class="thCornerR" nowrap="nowrap">&nbsp;<?php $this->_echo($d['.'][0]['L_POSTS']); ?>&nbsp;</th>
</tr>
<tr>
<td><table cellpadding="0" cellspacing="0" border="0" width="100%">
<?php if($_row_count = count($d['row'])) {for ($_row_i = 0; $_row_i < $_row_count; $_row_i++){ ?>
<tr>
<td height="25" align="center" class="<?php if($_light_count = count($d['row'][$_row_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>"><span class="gensmall">&nbsp;
<?php if($_forum_count = count($d['row'][$_row_i]['forum'])) {for ($_forum_i = 0; $_forum_i < $_forum_count; $_forum_i++){ ?><input type="checkbox" name="forum_ids[]" value="<?php $this->_echo($d['row'][$_row_i]['FORUM_ID']); ?>" onClick="javascript:branch.set(<?php $this->_echo($d['row'][$_row_i]['FORUM_ID']); ?>, <?php $this->_echo($d['row'][$_row_i]['LAST_CHILD_ID']); ?>);" />&nbsp;<?php }} ?>
</span></td>
</tr>
<?php }} ?>
</table></td>

<td><table cellpadding="0" cellspacing="0" border="0" width="100%">
<?php if($_row_count = count($d['row'])) {for ($_row_i = 0; $_row_i < $_row_count; $_row_i++){ ?>
<tr>
<td class="<?php if($_light_count = count($d['row'][$_row_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>" height="25">
<table cellpadding="0" cellspacing="0" width="100%"><tr>
<td><img src="<?php $this->_echo($d['.'][0]['I_SPACER']); ?>" border="0" width="4" alt="" /></td>
<?php if($_inc_count = count($d['row'][$_row_i]['inc'])) {for ($_inc_i = 0; $_inc_i < $_inc_count; $_inc_i++){ ?><td><img src="<?php $this->_echo($d['row'][$_row_i]['inc'][$_inc_i]['I_INC']); ?>" border="0" alt="" /></td><?php }} ?>
<td width="100%" nowrap="nowrap"><span class="forumlink"><?php if($_root_ELSE_count = count($d['row'][$_row_i]['root_ELSE'])) {for ($_root_ELSE_i = 0; $_root_ELSE_i < $_root_ELSE_count; $_root_ELSE_i++){ ?>&nbsp;<?php }}if($_edit_count = count($d['row'][$_row_i]['edit'])) {for ($_edit_i = 0; $_edit_i < $_edit_count; $_edit_i++){ ?><a href="<?php $this->_echo($d['row'][$_row_i]['U_EDIT']); ?>" class="forumlink" title="<?php $this->_echo($d['row'][$_row_i]['FORUM_DESC']); ?>"><?php }}$this->_echo($d['row'][$_row_i]['FORUM_NAME']);if($_edit_count = count($d['row'][$_row_i]['edit'])) {for ($_edit_i = 0; $_edit_i < $_edit_count; $_edit_i++){ ?></a><?php }} ?>&nbsp;
<?php if($_root_ELSE_count = count($d['row'][$_row_i]['root_ELSE'])) {for ($_root_ELSE_i = 0; $_root_ELSE_i < $_root_ELSE_count; $_root_ELSE_i++){ ?>&nbsp;[<img src="<?php $this->_echo($d['row'][$_row_i]['I_FORUM_FOLDER']); ?>" title="<?php $this->_echo($d['row'][$_row_i]['L_FORUM_FOLDER']); ?>" alt="" border="0" />]<?php }} ?>
</span></td>
</tr></table>
</td>
</tr>
<?php }} ?>
</table></td>

<td><table cellpadding="0" cellspacing="0" border="0" width="100%">
<?php if($_row_count = count($d['row'])) {for ($_row_i = 0; $_row_i < $_row_count; $_row_i++){ ?>
<tr>
<td height="25" align="center" class="<?php if($_light_count = count($d['row'][$_row_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>"><span class="gen">&nbsp;
<?php if($_prune_count = count($d['row'][$_row_i]['prune'])) {for ($_prune_i = 0; $_prune_i < $_prune_count; $_prune_i++){$this->_echo($d['row'][$_row_i]['PRUNED_TOPICS']);}} ?>&nbsp;
</span></td>
</tr>
<?php }} ?>
</table></td>

<td><table cellpadding="0" cellspacing="0" border="0" width="100%">
<?php if($_row_count = count($d['row'])) {for ($_row_i = 0; $_row_i < $_row_count; $_row_i++){ ?>
<tr>
<td height="25" align="center" class="<?php if($_light_count = count($d['row'][$_row_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>"><span class="gen">&nbsp;
<?php if($_prune_count = count($d['row'][$_row_i]['prune'])) {for ($_prune_i = 0; $_prune_i < $_prune_count; $_prune_i++){$this->_echo($d['row'][$_row_i]['PRUNED_POSTS']);}} ?>&nbsp;
</span></td>
</tr>
<?php }} ?>
</table></td>
</tr>
<tr>
<td class="catBottom" colspan="4" align="center" valign="middle"><?php $this->_echo($d['.'][0]['S_HIDDEN_FIELDS']); ?><span class="gensmall">&nbsp;
<?php if($_buttons_count = count($d['buttons'])) {for ($_buttons_i = 0; $_buttons_i < $_buttons_count; $_buttons_i++){ ?><input type="image" name="<?php $this->_echo($d['buttons'][$_buttons_i]['BUTTON']); ?>" src="<?php $this->_echo($d['buttons'][$_buttons_i]['I_BUTTON']); ?>" alt="<?php $this->_echo($d['buttons'][$_buttons_i]['L_BUTTON']); ?>" title="<?php $this->_echo($d['buttons'][$_buttons_i]['L_BUTTON']); ?>" <?php if($_accesskey_count = count($d['buttons'][$_buttons_i]['accesskey'])) {for ($_accesskey_i = 0; $_accesskey_i < $_accesskey_count; $_accesskey_i++){ ?>accesskey="<?php $this->_echo($d['buttons'][$_buttons_i]['S_BUTTON']); ?>"<?php }} ?> />&nbsp;<?php }} ?>
</span></td>
</tr>
</table>
</form>
<br clear="all" />

<script language="JavaScript" type="text/javascript">
<!--
branch = new _dom_branch('forum_ids');
//-->
</script>