<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_TITLE_EXPLAIN']); ?></p>
<?php }} ?>

<form action="<?php $this->_echo($d['.'][0]['S_ACTION']); ?>" method="post" name="post"><table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline">
<colgroup>
<col width="40%">
<col width="60%">
</colgroup>
<tr>
<th class="thHead" colspan="2">&nbsp;<?php $this->_echo($d['.'][0]['L_PARMS']); ?></th>
</tr>
<?php $this->_echo($d['.'][0]['FORM']); ?>
<tr>
<td class="catBottom" colspan="2" align="center"><span class="gensmall">
<input type="image" name="submit_form" src="<?php $this->_echo($d['.'][0]['I_SUBMIT']); ?>" border="0" title="<?php $this->_echo($d['.'][0]['L_SUBMIT']); ?>" alt="<?php $this->_echo($d['.'][0]['L_SUBMIT']); ?>" />
</span></td>
</tr>
</table>
<br class="nav" />

<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_PANELS']); ?>&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($_command_count = count($d['row'][$_row_i]['command'])) {for ($_command_i = 0; $_command_i < $_command_count; $_command_i++){ ?><input type="checkbox" name="item_ids[]" value="<?php $this->_echo($d['row'][$_row_i]['ITEM_ID']); ?>" onClick="javascript:branch.set(<?php $this->_echo($d['row'][$_row_i]['ITEM_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($_panel_ELSE_count = count($d['row'][$_row_i]['panel_ELSE'])) {for ($_panel_ELSE_i = 0; $_panel_ELSE_i < $_panel_ELSE_count; $_panel_ELSE_i++){ ?>&nbsp;&raquo;<?php }} ?>&nbsp;<?php $this->_echo($d['row'][$_row_i]['ITEM_NAME']);if($_desc_count = count($d['row'][$_row_i]['desc'])) {for ($_desc_i = 0; $_desc_i < $_desc_count; $_desc_i++){ ?>:&nbsp;<?php $this->_echo($d['row'][$_row_i]['ITEM_DESC']);}} ?>
</span></td>
</tr></table>
</td>
</tr>
<?php }} ?>
</table></td>
</tr>
<?php if($_empty_count = count($d['empty'])) {for ($_empty_i = 0; $_empty_i < $_empty_count; $_empty_i++){ ?>
<tr>
<td class="row1" colspan="2" align="center" height="30"><span class="gen"><?php $this->_echo($d['.'][0]['L_EMPTY']); ?>
</span></td>
</tr>
<?php }} ?>
<tr>
<td class="catBottom" colspan="2" align="center" valign="middle"><?php $this->_echo($d['.'][0]['S_HIDDEN_FIELDS']); ?><span class="gensmall">
<input type="image" name="submit_form" src="<?php $this->_echo($d['.'][0]['I_SUBMIT']); ?>" border="0" title="<?php $this->_echo($d['.'][0]['L_SUBMIT']); ?>" alt="<?php $this->_echo($d['.'][0]['L_SUBMIT']); ?>" />
</span></td>
</tr>
</table></form>
<br clear="all" />

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