]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2_old/templates/Helius/index_body.tpl
1706e4ec7ea68ad2c1e646ee721d586a8a46fb06
[www.vanrenterghem.biz.git] / phpBB2_old / templates / Helius / index_body.tpl
1 <!-- BEGIN switch_xs_enabled -->
2 <?php
4 // This code will be visible only if eXtreme Styles mod is installed.
6 // highlight private message info if there is a new message
7 global $userdata;
8 if(!empty($userdata['user_new_privmsg']) && !empty($this->vars['PRIVATE_MESSAGE_INFO']))
9 {
10         $this->vars['PRIVATE_MESSAGE_INFO'] = '<b>' . $this->vars['PRIVATE_MESSAGE_INFO'] . '</b>';
11 }
13 ?>
14 <!-- END switch_xs_enabled -->
15 <table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
16   <tr> 
17         <td align="left" valign="bottom"><span class="gensmall">
18         <!-- BEGIN switch_user_logged_in -->
19         {PRIVATE_MESSAGE_INFO}<br />
20         {LAST_VISIT_DATE}<br />
21         <!-- END switch_user_logged_in -->
22         {CURRENT_TIME}<br />
23         {S_TIMEZONE}<br />
24         </span></td>
25         <td align="right" valign="bottom" class="gensmall">
26                 <!-- BEGIN switch_user_logged_in -->
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 />
28                 <!-- END switch_user_logged_in -->
29                 <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a><br />
30                 <a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></td>
31   </tr>
32 </table>
34 <!-- BEGIN catrow -->
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">
36 <tr> 
37         <th colspan="2" class="thCornerL" height="26" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
38         <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
39         <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
40         <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
41 </tr>
42 <!-- BEGIN forumrow -->
43 <tr> 
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>
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 />
46           </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
47           </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
48         <td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
49         <td class="row2" align="center" valign="middle"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
50         <td class="row3" align="center" valign="middle" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
51 </tr>
52 <!-- END forumrow -->
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}
54 <script language="javascript" type="text/javascript">
55 <!--
56 tmp = 'catrow_{catrow.CAT_ID}';
57 if(GetCookie(tmp) == '2')
58 {
59         ShowHide('cat_{catrow.CAT_ID}','cat2_{catrow.CAT_ID}','catrow_{catrow.CAT_ID}');
60 }
61 //-->
62 </script>
63 <br />
64 <!-- END catrow -->
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">
67 <tr> 
68         <td class="row4" align="center" valign="middle" rowspan="2"><img src="{T_TEMPLATE_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
69         <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
70         </td>
71 </tr>
72 <tr> 
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>
74 </tr>
75 </table>{TPL_FTR}
76 <br />
78 <!-- BEGIN switch_user_logged_out -->
79 <form method="post" action="{S_LOGIN_ACTION}">
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">
81 <tr> 
82         <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}: 
83                 <input class="post" type="text" name="username" size="10" />
84                 &nbsp;&nbsp;&nbsp;{L_PASSWORD}: 
85                 <input class="post" type="password" name="password" size="10" />
86                 &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN} 
87                 <input class="text" type="checkbox" name="autologin" checked="checked" />
88                 &nbsp;&nbsp;&nbsp; 
89                 <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
90                 </span> </td>
91 </tr>
92 </table>{TPL_FTR}
93 </form>
94 <br />
95 <!-- END switch_user_logged_out -->
96 <!-- BEGIN switch_user_logged_out -->
97 <a title="{L_LOGIN_LOGOUT}" href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>
98 <a title="{L_REGISTER}" href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a>
99 <!-- END switch_user_logged_out -->
100 <!-- BEGIN switch_user_logged_in -->
101 <a title="{L_PROFILE}" href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a>
102 <a title="{PRIVATE_MESSAGE_INFO}" href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a>
103 <!-- END switch_user_logged_in -->
104 <a title="{L_FAQ}" href="{U_FAQ}" class="mainmenu">{L_FAQ}</a>
105 <a title="{L_MEMBERLIST}" href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a>
106 <a title="{L_SEARCH}" href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a>
107 <!-- BEGIN switch_user_logged_in -->
108 <a title="{L_USERGROUPS}" href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>
109 <a title="{L_LOGIN_LOGOUT}" href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a>
110 <!-- END switch_user_logged_in -->
111 <br />
112 <br />
114 <table cellspacing="3" border="0" align="center" cellpadding="0">
115   <tr> 
116         <td width="20" align="center"><img src="{T_TEMPLATE_PATH}/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
117         <td><span class="gensmall">{L_NEW_POSTS}</span></td>
118         <td>&nbsp;&nbsp;</td>
119         <td width="20" align="center"><img src="{T_TEMPLATE_PATH}/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
120         <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
121         <td>&nbsp;&nbsp;</td>
122         <td width="20" align="center"><img src="{T_TEMPLATE_PATH}/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
123         <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
124   </tr>
125 </table>