<table width="100%" cellspacing="4" cellpadding="0" border="0">
<tr>
<td valign="bottom" class="gensmall">
<?php

$switch_user_logged_in_count = ( isset($this->_tpldata['switch_user_logged_in.']) ) ?  sizeof($this->_tpldata['switch_user_logged_in.']) : 0;
for ($switch_user_logged_in_i = 0; $switch_user_logged_in_i < $switch_user_logged_in_count; $switch_user_logged_in_i++)
{
 $switch_user_logged_in_item = &$this->_tpldata['switch_user_logged_in.'][$switch_user_logged_in_i];

?>
<?php echo isset($this->vars['LAST_VISIT_DATE']) ? $this->vars['LAST_VISIT_DATE'] : ''; ?><br />
<?php

} // END switch_user_logged_in

?>
<?php echo isset($this->vars['CURRENT_TIME']) ? $this->vars['CURRENT_TIME'] : ''; ?><br />
<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'] : ''; ?></td>
<td align="right" valign="bottom" class="gensmall">
<?php

$switch_user_logged_in_count = ( isset($this->_tpldata['switch_user_logged_in.']) ) ?  sizeof($this->_tpldata['switch_user_logged_in.']) : 0;
for ($switch_user_logged_in_i = 0; $switch_user_logged_in_i < $switch_user_logged_in_count; $switch_user_logged_in_i++)
{
 $switch_user_logged_in_item = &$this->_tpldata['switch_user_logged_in.'][$switch_user_logged_in_i];

?>
<a href="<?php echo isset($this->vars['U_SEARCH_SELF']) ? $this->vars['U_SEARCH_SELF'] : ''; ?>"><?php echo isset($this->vars['L_SEARCH_SELF']) ? $this->vars['L_SEARCH_SELF'] : ''; ?></a><br />
<a href="<?php echo isset($this->vars['U_SEARCH_NEW']) ? $this->vars['U_SEARCH_NEW'] : ''; ?>"><?php echo isset($this->vars['L_SEARCH_NEW']) ? $this->vars['L_SEARCH_NEW'] : ''; ?></a><br />
<?php

} // END switch_user_logged_in

?>
<a href="<?php echo isset($this->vars['U_SEARCH_UNANSWERED']) ? $this->vars['U_SEARCH_UNANSWERED'] : ''; ?>"><?php echo isset($this->vars['L_SEARCH_UNANSWERED']) ? $this->vars['L_SEARCH_UNANSWERED'] : ''; ?></a><br />
<?php

$switch_user_logged_in_count = ( isset($this->_tpldata['switch_user_logged_in.']) ) ?  sizeof($this->_tpldata['switch_user_logged_in.']) : 0;
for ($switch_user_logged_in_i = 0; $switch_user_logged_in_i < $switch_user_logged_in_count; $switch_user_logged_in_i++)
{
 $switch_user_logged_in_item = &$this->_tpldata['switch_user_logged_in.'][$switch_user_logged_in_i];

?>
<a href="<?php echo isset($this->vars['U_MARK_READ']) ? $this->vars['U_MARK_READ'] : ''; ?>"><strong><?php echo isset($this->vars['L_MARK_FORUMS_READ']) ? $this->vars['L_MARK_FORUMS_READ'] : ''; ?></strong></a></td>
<?php

} // END switch_user_logged_in

?>
</tr>
</table>
<!-- Begin PNphpBB2 Module Announcements Mod -->
<?php

$switch_annonce_count = ( isset($this->_tpldata['switch_annonce.']) ) ?  sizeof($this->_tpldata['switch_annonce.']) : 0;
for ($switch_annonce_i = 0; $switch_annonce_i < $switch_annonce_count; $switch_annonce_i++)
{
 $switch_annonce_item = &$this->_tpldata['switch_annonce.'][$switch_annonce_i];

?>
<table width="100%" cellpadding="1" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="3" align="center" height="25" class="thCornerL" nowrap="nowrap"><?php echo isset($switch_annonce_item['L_ANNONCE']) ? $switch_annonce_item['L_ANNONCE'] : ''; ?></th>
<th>&nbsp;<?php echo isset($this->vars['L_POSTED']) ? $this->vars['L_POSTED'] : ''; ?>&nbsp;</th>
</tr>
<?php

$topicrow_count = ( isset($switch_annonce_item['topicrow.']) ) ? sizeof($switch_annonce_item['topicrow.']) : 0;
for ($topicrow_i = 0; $topicrow_i < $topicrow_count; $topicrow_i++)
{
 $topicrow_item = &$switch_annonce_item['topicrow.'][$topicrow_i];

?>
<tr>
<td class="row1" align="center" valign="middle" width="35">
<img src="<?php echo isset($topicrow_item['TOPIC_FOLDER_IMG']) ? $topicrow_item['TOPIC_FOLDER_IMG'] : ''; ?>" alt="<?php echo isset($switch_annonce_item['L_TOPIC_FOLDER_ALT']) ? $switch_annonce_item['L_TOPIC_FOLDER_ALT'] : ''; ?>" title="<?php echo isset($topicrow_item['L_TOPIC_FOLDER_ALT']) ? $topicrow_item['L_TOPIC_FOLDER_ALT'] : ''; ?>" />
</td>
<!-- Image Mod -->
<td class="row1" align="center" valign="middle" width="16"><?php echo isset($topicrow_item['ICON']) ? $topicrow_item['ICON'] : ''; ?></td>
<!-- Image Mod -->
<td class="row2 gensmall">&nbsp;<a href="<?php echo isset($topicrow_item['U_VIEW_TOPIC']) ? $topicrow_item['U_VIEW_TOPIC'] : ''; ?>" class="topictitle"><?php echo isset($topicrow_item['TOPIC_TITLE']) ? $topicrow_item['TOPIC_TITLE'] : ''; ?></a>&nbsp;(<?php echo isset($topicrow_item['FORUM_TITLE']) ? $topicrow_item['FORUM_TITLE'] : ''; ?>)</td>
<td class="row2 gensmall" align="center" nowrap="nowrap" width="122"><?php echo isset($topicrow_item['LAST_POST']) ? $topicrow_item['LAST_POST'] : ''; ?></td>
</tr> 
<?php

} // END topicrow

?>
</table>
<br>
<?php

} // END switch_annonce

?>
<!-- End PNphpBB2 Module Announcements Mod -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<!-- Begin PNphpBB2 Categories Hierarchie Mod -->
<th colspan="<?php echo isset($this->vars['INC_SPAN']) ? $this->vars['INC_SPAN'] : ''; ?>" class="thCornerL" height="25" nowrap="nowrap">&nbsp;<?php echo isset($this->vars['L_FORUM']) ? $this->vars['L_FORUM'] : ''; ?>&nbsp;</th>
<th>&nbsp;<?php echo isset($this->vars['L_TOPICS']) ? $this->vars['L_TOPICS'] : ''; ?>&nbsp;</th>
<th>&nbsp;<?php echo isset($this->vars['L_POSTS']) ? $this->vars['L_POSTS'] : ''; ?>&nbsp;</th>
<th>&nbsp;<?php echo isset($this->vars['L_LASTPOST']) ? $this->vars['L_LASTPOST'] : ''; ?>&nbsp;</th>
</tr>
<?php

$catrow_count = ( isset($this->_tpldata['catrow.']) ) ?  sizeof($this->_tpldata['catrow.']) : 0;
for ($catrow_i = 0; $catrow_i < $catrow_count; $catrow_i++)
{
 $catrow_item = &$this->_tpldata['catrow.'][$catrow_i];

?>
<tr> 
<?php

$inc_count = ( isset($catrow_item['inc.']) ) ? sizeof($catrow_item['inc.']) : 0;
for ($inc_i = 0; $inc_i < $inc_count; $inc_i++)
{
 $inc_item = &$catrow_item['inc.'][$inc_i];

?>
<td class="<?php echo isset($inc_item['INC_ROW']) ? $inc_item['INC_ROW'] : ''; ?>" width="46">&nbsp;</td>
<?php

} // END inc

?>
<td class="cat" colspan="<?php echo isset($catrow_item['INC_SPAN']) ? $catrow_item['INC_SPAN'] : ''; ?>" height="28"><a href="<?php echo isset($catrow_item['U_VIEWCAT']) ? $catrow_item['U_VIEWCAT'] : ''; ?>" class="cat"><?php echo isset($catrow_item['CAT_DESC']) ? $catrow_item['CAT_DESC'] : ''; ?></a></td> 
<td class="rowpic" colspan="3" align="right">&nbsp;</td> 
</tr>
<!-- End PNphpBB2 Categories Hierarchie Mod -->
<?php

$forumrow_count = ( isset($catrow_item['forumrow.']) ) ? sizeof($catrow_item['forumrow.']) : 0;
for ($forumrow_i = 0; $forumrow_i < $forumrow_count; $forumrow_i++)
{
 $forumrow_item = &$catrow_item['forumrow.'][$forumrow_i];

?>
<tr>
<?php

$inc_count = ( isset($forumrow_item['inc.']) ) ? sizeof($forumrow_item['inc.']) : 0;
for ($inc_i = 0; $inc_i < $inc_count; $inc_i++)
{
 $inc_item = &$forumrow_item['inc.'][$inc_i];

?>
<td class="<?php echo isset($inc_item['INC_ROW']) ? $inc_item['INC_ROW'] : ''; ?>">&nbsp;</td>
<?php

} // END inc

?>
<td class="<?php echo isset($forumrow_item['INC_ROW']) ? $forumrow_item['INC_ROW'] : ''; ?>" align="center" valign="middle" height="45"><img src="<?php echo isset($forumrow_item['FORUM_FOLDER_IMG']) ? $forumrow_item['FORUM_FOLDER_IMG'] : ''; ?>" alt="<?php echo isset($forumrow_item['L_FORUM_FOLDER_ALT']) ? $forumrow_item['L_FORUM_FOLDER_ALT'] : ''; ?>" title="<?php echo isset($forumrow_item['L_FORUM_FOLDER_ALT']) ? $forumrow_item['L_FORUM_FOLDER_ALT'] : ''; ?>" /></td>
   <td class="row1" width="100%" onMouseOver="this.style.backgroundColor='<?php echo isset($this->vars['T_TD_COLOR1']) ? $this->vars['T_TD_COLOR1'] : ''; ?>'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="<?php echo isset($this->vars['T_TR_COLOR1']) ? $this->vars['T_TR_COLOR1'] : ''; ?>" onclick="window.location.href='<?php echo isset($forumrow_item['U_VIEWFORUM']) ? $forumrow_item['U_VIEWFORUM'] : ''; ?>'"> <span class="forumlink"> <a href="<?php echo isset($forumrow_item['U_VIEWFORUM']) ? $forumrow_item['U_VIEWFORUM'] : ''; ?>" class="forumlink"><?php echo isset($forumrow_item['FORUM_NAME']) ? $forumrow_item['FORUM_NAME'] : ''; ?></a><br /> <?php echo isset($forumrow_item['FORUM_DESC']) ? $forumrow_item['FORUM_DESC'] : ''; ?><br />
<?php echo isset($forumrow_item['L_MODERATOR']) ? $forumrow_item['L_MODERATOR'] : ''; ?> <?php echo isset($forumrow_item['MODERATORS']) ? $forumrow_item['MODERATORS'] : ''; ?></td>
<td class="row2 gensmall" align="center"><?php echo isset($forumrow_item['TOPICS']) ? $forumrow_item['TOPICS'] : ''; ?></td>
<td class="row2 gensmall" align="center"><?php echo isset($forumrow_item['POSTS']) ? $forumrow_item['POSTS'] : ''; ?></td>
<td class="row2 gensmall" align="center" nowrap="nowrap"><?php echo isset($forumrow_item['LAST_POST']) ? $forumrow_item['LAST_POST'] : ''; ?></td>
</tr>
<?php

} // END forumrow

?>
<?php

} // END catrow

?>
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
<tr> 
<td class="gensmall">
  <p class="breadcrumbs"><a href="<?php echo isset($this->vars['U_MARK_READ']) ? $this->vars['U_MARK_READ'] : ''; ?>" class="gensmall"><?php echo isset($this->vars['L_MARK_FORUMS_READ']) ? $this->vars['L_MARK_FORUMS_READ'] : ''; ?></a></p>
  <p class="datetime"><?php echo isset($this->vars['S_TIMEZONE']) ? $this->vars['S_TIMEZONE'] : ''; ?></p>
</td>
</tr>
</table>
<?php

$switch_members_online_count = ( isset($this->_tpldata['switch_members_online.']) ) ?  sizeof($this->_tpldata['switch_members_online.']) : 0;
for ($switch_members_online_i = 0; $switch_members_online_i < $switch_members_online_count; $switch_members_online_i++)
{
 $switch_members_online_item = &$this->_tpldata['switch_members_online.'][$switch_members_online_i];

?>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat" colspan="2"><a href="<?php echo isset($this->vars['U_VIEWONLINE']) ? $this->vars['U_VIEWONLINE'] : ''; ?>"><?php echo isset($this->vars['L_WHO_IS_ONLINE']) ? $this->vars['L_WHO_IS_ONLINE'] : ''; ?></a></td>
</tr>
<tr>
<td class="row1" rowspan="4"><img src="<?php echo isset($this->vars['WHOSONLINE']) ? $this->vars['WHOSONLINE'] : ''; ?>" alt="<?php echo isset($this->vars['L_WHO_IS_ONLINE']) ? $this->vars['L_WHO_IS_ONLINE'] : ''; ?>" title="<?php echo isset($this->vars['L_WHO_IS_ONLINE']) ? $this->vars['L_WHO_IS_ONLINE'] : ''; ?>" />
</td>
<td class="row1 gensmall" width="100%"><?php echo isset($this->vars['TOTAL_POSTS']) ? $this->vars['TOTAL_POSTS'] : ''; ?><br />
<?php echo isset($this->vars['TOTAL_USERS']) ? $this->vars['TOTAL_USERS'] : ''; ?><br />
<?php echo isset($this->vars['NEWEST_USER']) ? $this->vars['NEWEST_USER'] : ''; ?></td>
</tr>
<tr>
<td class="row1 gensmall"><?php echo isset($this->vars['TOTAL_USERS_ONLINE']) ? $this->vars['TOTAL_USERS_ONLINE'] : ''; ?> &nbsp; [ <strong><?php echo isset($this->vars['L_WHOSONLINE_ADMIN']) ? $this->vars['L_WHOSONLINE_ADMIN'] : ''; ?></strong> 
] &nbsp; [ <strong><?php echo isset($this->vars['L_WHOSONLINE_MOD']) ? $this->vars['L_WHOSONLINE_MOD'] : ''; ?></strong> ]<br />
<?php echo isset($this->vars['RECORD_USERS']) ? $this->vars['RECORD_USERS'] : ''; ?><br />
<?php echo isset($this->vars['LOGGED_IN_USER_LIST']) ? $this->vars['LOGGED_IN_USER_LIST'] : ''; ?></td>
  </tr>
  <tr> 
	<td class="row1" align="left"><span class="gensmall"><?php echo isset($this->vars['USERS_OF_THE_DAY_LIST']) ? $this->vars['USERS_OF_THE_DAY_LIST'] : ''; ?></span></td>
</tr>
<tr>
<td class="row1 gensmall"><?php echo isset($this->vars['L_ONLINE_EXPLAIN']) ? $this->vars['L_ONLINE_EXPLAIN'] : ''; ?></td>
</tr>
</table>
<?php

} // END switch_members_online

?>
<?php

$switch_user_logged_out_count = ( isset($this->_tpldata['switch_user_logged_out.']) ) ?  sizeof($this->_tpldata['switch_user_logged_out.']) : 0;
for ($switch_user_logged_out_i = 0; $switch_user_logged_out_i < $switch_user_logged_out_count; $switch_user_logged_out_i++)
{
 $switch_user_logged_out_item = &$this->_tpldata['switch_user_logged_out.'][$switch_user_logged_out_i];

?>
<br />
<form action="user.php" method="post" style="margin:0">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat"><?php echo isset($this->vars['L_LOGIN_LOGOUT']) ? $this->vars['L_LOGIN_LOGOUT'] : ''; ?></td>
</tr>
<tr>
<td class="row1 gensmall" align="center"><?php echo isset($this->vars['L_USERNAME']) ? $this->vars['L_USERNAME'] : ''; ?>: 
<input type="text" name="uname" size="10" maxlength="25">
&nbsp;&nbsp;&nbsp;<?php echo isset($this->vars['L_PASSWORD']) ? $this->vars['L_PASSWORD'] : ''; ?>:
<input type="password" name="pass" size="10" maxlength="32"> 
<input type="hidden" name="url" value="index.php?name=<?php echo isset($this->vars['T_MODNAME']) ? $this->vars['T_MODNAME'] : ''; ?>">
<input type="hidden" name="module" value="NS-User">
<input type="hidden" name="op" value="login">
<input type="submit" class="mainoption" name="login" value="<?php echo isset($this->vars['L_LOGIN']) ? $this->vars['L_LOGIN'] : ''; ?>" />
</td>
</tr>
</table>
</form>
<?php

} // END switch_user_logged_out

?>
<br clear="all" />
<!-- <table cellspacing="3" border="0" cellpadding="0"> -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat" colspan="8"><a class="topictitle"><?php echo isset($this->vars['L_LEGEND']) ? $this->vars['L_LEGEND'] : ''; ?></a></td>
</tr>
<tr>
<td>
<table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td><img src="<?php echo isset($this->vars['FORUM_NEW_IMG']) ? $this->vars['FORUM_NEW_IMG'] : ''; ?>" alt="<?php echo isset($this->vars['L_NEW_POSTS']) ? $this->vars['L_NEW_POSTS'] : ''; ?>" title="<?php echo isset($this->vars['L_NEW_POSTS']) ? $this->vars['L_NEW_POSTS'] : ''; ?>" /></td>
<td class="gensmall"><?php echo isset($this->vars['L_NEW_POSTS']) ? $this->vars['L_NEW_POSTS'] : ''; ?></td>
<td>&nbsp;</td>
<td><img src="<?php echo isset($this->vars['FORUM_IMG']) ? $this->vars['FORUM_IMG'] : ''; ?>" alt="<?php echo isset($this->vars['L_NO_NEW_POSTS']) ? $this->vars['L_NO_NEW_POSTS'] : ''; ?>" title="<?php echo isset($this->vars['L_NO_NEW_POSTS']) ? $this->vars['L_NO_NEW_POSTS'] : ''; ?>" /></td>
<td class="gensmall"><?php echo isset($this->vars['L_NO_NEW_POSTS']) ? $this->vars['L_NO_NEW_POSTS'] : ''; ?></td>
<td>&nbsp;</td>
<td><img src="<?php echo isset($this->vars['FORUM_LOCKED_IMG']) ? $this->vars['FORUM_LOCKED_IMG'] : ''; ?>" alt="<?php echo isset($this->vars['L_FORUM_LOCKED']) ? $this->vars['L_FORUM_LOCKED'] : ''; ?>" title="<?php echo isset($this->vars['L_FORUM_LOCKED']) ? $this->vars['L_FORUM_LOCKED'] : ''; ?>" /></td>
<td class="gensmall"><?php echo isset($this->vars['L_FORUM_LOCKED']) ? $this->vars['L_FORUM_LOCKED'] : ''; ?></td>
</tr>
</table>
</td>
</tr>
</table>

