<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td class="nav" align="left" valign="top">
      <a href="<?php echo isset($this->vars['U_VIEW_TOPIC']) ? $this->vars['U_VIEW_TOPIC'] : ''; ?>"><span class="maintitle"><?php echo isset($this->vars['TOPIC_TITLE']) ? $this->vars['TOPIC_TITLE'] : ''; ?></span></a>
      <br/><?php echo isset($this->vars['PAGINATION']) ? $this->vars['PAGINATION'] : ''; ?>
    </td>
    <!-- <td class="gensmall" align="right" valign="bottom"><?php echo isset($this->vars['NAVBARTEXTTOP']) ? $this->vars['NAVBARTEXTTOP'] : ''; ?></td> -->
  </tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr>
    <td class="nav" valign="top" width="100%">
      <a href="<?php echo isset($this->vars['U_INDEX']) ? $this->vars['U_INDEX'] : ''; ?>" class="nav"><?php echo isset($this->vars['L_INDEX']) ? $this->vars['L_INDEX'] : ''; ?></a><?php echo isset($this->vars['NAV_CAT_DESC']) ? $this->vars['NAV_CAT_DESC'] : ''; ?><?php echo isset($this->vars['NAV_SEPARATOR']) ? $this->vars['NAV_SEPARATOR'] : ''; ?><a href="<?php echo isset($this->vars['U_VIEW_FORUM']) ? $this->vars['U_VIEW_FORUM'] : ''; ?>" class="nav"><?php echo isset($this->vars['FORUM_NAME']) ? $this->vars['FORUM_NAME'] : ''; ?></a>
    </td>
    <td align="right"><?php echo isset($this->vars['S_TOPIC_ADMIN']) ? $this->vars['S_TOPIC_ADMIN'] : ''; ?></td>
  </tr>
  <tr>
    <td nowrap="nowrap">
      <a href="<?php echo isset($this->vars['U_POST_NEW_TOPIC']) ? $this->vars['U_POST_NEW_TOPIC'] : ''; ?>"><img src="<?php echo isset($this->vars['POST_IMG']) ? $this->vars['POST_IMG'] : ''; ?>" border="0" alt="<?php echo isset($this->vars['L_POST_NEW_TOPIC']) ? $this->vars['L_POST_NEW_TOPIC'] : ''; ?>" title="<?php echo isset($this->vars['L_POST_NEW_TOPIC']) ? $this->vars['L_POST_NEW_TOPIC'] : ''; ?>" /></a>&nbsp;&nbsp;&nbsp;<a href="<?php echo isset($this->vars['U_POST_REPLY_TOPIC']) ? $this->vars['U_POST_REPLY_TOPIC'] : ''; ?>"><img src="<?php echo isset($this->vars['REPLY_IMG']) ? $this->vars['REPLY_IMG'] : ''; ?>" border="0" alt="<?php echo isset($this->vars['L_POST_REPLY_TOPIC']) ? $this->vars['L_POST_REPLY_TOPIC'] : ''; ?>" title="<?php echo isset($this->vars['L_POST_REPLY_TOPIC']) ? $this->vars['L_POST_REPLY_TOPIC'] : ''; ?>" /></a>
    </td>
    <td nowrap="nowrap">
      <?php echo isset($this->vars['NAVBAR']) ? $this->vars['NAVBAR'] : ''; ?>
    </td> 
  </tr>
</table>
<?php echo isset($this->vars['POLL_DISPLAY']) ? $this->vars['POLL_DISPLAY'] : ''; ?>
<?php

$display_support_status_count = ( isset($this->_tpldata['display_support_status.']) ) ?  sizeof($this->_tpldata['display_support_status.']) : 0;
for ($display_support_status_i = 0; $display_support_status_i < $display_support_status_count; $display_support_status_i++)
{
 $display_support_status_item = &$this->_tpldata['display_support_status.'][$display_support_status_i];

?>
<table class="forumline" width="100%" cellpadding="5" cellspacing="1" border="0">
  <tr>
    <th colspan="2"><?php echo isset($this->vars['L_SUPPORT_TOPIC']) ? $this->vars['L_SUPPORT_TOPIC'] : ''; ?></th>
  </td>
  <tr>
    <td class="row1" width="25%"><?php echo isset($this->vars['L_STATUS']) ? $this->vars['L_STATUS'] : ''; ?></td>
    <td class="row2" align="center"><?php echo isset($this->vars['L_CURRENT_STATUS']) ? $this->vars['L_CURRENT_STATUS'] : ''; ?></td>
  </tr>
</table>
<br class="gensmall">
<?php

} // END display_support_status

?>
<?php

$support_status_update_count = ( isset($this->_tpldata['support_status_update.']) ) ?  sizeof($this->_tpldata['support_status_update.']) : 0;
for ($support_status_update_i = 0; $support_status_update_i < $support_status_update_count; $support_status_update_i++)
{
 $support_status_update_item = &$this->_tpldata['support_status_update.'][$support_status_update_i];

?>
<table class="forumline" width="100%" cellpadding="3" cellspacing="1" border="0">
  <form method="post" name="select_status" action="<?php echo isset($this->vars['S_SUPPORT_STARUS_ACTION']) ? $this->vars['S_SUPPORT_STARUS_ACTION'] : ''; ?>" onSubmit="if(document.select_status.support_status.value == -1){return false;}">
  <tr>
    <th colspan="3"><?php echo isset($this->vars['L_SUPPORT_TOPIC']) ? $this->vars['L_SUPPORT_TOPIC'] : ''; ?></th>
  </td>
  <tr>
    <td class="row1" width="25%"><?php echo isset($this->vars['L_STATUS']) ? $this->vars['L_STATUS'] : ''; ?></td>
    <td class="row2" width="30%" align="center"><?php echo isset($this->vars['L_CURRENT_STATUS']) ? $this->vars['L_CURRENT_STATUS'] : ''; ?></td>
    <td class="row3" align="right"><?php echo isset($this->vars['S_SUPPORT_STATUS']) ? $this->vars['S_SUPPORT_STATUS'] : ''; ?></td>
  </tr>
  </form>
</table>
<br class="gensmall">
<?php

} // END support_status_update

?>
<table class="forumline" width="100%" cellspacing="1" border="0">
  <?php echo isset($this->vars['QUICKREPLY_OUTPUT_DESC']) ? $this->vars['QUICKREPLY_OUTPUT_DESC'] : ''; ?>
  <tr>
    <th class="th" width="20%"><?php echo isset($this->vars['L_AUTHOR']) ? $this->vars['L_AUTHOR'] : ''; ?></th>
    <th class="th" width="80%"><?php echo isset($this->vars['L_MESSAGE']) ? $this->vars['L_MESSAGE'] : ''; ?></th>
  </tr>
  <?php

$postrow_count = ( isset($this->_tpldata['postrow.']) ) ?  sizeof($this->_tpldata['postrow.']) : 0;
for ($postrow_i = 0; $postrow_i < $postrow_count; $postrow_i++)
{
 $postrow_item = &$this->_tpldata['postrow.'][$postrow_i];

?>
  <tr>
    <td class="<?php echo isset($postrow_item['ROW_CLASS']) ? $postrow_item['ROW_CLASS'] : ''; ?>">
      <table width="100%" border="0" cellpadding="3" cellspacing="0">
        <tr>
          <td valign="middle">
            <span class="name"><a name="<?php echo isset($postrow_item['U_POST_ID']) ? $postrow_item['U_POST_ID'] : ''; ?>"></a><strong><?php echo isset($postrow_item['POSTER_NAME']) ? $postrow_item['POSTER_NAME'] : ''; ?></strong></span><?php echo isset($postrow_item['POSTER_STATUS_IMG']) ? $postrow_item['POSTER_STATUS_IMG'] : ''; ?>
          </td>
        </tr>
      </table>
    </td>
    <td class="<?php echo isset($postrow_item['ROW_CLASS']) ? $postrow_item['ROW_CLASS'] : ''; ?>">
      <table width="100%" border="0" cellpadding="3" cellspacing="0">
        <tr>
          <?php

$posticon_count = ( isset($postrow_item['posticon.']) ) ? sizeof($postrow_item['posticon.']) : 0;
for ($posticon_i = 0; $posticon_i < $posticon_count; $posticon_i++)
{
 $posticon_item = &$postrow_item['posticon.'][$posticon_i];

?>
          <td>
            <?php echo isset($posticon_item['ICON']) ? $posticon_item['ICON'] : ''; ?>
          </td>
          <?php

} // END posticon

?>
					<td width="100%" class="postdetails">
            <span style="float:left;"><b><?php echo isset($this->vars['L_POST_SUBJECT']) ? $this->vars['L_POST_SUBJECT'] : ''; ?>:</b> <?php echo isset($postrow_item['POST_SUBJECT']) ? $postrow_item['POST_SUBJECT'] : ''; ?>&nbsp;</span>
            <span style="float:right;"><a href="<?php echo isset($postrow_item['U_MINI_POST']) ? $postrow_item['U_MINI_POST'] : ''; ?>"><img src="<?php echo isset($postrow_item['MINI_POST_IMG']) ? $postrow_item['MINI_POST_IMG'] : ''; ?>" alt="<?php echo isset($postrow_item['L_MINI_POST_ALT']) ? $postrow_item['L_MINI_POST_ALT'] : ''; ?>" title="<?php echo isset($postrow_item['L_MINI_POST_ALT']) ? $postrow_item['L_MINI_POST_ALT'] : ''; ?>" border="0"  /></a><b><?php echo isset($this->vars['L_POSTED']) ? $this->vars['L_POSTED'] : ''; ?>:</b> <?php echo isset($postrow_item['POST_DATE']) ? $postrow_item['POST_DATE'] : ''; ?></span>
          </td>
				</tr>
      </table>
    </td>
  </tr>
  <tr>
    <td valign="top" class="<?php echo isset($postrow_item['ROW_CLASS']) ? $postrow_item['ROW_CLASS'] : ''; ?>" rowspan="2">
      <table width="100%" border="0" cellpadding="5" cellspacing="0">
        <tr>
          <td>
            <span class="postdetails"><?php echo isset($postrow_item['POSTER_RANK']) ? $postrow_item['POSTER_RANK'] : ''; ?><br />
            <?php echo isset($postrow_item['RANK_IMAGE']) ? $postrow_item['RANK_IMAGE'] : ''; ?><?php echo isset($postrow_item['POSTER_AVATAR']) ? $postrow_item['POSTER_AVATAR'] : ''; ?><br /><br />
            <span style="border-top-style: solid; border-top-width: 1"><?php echo isset($postrow_item['POSTER_JOINED']) ? $postrow_item['POSTER_JOINED'] : ''; ?></span><br />
            <?php echo isset($postrow_item['POSTER_POSTS']) ? $postrow_item['POSTER_POSTS'] : ''; ?><br />
<font color="#0066ff"><b><?php echo isset($postrow_item['USER_WARNS']) ? $postrow_item['USER_WARNS'] : ''; ?></b></font>
            <?php echo isset($postrow_item['POSTER_FROM']) ? $postrow_item['POSTER_FROM'] : ''; ?><br />
            <?php echo isset($postrow_item['POSTER_STATUS']) ? $postrow_item['POSTER_STATUS'] : ''; ?></span>
            <!-- <img src="./modules/PNphpBB2/templates/<?php echo isset($this->vars['T_THEME_NAME']) ? $this->vars['T_THEME_NAME'] : ''; ?>/images/spacer.gif" alt="" width="150" height="1" /> -->
          </td>
        </tr>
      </table>
    </td>
    <td class="<?php echo isset($postrow_item['ROW_CLASS']) ? $postrow_item['ROW_CLASS'] : ''; ?>">
      <table width="100%" cellpadding="5" cellspacing="0">
        <tr>
          <td valign="top" class="postbody"><?php echo isset($postrow_item['MESSAGE']) ? $postrow_item['MESSAGE'] : ''; ?></td>
        </tr>
        <tr>
          <td height="40" valign="bottom" class="genmed">
          <!-- Begin PNphpBB2 Attachment Mod -->
            <?php echo isset($postrow_item['ATTACHMENTS']) ? $postrow_item['ATTACHMENTS'] : ''; ?>
          <!-- End PNphpBB2 Attachment Mod -->
            <span class="postbody"><?php echo isset($postrow_item['SIGNATURE']) ? $postrow_item['SIGNATURE'] : ''; ?></span>
            <span class="gensmall"><?php echo isset($postrow_item['EDITED_MESSAGE']) ? $postrow_item['EDITED_MESSAGE'] : ''; ?></span>
          </td>
        <tr>
        <tr>
	        <td class="gensmall" align="right"><?php echo isset($postrow_item['REPORT_IMG']) ? $postrow_item['REPORT_IMG'] : ''; ?> <?php echo isset($postrow_item['DELETE_IMG']) ? $postrow_item['DELETE_IMG'] : ''; ?> <?php echo isset($postrow_item['IP_IMG']) ? $postrow_item['IP_IMG'] : ''; ?><?php echo isset($postrow_item['USER_UNBAN']) ? $postrow_item['USER_UNBAN'] : ''; ?> <?php echo isset($postrow_item['USER_WARN']) ? $postrow_item['USER_WARN'] : ''; ?> <?php echo isset($postrow_item['USER_BAN']) ? $postrow_item['USER_BAN'] : ''; ?>&nbsp;</td>
	      </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td valign="bottom" nowrap="nowrap" class="<?php echo isset($postrow_item['ROW_CLASS']) ? $postrow_item['ROW_CLASS'] : ''; ?>">
      <div class="gensmall" style="float:left">&nbsp;<?php echo isset($postrow_item['PROFILE_IMG']) ? $postrow_item['PROFILE_IMG'] : ''; ?> <?php echo isset($postrow_item['PM_IMG']) ? $postrow_item['PM_IMG'] : ''; ?> <?php echo isset($postrow_item['EMAIL_IMG']) ? $postrow_item['EMAIL_IMG'] : ''; ?> <?php echo isset($postrow_item['WWW_IMG']) ? $postrow_item['WWW_IMG'] : ''; ?> <?php echo isset($postrow_item['AIM_IMG']) ? $postrow_item['AIM_IMG'] : ''; ?> <?php echo isset($postrow_item['YIM_IMG']) ? $postrow_item['YIM_IMG'] : ''; ?> <?php echo isset($postrow_item['MSN_IMG']) ? $postrow_item['MSN_IMG'] : ''; ?> <?php echo isset($postrow_item['ICQ_IMG']) ? $postrow_item['ICQ_IMG'] : ''; ?>&nbsp;</div>
      <div class="gensmall" style="float:right"><?php echo isset($postrow_item['QUOTE_IMG']) ? $postrow_item['QUOTE_IMG'] : ''; ?> <?php echo isset($postrow_item['EDIT_IMG']) ? $postrow_item['EDIT_IMG'] : ''; ?> <a href="#top"><img src="<?php echo isset($postrow_item['ICON_UP']) ? $postrow_item['ICON_UP'] : ''; ?>" border="0" alt="<?php echo isset($this->vars['L_BACK_TO_TOP']) ? $this->vars['L_BACK_TO_TOP'] : ''; ?>" title="<?php echo isset($this->vars['L_BACK_TO_TOP']) ? $this->vars['L_BACK_TO_TOP'] : ''; ?>" /></a></div>
    </td>
  </tr>

  <tr>
    <td colspan="2" height="1"><img src="./modules/PNphpBB2/templates/<?php echo isset($this->vars['T_THEME_NAME']) ? $this->vars['T_THEME_NAME'] : ''; ?>/images/spacer.gif" alt="" width="1" height="1" border="0"/></td>
  </tr>
  <?php

} // END postrow

?>
  <?php echo isset($this->vars['QUICKREPLY_OUTPUT_ASC']) ? $this->vars['QUICKREPLY_OUTPUT_ASC'] : ''; ?>
  <tr>
    <td class="cat" colspan="2" height="28">
      <table cellspacing="0" cellpadding="2" border="0" align="center">
        <tr>
          <td>
            <form method="post" action="<?php echo isset($this->vars['S_POST_DAYS_ACTION']) ? $this->vars['S_POST_DAYS_ACTION'] : ''; ?>">
            <table cellspacing="0" cellpadding="0" border="0" align="center">
	            <tr align="center"> 
		            <td nowrap="nowrap">
                  <?php echo isset($this->vars['L_DISPLAY_POSTS']) ? $this->vars['L_DISPLAY_POSTS'] : ''; ?>:&nbsp;&nbsp;<?php echo isset($this->vars['S_SELECT_POST_DAYS']) ? $this->vars['S_SELECT_POST_DAYS'] : ''; ?>&nbsp;<?php echo isset($this->vars['S_SELECT_POST_ORDER']) ? $this->vars['S_SELECT_POST_ORDER'] : ''; ?>&nbsp;&nbsp;
                  <input type="submit" value="<?php echo isset($this->vars['L_GO']) ? $this->vars['L_GO'] : ''; ?>" class="catbutton" name="submit" />
                </td>
              </tr>
            </table>
            </form>
          </td>
        </tr>
        <tr align="center">
          <td><?php echo isset($this->vars['JUMPBOX']) ? $this->vars['JUMPBOX'] : ''; ?></td>
        </tr> 
      </table>
    </td>
  </tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr>
    <td colspan="3" align="right" valign="top">
      <div class="gensmall"><?php echo isset($this->vars['S_TIMEZONE']) ? $this->vars['S_TIMEZONE'] : ''; ?></div>
    </td>
  </tr>
  <tr>
    <td nowrap="nowrap">
      <a href="<?php echo isset($this->vars['U_POST_NEW_TOPIC']) ? $this->vars['U_POST_NEW_TOPIC'] : ''; ?>"><img src="<?php echo isset($this->vars['POST_IMG']) ? $this->vars['POST_IMG'] : ''; ?>" border="0" alt="<?php echo isset($this->vars['L_POST_NEW_TOPIC']) ? $this->vars['L_POST_NEW_TOPIC'] : ''; ?>" title="<?php echo isset($this->vars['L_POST_NEW_TOPIC']) ? $this->vars['L_POST_NEW_TOPIC'] : ''; ?>" /></a>&nbsp;&nbsp;&nbsp;<a href="<?php echo isset($this->vars['U_POST_REPLY_TOPIC']) ? $this->vars['U_POST_REPLY_TOPIC'] : ''; ?>"><img src="<?php echo isset($this->vars['REPLY_IMG']) ? $this->vars['REPLY_IMG'] : ''; ?>" border="0" alt="<?php echo isset($this->vars['L_POST_REPLY_TOPIC']) ? $this->vars['L_POST_REPLY_TOPIC'] : ''; ?>" title="<?php echo isset($this->vars['L_POST_REPLY_TOPIC']) ? $this->vars['L_POST_REPLY_TOPIC'] : ''; ?>" /></a>
    </td>
    <td colspan="2" nowrap="nowrap"><?php echo isset($this->vars['NAVBAR']) ? $this->vars['NAVBAR'] : ''; ?></td>
  </tr>
  <tr>
    <td class="nav" valign="top"><?php echo isset($this->vars['PAGINATION']) ? $this->vars['PAGINATION'] : ''; ?></td>
    <td rowspan="2" align="right" valign="top"><?php echo isset($this->vars['S_TOPIC_ADMIN']) ? $this->vars['S_TOPIC_ADMIN'] : ''; ?></td>
  </tr>
  <tr>
    <td class="nav" width="100%">
      &nbsp;<a href="<?php echo isset($this->vars['U_INDEX']) ? $this->vars['U_INDEX'] : ''; ?>" class="nav"><?php echo isset($this->vars['L_INDEX']) ? $this->vars['L_INDEX'] : ''; ?></a><?php echo isset($this->vars['NAV_CAT_DESC']) ? $this->vars['NAV_CAT_DESC'] : ''; ?><?php echo isset($this->vars['NAV_SEPARATOR']) ? $this->vars['NAV_SEPARATOR'] : ''; ?>
      <a href="<?php echo isset($this->vars['U_VIEW_FORUM']) ? $this->vars['U_VIEW_FORUM'] : ''; ?>" class="nav"><?php echo isset($this->vars['FORUM_NAME']) ? $this->vars['FORUM_NAME'] : ''; ?></a>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td class="gensmall" align="right" valign="top">
      <!-- <?php echo isset($this->vars['NAVBARTEXTBOT']) ? $this->vars['NAVBARTEXTBOT'] : ''; ?>-->
      <!-- <?php echo isset($this->vars['S_AUTH_LIST']) ? $this->vars['S_AUTH_LIST'] : ''; ?> -->
    </td>
  </tr>
</table>

