1 <!-- BEGIN switch_xs_enabled -->
\r
4 // This code will be visible only if eXtreme Styles mod is installed.
\r
6 // highlight private message info if there is a new message
\r
8 if(!empty($userdata['user_new_privmsg']) && !empty($this->vars['PRIVATE_MESSAGE_INFO']))
\r
10 $this->vars['PRIVATE_MESSAGE_INFO'] = '<b>' . $this->vars['PRIVATE_MESSAGE_INFO'] . '</b>';
\r
14 <!-- END switch_xs_enabled -->
\r
15 <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
\r
17 <td align="left" valign="bottom"><span class="gensmall">
\r
18 <!-- BEGIN switch_user_logged_in -->
\r
19 {PRIVATE_MESSAGE_INFO}<br />
\r
20 {LAST_VISIT_DATE}<br />
\r
21 <!-- END switch_user_logged_in -->
\r
22 {CURRENT_TIME}<br />
\r
24 </span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
\r
25 <td align="right" valign="bottom" class="gensmall">
\r
26 <!-- BEGIN switch_user_logged_in -->
\r
27 <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
\r
28 <!-- END switch_user_logged_in -->
\r
29 <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
\r
30 <a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></td>
\r
34 <!-- BEGIN catrow -->
\r
35 {TPL_HDR1}<span class="cattitle"> <a href="javascript:ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');" class="cattitle">{catrow.CAT_DESC}</a> </span>{TPL_HDR2}<div id="cat_{catrow.CAT_ID}" style="display: ''; position: relative;"><table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
\r
37 <th colspan="2" class="thCornerL" height="26" nowrap="nowrap"> {L_FORUM} </th>
\r
38 <th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
\r
39 <th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
\r
40 <th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
\r
42 <!-- BEGIN forumrow -->
\r
44 <td class="row4" align="center" valign="middle" width="30" height="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="20" height="18" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
\r
45 <td class="row1" width="100%" onmouseover="this.style.backgroundColor='{C_ROW1_OVER}';" onmouseout="this.style.backgroundColor='{C_ROW1}';" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
\r
46 </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
\r
47 </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
\r
48 <td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
\r
49 <td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
\r
50 <td class="row3" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
\r
52 <!-- END forumrow -->
\r
53 </table></div><div id="cat2_{catrow.CAT_ID}" style="display: none; position: relative;"><table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline"><tr><td class="spacerow" width="100%" height="3"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="3" border="0" alt="" /></td></tr></table></div>{TPL_FTR}
\r
54 <script language="javascript" type="text/javascript">
\r
56 tmp = 'catrow_{catrow.CAT_ID}';
\r
57 if(GetCookie(tmp) == '2')
\r
59 ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');
\r
66 {TPL_HDR1}<span class="cattitle"> <a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a> </span>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
\r
68 <td class="row4" align="center" valign="middle" rowspan="2"><img src="{T_TEMPLATE_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
\r
69 <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
\r
73 <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{L_ONLINE_EXPLAIN}</span></td>
\r
78 <!-- BEGIN switch_user_logged_out -->
\r
79 <form method="post" action="{S_LOGIN_ACTION}">
\r
80 {TPL_HDR1}<a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
\r
82 <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
\r
83 <input class="post" type="text" name="username" size="10" />
\r
84 {L_PASSWORD}:
\r
85 <input class="post" type="password" name="password" size="10" />
\r
86 <!-- BEGIN switch_allow_autologin -->
\r
87 {L_AUTO_LOGIN}
\r
88 <input class="text" type="checkbox" name="autologin" checked="checked" />
\r
89 <!-- END switch_allow_autologin -->
\r
91 <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
\r
97 <!-- END switch_user_logged_out -->
\r
99 <table cellspacing="3" border="0" align="center" cellpadding="0">
\r
101 <td width="20" align="center"><img src="{T_TEMPLATE_PATH}/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
\r
102 <td><span class="gensmall">{L_NEW_POSTS}</span></td>
\r
103 <td> </td>
\r
104 <td width="20" align="center"><img src="{T_TEMPLATE_PATH}/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
\r
105 <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
\r
106 <td> </td>
\r
107 <td width="20" align="center"><img src="{T_TEMPLATE_PATH}/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
\r
108 <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
\r