<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr> 
<td align="left" valign="bottom"><span class="gensmall">
<?php if($_switch_user_logged_in_count = count($d['switch_user_logged_in'])) {for ($_switch_user_logged_in_i = 0; $_switch_user_logged_in_i < $_switch_user_logged_in_count; $_switch_user_logged_in_i++){$this->_echo($d['.'][0]['LAST_VISIT_DATE']); ?><br /><?php }} ?>
<?php $this->_echo($d['.'][0]['CURRENT_TIME']); ?><br />
<?php $this->_echo($d['.'][0]['S_TIMEZONE']); ?>
</span></td>
</tr>
</table>

<br class="nav" />

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

<table border="0" cellpadding="4" cellspacing="1" width="100%">
<tr> 
<td><span class="maintitle">
<a class="maintitle" href="<?php $this->_echo($d['.'][0]['U_VIEW_TOPIC']); ?>"><?php $this->_echo($d['.'][0]['TOPIC_TITLE']); ?></a>
</span><span class="gensmall"><br />
<?php if($_moderators_count = count($d['moderators'])) {for ($_moderators_i = 0; $_moderators_i < $_moderators_count; $_moderators_i++){ ?><b><?php $this->_echo($d['.'][0]['L_MODERATORS']); ?>:&nbsp;</b><?php if($_mod_count = count($d['moderators'][$_moderators_i]['mod'])) {for ($_mod_i = 0; $_mod_i < $_mod_count; $_mod_i++){ ?><a href="<?php $this->_echo($d['moderators'][$_moderators_i]['mod'][$_mod_i]['U_MOD']); ?>" title="<?php $this->_echo($d['moderators'][$_moderators_i]['mod'][$_mod_i]['L_MOD_TITLE']); ?>" class="gensmall"><?php $this->_echo($d['moderators'][$_moderators_i]['mod'][$_mod_i]['L_MOD']); ?></a><?php if($_sep_count = count($d['moderators'][$_moderators_i]['mod'][$_mod_i]['sep'])) {for ($_sep_i = 0; $_sep_i < $_sep_count; $_sep_i++){ ?>, <?php }}}}}} ?>
</span></td>
</tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" nowrap="nowrap"><span class="nav">
<a href="<?php $this->_echo($d['.'][0]['U_NEW_TOPIC']); ?>" title="<?php $this->_echo($d['.'][0]['L_NEW_TOPIC']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_NEW_TOPIC']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_NEW_TOPIC']); ?>" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="<?php $this->_echo($d['.'][0]['U_REPLY_TOPIC']); ?>" title="<?php $this->_echo($d['.'][0]['L_REPLY_TOPIC']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_REPLY_TOPIC']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_REPLY_TOPIC']); ?>" align="middle" /></a>
</span></td>
<td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall">
<?php if($_watch_count = count($d['watch'])) {for ($_watch_i = 0; $_watch_i < $_watch_count; $_watch_i++){ ?><a href="<?php $this->_echo($d['.'][0]['U_WATCH_TOPIC']); ?>" class="gensmall"><?php $this->_echo($d['.'][0]['L_WATCH_TOPIC']); ?></a><br /><?php }}if($_unread_topic_count = count($d['unread_topic'])) {for ($_unread_topic_i = 0; $_unread_topic_i < $_unread_topic_count; $_unread_topic_i++){ ?><a href="<?php $this->_echo($d['.'][0]['U_UNREAD_TOPIC']); ?>" class="gensmall"><?php $this->_echo($d['.'][0]['L_UNREAD_TOPIC']); ?></a>&nbsp;::&nbsp;<?php }} ?>
<a href="<?php $this->_echo($d['.'][0]['U_VIEW_PREVIOUS_TOPIC']); ?>" class="gensmall"><?php $this->_echo($d['.'][0]['L_VIEW_PREVIOUS_TOPIC']); ?></a> :: <a href="<?php $this->_echo($d['.'][0]['U_VIEW_NEXT_TOPIC']); ?>" class="gensmall"><?php $this->_echo($d['.'][0]['L_VIEW_NEXT_TOPIC']); ?></a><br />
</span></td>
</tr>
</table>

<?php $this->_include('pagination_box.tpl'); ?>

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<?php $this->_echo($d['.'][0]['POLL_DISPLAY']); ?>
<tr>
<th class="thCornerL" width="150" nowrap="nowrap"><?php $this->_echo($d['.'][0]['L_AUTHOR']); ?></th>
<th class="thCornerR" nowrap="nowrap"><?php $this->_echo($d['.'][0]['L_MESSAGE']); ?></th>
</tr>
<?php if($_postrow_count = count($d['postrow'])) {for ($_postrow_i = 0; $_postrow_i < $_postrow_count; $_postrow_i++){ ?>
<tr> 
<td width="150" align="left" valign="top" class="<?php if($_light_count = count($d['postrow'][$_postrow_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>"><span class="name">
<a name="<?php $this->_echo($d['postrow'][$_postrow_i]['U_POST_ID']); ?>"></a><b><?php $this->_echo($d['postrow'][$_postrow_i]['POSTER_NAME']); ?></b>
</span><br /><span class="postdetails">
<?php if($_rank_count = count($d['postrow'][$_postrow_i]['rank'])) {for ($_rank_i = 0; $_rank_i < $_rank_count; $_rank_i++){$this->_echo($d['postrow'][$_postrow_i]['L_POSTER_RANK']); ?><br /><?php if($_img_count = count($d['postrow'][$_postrow_i]['rank'][$_rank_i]['img'])) {for ($_img_i = 0; $_img_i < $_img_count; $_img_i++){ ?><img src="<?php $this->_echo($d['postrow'][$_postrow_i]['I_POSTER_RANK']); ?>" border="0" alt="<?php $this->_echo($d['postrow'][$_postrow_i]['L_POSTER_RANK']); ?>" /><br /><?php }}}}if($_avatar_count = count($d['postrow'][$_postrow_i]['avatar'])) {for ($_avatar_i = 0; $_avatar_i < $_avatar_count; $_avatar_i++){ ?><img src="<?php $this->_echo($d['postrow'][$_postrow_i]['POSTER_AVATAR']); ?>" border="0" alt="" /><br /><?php }} ?>
<br />
<?php if($_poster_joined_count = count($d['postrow'][$_postrow_i]['poster_joined'])) {for ($_poster_joined_i = 0; $_poster_joined_i < $_poster_joined_count; $_poster_joined_i++){$this->_echo($d['.'][0]['L_POSTER_JOINED']); ?>: <?php $this->_echo($d['postrow'][$_postrow_i]['POSTER_JOINED']); ?><br /><?php }}if($_poster_posts_count = count($d['postrow'][$_postrow_i]['poster_posts'])) {for ($_poster_posts_i = 0; $_poster_posts_i < $_poster_posts_count; $_poster_posts_i++){$this->_echo($d['.'][0]['L_POSTER_POSTS']); ?>: <?php $this->_echo($d['postrow'][$_postrow_i]['POSTER_POSTS']); ?><br /><?php }}if($_poster_from_count = count($d['postrow'][$_postrow_i]['poster_from'])) {for ($_poster_from_i = 0; $_poster_from_i < $_poster_from_count; $_poster_from_i++){$this->_echo($d['.'][0]['L_POSTER_FROM']); ?>: <?php $this->_echo($d['postrow'][$_postrow_i]['POSTER_FROM']); ?><br /><?php }} ?>
</span><br /></td>
<td class="<?php if($_light_count = count($d['postrow'][$_postrow_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>" width="100%" height="28" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_POST']); ?>" title="<?php $this->_echo($d['postrow'][$_postrow_i]['L_POST']); ?>"><img src="<?php $this->_echo($d['postrow'][$_postrow_i]['I_POST']); ?>" width="12" height="9" alt="<?php $this->_echo($d['postrow'][$_postrow_i]['L_POST']); ?>" border="0" /></a><span class="postdetails"><?php $this->_echo($d['.'][0]['L_POSTED']); ?>: <?php $this->_echo($d['postrow'][$_postrow_i]['POST_DATE']); ?><span class="gen">&nbsp;</span>&nbsp; &nbsp;<?php $this->_echo($d['.'][0]['L_POST_SUBJECT']); ?>:
<?php if($_msg_icon_count = count($d['postrow'][$_postrow_i]['msg_icon'])) {for ($_msg_icon_i = 0; $_msg_icon_i < $_msg_icon_count; $_msg_icon_i++){ ?><img src="<?php $this->_echo($d['postrow'][$_postrow_i]['msg_icon'][$_msg_icon_i]['I_ICON']); ?>" border="0" title="<?php $this->_echo($d['postrow'][$_postrow_i]['msg_icon'][$_msg_icon_i]['L_ICON']); ?>" class="absbottom" />&nbsp;<?php }}if($_sub_type_count = count($d['postrow'][$_postrow_i]['sub_type'])) {for ($_sub_type_i = 0; $_sub_type_i < $_sub_type_count; $_sub_type_i++){if($_img_count = count($d['postrow'][$_postrow_i]['sub_type'][$_sub_type_i]['img'])) {for ($_img_i = 0; $_img_i < $_img_count; $_img_i++){ ?><img src="<?php $this->_echo($d['postrow'][$_postrow_i]['sub_type'][$_sub_type_i]['I_SUB_TYPE']); ?>" border="0" alt="<?php $this->_echo($d['postrow'][$_postrow_i]['sub_type'][$_sub_type_i]['L_SUB_TYPE']); ?>" title="<?php $this->_echo($d['postrow'][$_postrow_i]['sub_type'][$_sub_type_i]['L_SUB_TYPE']); ?>" class="absbottom" /><?php }}if($_txt_count = count($d['postrow'][$_postrow_i]['sub_type'][$_sub_type_i]['txt'])) {for ($_txt_i = 0; $_txt_i < $_txt_count; $_txt_i++){ ?><b>[<?php $this->_echo($d['postrow'][$_postrow_i]['sub_type'][$_sub_type_i]['L_SUB_TYPE']); ?>]</b><?php }} ?>&nbsp;<?php }} ?>
<?php $this->_echo($d['postrow'][$_postrow_i]['POST_SUBJECT']); ?>
<?php if($_sub_title_count = count($d['postrow'][$_postrow_i]['sub_title'])) {for ($_sub_title_i = 0; $_sub_title_i < $_sub_title_count; $_sub_title_i++){ ?><br /><?php $this->_echo($d['.'][0]['L_SUB_TITLE']); ?>: <?php $this->_echo($d['postrow'][$_postrow_i]['sub_title'][$_sub_title_i]['SUB_TITLE']);}}if($_announce_count = count($d['postrow'][$_postrow_i]['announce'])) {for ($_announce_i = 0; $_announce_i < $_announce_count; $_announce_i++){ ?><br /><?php $this->_echo($d['postrow'][$_postrow_i]['announce'][$_announce_i]['S_ANNOUNCE']);}}if($_calendar_event_count = count($d['postrow'][$_postrow_i]['calendar_event'])) {for ($_calendar_event_i = 0; $_calendar_event_i < $_calendar_event_count; $_calendar_event_i++){ ?><br /><?php $this->_echo($d['postrow'][$_postrow_i]['calendar_event'][$_calendar_event_i]['S_CALENDAR_EVENT']);}} ?>
</span></td>
<td valign="top" nowrap="nowrap">&nbsp;
<?php if($_quote_count = count($d['postrow'][$_postrow_i]['quote'])) {for ($_quote_i = 0; $_quote_i < $_quote_count; $_quote_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_QUOTE']); ?>" title="<?php $this->_echo($d['.'][0]['L_POST_QUOTE']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POST_QUOTE']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POST_QUOTE']); ?>" /></a>&nbsp;<?php }}if($_edit_count = count($d['postrow'][$_postrow_i]['edit'])) {for ($_edit_i = 0; $_edit_i < $_edit_count; $_edit_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_EDIT']); ?>" title="<?php $this->_echo($d['.'][0]['L_POST_EDIT']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POST_EDIT']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POST_EDIT']); ?>" /></a>&nbsp;<?php }}if($_delete_count = count($d['postrow'][$_postrow_i]['delete'])) {for ($_delete_i = 0; $_delete_i < $_delete_count; $_delete_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_DELETE']); ?>" title="<?php $this->_echo($d['.'][0]['L_POST_DELETE']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POST_DELETE']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POST_DELETE']); ?>" /></a>&nbsp;<?php }}if($_ip_count = count($d['postrow'][$_postrow_i]['ip'])) {for ($_ip_i = 0; $_ip_i < $_ip_count; $_ip_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_IP']); ?>" title="<?php $this->_echo($d['.'][0]['L_POST_IP']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POST_IP']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POST_IP']); ?>" /></a>&nbsp;<?php }}if($_unmark_read_count = count($d['postrow'][$_postrow_i]['unmark_read'])) {for ($_unmark_read_i = 0; $_unmark_read_i < $_unmark_read_count; $_unmark_read_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_UNREAD_POST']); ?>"  title="<?php $this->_echo($d['.'][0]['L_POST_UNREAD']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POST_UNREAD']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POST_UNREAD']); ?>" /></a>&nbsp;<?php }} ?>
</td>
</tr>
<?php if($_assignment_giver_count = count($d['postrow'][$_postrow_i]['assignment_giver'])) {for ($_assignment_giver_i = 0; $_assignment_giver_i < $_assignment_giver_count; $_assignment_giver_i++){ ?>
<tr>
<td valign="bottom" height="40" align="right" colspan="2">
<form name="assign_post" method="post" action="<?php $this->_echo($d['postrow'][$_postrow_i]['assignment_giver'][$_assignment_giver_i]['ACTION']); ?>">
<?php $this->_echo($d['postrow'][$_postrow_i]['assignment_giver'][$_assignment_giver_i]['PROJECT_MEMBERS_SELECT']); ?>
<input class="post" type="text" name="assignment_note" value="" size="25" maxlength="450">
<input type="hidden" name="assignment_post_id" value="<?php $this->_echo($d['postrow'][$_postrow_i]['assignment_giver'][$_assignment_giver_i]['POST_ID']); ?>">
<input type="submit" name="action" value="Assign" class="mainoption">
</form>
</td>
</tr>
<?php }} ?>
<tr> 
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2">
<span class="postbody"><?php $this->_echo($d['postrow'][$_postrow_i]['MESSAGE']); ?></span>
<?php $this->_echo($d['postrow'][$_postrow_i]['ATTACHMENTS']); ?>
<span class="postbody"><?php if($_signature_count = count($d['postrow'][$_postrow_i]['signature'])) {for ($_signature_i = 0; $_signature_i < $_signature_count; $_signature_i++){ ?><br />_________________<br /><?php $this->_echo($d['postrow'][$_postrow_i]['SIGNATURE']); ?><br /><?php }} ?></span>
<span class="gensmall"><?php if($_edited_count = count($d['postrow'][$_postrow_i]['edited'])) {for ($_edited_i = 0; $_edited_i < $_edited_count; $_edited_i++){ ?><br /><?php $this->_echo($d['postrow'][$_postrow_i]['EDITED_MESSAGE']); ?><br /><?php }} ?></span>
</td>
</tr>
</table></td>
</tr>
<tr>
<td class="<?php if($_light_count = count($d['postrow'][$_postrow_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>" width="150" align="left" valign="middle"><span class="nav">
<a href="#top" class="nav"><?php $this->_echo($d['.'][0]['L_BACK_TO_TOP']); ?></a>
</span></td>
<td class="<?php if($_light_count = count($d['postrow'][$_postrow_i]['light'])) {for ($_light_i = 0; $_light_i < $_light_count; $_light_i++){ ?>row1<?php }} else { ?>row2<?php } ?>" width="100%" height="28" valign="bottom" nowrap="nowrap">
<table cellspacing="0" cellpadding="0" border="0"><tr>
<td height="18" valign="top" nowrap="nowrap">
<?php if($_profile_count = count($d['postrow'][$_postrow_i]['profile'])) {for ($_profile_i = 0; $_profile_i < $_profile_count; $_profile_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_PROFILE']); ?>" title="<?php $this->_echo($d['.'][0]['L_POSTER_PROFILE']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POSTER_PROFILE']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POSTER_PROFILE']); ?>" /></a>&nbsp;<?php }}if($_pm_count = count($d['postrow'][$_postrow_i]['pm'])) {for ($_pm_i = 0; $_pm_i < $_pm_count; $_pm_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_PM']); ?>" title="<?php $this->_echo($d['.'][0]['L_POSTER_PM']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POSTER_PM']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POSTER_PM']); ?>" /></a>&nbsp;<?php }}if($_email_count = count($d['postrow'][$_postrow_i]['email'])) {for ($_email_i = 0; $_email_i < $_email_count; $_email_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_EMAIL']); ?>" title="<?php $this->_echo($d['.'][0]['L_POSTER_EMAIL']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POSTER_EMAIL']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POSTER_EMAIL']); ?>" /></a>&nbsp;<?php }}if($_www_count = count($d['postrow'][$_postrow_i]['www'])) {for ($_www_i = 0; $_www_i < $_www_count; $_www_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_WWW']); ?>" title="<?php $this->_echo($d['.'][0]['L_POSTER_WWW']); ?>" target="userwww"><img src="<?php $this->_echo($d['.'][0]['I_POSTER_WWW']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POSTER_WWW']); ?>" /></a>&nbsp;<?php }}if($_aim_count = count($d['postrow'][$_postrow_i]['aim'])) {for ($_aim_i = 0; $_aim_i < $_aim_count; $_aim_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_AIM']); ?>" title="<?php $this->_echo($d['.'][0]['L_POSTER_AIM']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POSTER_AIM']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POSTER_AIM']); ?>" /></a>&nbsp;<?php }}if($_yim_count = count($d['postrow'][$_postrow_i]['yim'])) {for ($_yim_i = 0; $_yim_i < $_yim_count; $_yim_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_YIM']); ?>" title="<?php $this->_echo($d['.'][0]['L_POSTER_YIM']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POSTER_YIM']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POSTER_YIM']); ?>" /></a>&nbsp;<?php }}if($_msn_count = count($d['postrow'][$_postrow_i]['msn'])) {for ($_msn_i = 0; $_msn_i < $_msn_count; $_msn_i++){ ?><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_MSN']); ?>" title="<?php $this->_echo($d['.'][0]['L_POSTER_MSN']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POSTER_MSN']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POSTER_MSN']); ?>" /></a>&nbsp;<?php }} ?>
</td>
<?php if($_icq_count = count($d['postrow'][$_postrow_i]['icq'])) {for ($_icq_i = 0; $_icq_i < $_icq_count; $_icq_i++){ ?>
<td height="18" valign="top" nowrap="nowrap">
<div style="position:relative"><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_ICQ']); ?>" title="<?php $this->_echo($d['.'][0]['L_POSTER_ICQ']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_POSTER_ICQ']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_POSTER_ICQ']); ?>"></a>&nbsp;<div id="icq_status_<?php $this->_echo($d['postrow'][$_postrow_i]['U_POST_ID']); ?>" style="position:absolute; left:3px; top:-1px; display:none"><a href="<?php $this->_echo($d['postrow'][$_postrow_i]['U_ICQ_STATUS']); ?>" title=""><img src="<?php $this->_echo($d['postrow'][$_postrow_i]['I_ICQ_STATUS']); ?>" width="18" height="18" border="0" alt="" /></a></div></div>
</td>
<?php }} ?>
</tr></table>
</td>
</tr>
<tr> 
<td class="spaceRow" colspan="2" height="1"><img src="<?php $this->_echo($d['.'][0]['I_SPACER']); ?>" alt="" width="1" height="1" /></td>
</tr>
<?php }}if($_empty_count = count($d['empty'])) {for ($_empty_i = 0; $_empty_i < $_empty_count; $_empty_i++){ ?>
<tr>
<td colspan="2" class="row1" height="35" align="center"><span class="gen"><?php $this->_echo($d['.'][0]['L_EMPTY']); ?>
</span></td>
</tr>
<tr>
<td class="spaceRow" colspan="2" height="1"><img src="<?php $this->_echo($d['.'][0]['I_SPACER']); ?>" alt="" width="1" height="1" /></td>
</tr>
<?php }} ?>
<tr align="center"> 
<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
<tr><form method="post" action="<?php $this->_echo($d['.'][0]['S_POST_DAYS_ACTION']); ?>">
<td align="center"><span class="gensmall"><?php $this->_echo($d['.'][0]['L_DISPLAY_POSTS']); ?>:&nbsp;<select name="postdays"><?php $this->_echo($d['.'][0]['POSTDAYS']); ?></select>&nbsp;&nbsp;<?php $this->_echo($d['.'][0]['L_SORT_BY']); ?>:&nbsp;<select name="sort"><?php $this->_echo($d['.'][0]['SORT']); ?></select>&nbsp;<select name="postorder"><?php $this->_echo($d['.'][0]['POSTORDER']); ?></select>&nbsp;<input type="submit" value="<?php $this->_echo($d['.'][0]['L_GO']); ?>" class="liteoption" name="submit" /></span></td>
</form></tr>
</table></td>
</tr>
</table>

<?php $this->_include('pagination_box.tpl'); ?>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="top" nowrap="nowrap"><span class="nav">
<a href="<?php $this->_echo($d['.'][0]['U_NEW_TOPIC']); ?>" title="<?php $this->_echo($d['.'][0]['L_NEW_TOPIC']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_NEW_TOPIC']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_NEW_TOPIC']); ?>" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="<?php $this->_echo($d['.'][0]['U_REPLY_TOPIC']); ?>" title="<?php $this->_echo($d['.'][0]['L_REPLY_TOPIC']); ?>"><img src="<?php $this->_echo($d['.'][0]['I_REPLY_TOPIC']); ?>" border="0" alt="<?php $this->_echo($d['.'][0]['L_REPLY_TOPIC']); ?>" align="middle" /></a>
</span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">
<?php if($_unread_topic_count = count($d['unread_topic'])) {for ($_unread_topic_i = 0; $_unread_topic_i < $_unread_topic_count; $_unread_topic_i++){ ?><a href="<?php $this->_echo($d['.'][0]['U_UNREAD_TOPIC']); ?>" class="gensmall"><?php $this->_echo($d['.'][0]['L_UNREAD_TOPIC']); ?></a>&nbsp;::&nbsp;<?php }} ?>
<a href="<?php $this->_echo($d['.'][0]['U_VIEW_PREVIOUS_TOPIC']); ?>" class="gensmall"><?php $this->_echo($d['.'][0]['L_VIEW_PREVIOUS_TOPIC']); ?></a> :: <a href="<?php $this->_echo($d['.'][0]['U_VIEW_NEXT_TOPIC']); ?>" title="<?php $this->_echo($d['.'][0]['L_VIEW_NEXT_TOPIC']); ?>" class="gensmall"><?php $this->_echo($d['.'][0]['L_VIEW_NEXT_TOPIC']); ?></a><br />
<?php if($_watch_count = count($d['watch'])) {for ($_watch_i = 0; $_watch_i < $_watch_count; $_watch_i++){ ?><a href="<?php $this->_echo($d['.'][0]['U_WATCH_TOPIC']); ?>" class="gensmall"><?php $this->_echo($d['.'][0]['L_WATCH_TOPIC']); ?></a><?php }} ?>
</span></td>
</tr>
</table>

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

<table width="100%" cellspacing="2" border="0" align="center">
<tr> 
<td width="40%" valign="top" nowrap="nowrap" align="left">
<?php if($_modcp_count = count($d['modcp'])) {for ($_modcp_i = 0; $_modcp_i < $_modcp_count; $_modcp_i++){ ?><a href="<?php $this->_echo($d['modcp'][$_modcp_i]['U_ACTION']); ?>" title="<?php $this->_echo($d['modcp'][$_modcp_i]['L_ACTION']); ?>"><img src="<?php $this->_echo($d['modcp'][$_modcp_i]['I_ACTION']); ?>" border="0" alt="<?php $this->_echo($d['modcp'][$_modcp_i]['L_ACTION']); ?>" /></a>&nbsp;<?php }} ?>
<?php $this->_echo($d['.'][0]['QUICK_REPLY_FORM']); ?>
</td>
<td align="right" valign="top" nowrap="nowrap">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td nowrap="nowrap" align="right"><?php $this->_echo($d['.'][0]['JUMPBOX']); ?></td>
</tr>
</table>
<?php if($_rules_count = count($d['rules'])) {for ($_rules_i = 0; $_rules_i < $_rules_count; $_rules_i++){ ?><br /><span class="gensmall"><?php if($_row_count = count($d['rules'][$_rules_i]['row'])) {for ($_row_i = 0; $_row_i < $_row_count; $_row_i++){$this->_echo($d['rules'][$_rules_i]['row'][$_row_i]['S_RULE']); ?><br /><?php }} ?></span><?php }} ?>
</td>
</tr>
</table>

<script language="JavaScript" type="text/javascript"><!--//
function _icq()
{
this.ids = new Array();
return this;
}
_icq.prototype.objref = function(id)
{
return document.getElementById ? document.getElementById(id) : (document.all ? document.all[id] : (document.layers ? document.layers[id] : null));
}
_icq.prototype.display_status = function()
{
if ( (navigator.userAgent.toLowerCase().indexOf('mozilla') == -1) || (navigator.userAgent.indexOf('5.') != -1) || (navigator.userAgent.indexOf('6.') != -1) )
{
for ( i = 1; i < this.ids.length; i++ )
{
icq_status = this.objref(this.ids[i]);
if ( icq_status && icq_status.style )
{
icq_status.style.display = '';
}
}
}
}

icq_status = new _icq();
icq_status.ids = Array(''<?php if($_postrow_count = count($d['postrow'])) {for ($_postrow_i = 0; $_postrow_i < $_postrow_count; $_postrow_i++){if($_icq_count = count($d['postrow'][$_postrow_i]['icq'])) {for ($_icq_i = 0; $_icq_i < $_icq_count; $_icq_i++){ ?>, 'icq_status_<?php $this->_echo($d['postrow'][$_postrow_i]['U_POST_ID']); ?>'<?php }}}} ?>);
icq_status.display_status();
//--></script>