]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/templates/Helius/index_body.tpl
e17138ff55298eabd2b9cc7e91ef6f0f8b59b006
[www.vanrenterghem.biz.git] / phpBB2 / templates / Helius / index_body.tpl
1 <!-- BEGIN switch_xs_enabled -->\r
2 <?php\r
3 \r
4 // This code will be visible only if eXtreme Styles mod is installed.\r
5 \r
6 // highlight private message info if there is a new message\r
7 global $userdata;\r
8 if(!empty($userdata['user_new_privmsg']) && !empty($this->vars['PRIVATE_MESSAGE_INFO']))\r
9 {\r
10         $this->vars['PRIVATE_MESSAGE_INFO'] = '<b>' . $this->vars['PRIVATE_MESSAGE_INFO'] . '</b>';\r
11 }\r
12 \r
13 ?>\r
14 <!-- END switch_xs_enabled -->\r
15 <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">\r
16   <tr> \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
23         {S_TIMEZONE}<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
31   </tr>\r
32 </table>\r
33 \r
34 <!-- BEGIN catrow -->\r
35 {TPL_HDR1}<span class="cattitle">&nbsp;<a href="javascript:ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');" class="cattitle">{catrow.CAT_DESC}</a>&nbsp;</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
36 <tr> \r
37         <th colspan="2" class="thCornerL" height="26" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>\r
38         <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>\r
39         <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>\r
40         <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>\r
41 </tr>\r
42 <!-- BEGIN forumrow -->\r
43 <tr> \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
51 </tr>\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
55 <!--\r
56 tmp = 'catrow_{catrow.CAT_ID}';\r
57 if(GetCookie(tmp) == '2')\r
58 {\r
59         ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');\r
60 }\r
61 //-->\r
62 </script>\r
63 <br />\r
64 <!-- END catrow -->\r
65 \r
66 {TPL_HDR1}<span class="cattitle">&nbsp;<a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a>&nbsp;</span>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">\r
67 <tr> \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
70         </td>\r
71 </tr>\r
72 <tr> \r
73         <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{L_ONLINE_EXPLAIN}</span></td>\r
74 </tr>\r
75 </table>{TPL_FTR}\r
76 <br />\r
77 \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
81 <tr> \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                 &nbsp;&nbsp;&nbsp;{L_PASSWORD}: \r
85                 <input class="post" type="password" name="password" size="10" />\r
86                 <!-- BEGIN switch_allow_autologin -->\r
87                 &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN} \r
88                 <input class="text" type="checkbox" name="autologin" checked="checked" />\r
89                 <!-- END switch_allow_autologin -->\r
90                 &nbsp;&nbsp;&nbsp; \r
91                 <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />\r
92                 </span> </td>\r
93 </tr>\r
94 </table>{TPL_FTR}\r
95 </form>\r
96 <br />\r
97 <!-- END switch_user_logged_out -->\r
98 \r
99 <table cellspacing="3" border="0" align="center" cellpadding="0">\r
100   <tr> \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>&nbsp;&nbsp;</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>&nbsp;&nbsp;</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
109   </tr>\r
110 </table>\r