]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/templates/Helius/overall_header.tpl
db0a3947f7dafe96daf82ac225d3f76c59a36c2c
[www.vanrenterghem.biz.git] / phpBB2 / templates / Helius / overall_header.tpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
2 <html dir="{S_CONTENT_DIRECTION}">\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">\r
5 <meta http-equiv="Content-Style-Type" content="text/css">\r
6 <meta name="Author" content="http://www.phpbbstyles.com" />\r
7 {META}\r
8 {NAV_LINKS}\r
9 <title>{SITENAME} :: {PAGE_TITLE}</title>\r
10 <link rel="stylesheet" href="{T_TEMPLATE_PATH}/Helius.css" type="text/css">\r
11 <style type="text/css">\r
12 <!--\r
13 th, td.th, td.spacerow  { background-image: url({T_TEMPLATE_PATH}/images/bg_cat.gif); }\r
14 td.th2  { background-image: url({T_TEMPLATE_PATH}/images/bg_cat2.gif); }\r
15 td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom, td.row4      { background-image: url({T_TEMPLATE_PATH}/images/bg_cat4.gif); }\r
16 \r
17 /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */\r
18 @import url("{T_TEMPLATE_PATH}/formIE.css"); \r
19 -->\r
20 </style>\r
21 <!-- BEGIN switch_enable_pm_popup -->\r
22 <script language="Javascript" type="text/javascript">\r
23 <!--\r
24         if ( {PRIVATE_MESSAGE_NEW_FLAG} )\r
25         {\r
26                 window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;\r
27         }\r
28 //-->\r
29 </script>\r
30 <!-- END switch_enable_pm_popup -->\r
31 <script language="javascript" type="text/javascript">\r
32 <!--\r
33 \r
34 var PreloadFlag = false;\r
35 var expDays = 90;\r
36 var exp = new Date(); \r
37 var tmp = '';\r
38 var tmp_counter = 0;\r
39 var tmp_open = 0;\r
40 \r
41 exp.setTime(exp.getTime() + (expDays*24*60*60*1000));\r
42 \r
43 function changeImages()\r
44 {\r
45         if (document.images)\r
46         {\r
47                 for (var i=0; i<changeImages.arguments.length; i+=2)\r
48                 {\r
49                         document[changeImages.arguments[i]].src = changeImages.arguments[i+1];\r
50                 }\r
51         }\r
52 }\r
53 \r
54 function newImage(arg)\r
55 {\r
56         if (document.images)\r
57         {\r
58                 rslt = new Image();\r
59                 rslt.src = arg;\r
60                 return rslt;\r
61         }\r
62 }\r
63 \r
64 function PreloadImages()\r
65 {\r
66         if (document.images)\r
67         {\r
68                 // preload all rollover images\r
69                 <!-- BEGIN switch_user_logged_out -->\r
70                 img0 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif');\r
71                 img1 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif');\r
72                 <!-- END switch_user_logged_out -->\r
73                 <!-- BEGIN switch_user_logged_in -->\r
74                 img2 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif');\r
75                 img3 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif');\r
76                 img4 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif');\r
77                 img5 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif');\r
78                 <!-- END switch_user_logged_in -->\r
79                 img6 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif');\r
80                 img7 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif');\r
81                 img8 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif');\r
82                 img9 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif');\r
83                 PreloadFlag = true;\r
84         }\r
85         return true;\r
86 }\r
87 \r
88 \r
89 function SetCookie(name, value) \r
90 {\r
91         var argv = SetCookie.arguments;\r
92         var argc = SetCookie.arguments.length;\r
93         var expires = (argc > 2) ? argv[2] : null;\r
94         var path = (argc > 3) ? argv[3] : null;\r
95         var domain = (argc > 4) ? argv[4] : null;\r
96         var secure = (argc > 5) ? argv[5] : false;\r
97         document.cookie = name + "=" + escape(value) +\r
98                 ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +\r
99                 ((path == null) ? "" : ("; path=" + path)) +\r
100                 ((domain == null) ? "" : ("; domain=" + domain)) +\r
101                 ((secure == true) ? "; secure" : "");\r
102 }\r
103 \r
104 function getCookieVal(offset) \r
105 {\r
106         var endstr = document.cookie.indexOf(";",offset);\r
107         if (endstr == -1)\r
108         {\r
109                 endstr = document.cookie.length;\r
110         }\r
111         return unescape(document.cookie.substring(offset, endstr));\r
112 }\r
113 \r
114 function GetCookie(name) \r
115 {\r
116         var arg = name + "=";\r
117         var alen = arg.length;\r
118         var clen = document.cookie.length;\r
119         var i = 0;\r
120         while (i < clen) \r
121         {\r
122                 var j = i + alen;\r
123                 if (document.cookie.substring(i, j) == arg)\r
124                         return getCookieVal(j);\r
125                 i = document.cookie.indexOf(" ", i) + 1;\r
126                 if (i == 0)\r
127                         break;\r
128         } \r
129         return null;\r
130 }\r
131 \r
132 function ShowHide(id1, id2, id3) \r
133 {\r
134         var res = expMenu(id1);\r
135         if (id2 != '') expMenu(id2);\r
136         if (id3 != '') SetCookie(id3, res, exp);\r
137 }\r
138         \r
139 function expMenu(id) \r
140 {\r
141         var itm = null;\r
142         if (document.getElementById) \r
143         {\r
144                 itm = document.getElementById(id);\r
145         }\r
146         else if (document.all)\r
147         {\r
148                 itm = document.all[id];\r
149         } \r
150         else if (document.layers)\r
151         {\r
152                 itm = document.layers[id];\r
153         }\r
154         if (!itm) \r
155         {\r
156                 // do nothing\r
157         }\r
158         else if (itm.style) \r
159         {\r
160                 if (itm.style.display == "none")\r
161                 { \r
162                         itm.style.display = ""; \r
163                         return 1;\r
164                 }\r
165                 else\r
166                 {\r
167                         itm.style.display = "none"; \r
168                         return 2;\r
169                 }\r
170         }\r
171         else \r
172         {\r
173                 itm.visibility = "show"; \r
174                 return 1;\r
175         }\r
176 }\r
177 \r
178 //-->\r
179 </script>\r
180 </head>\r
181 <body bgcolor="#E5E8EE" text="#000000" link="#364D67" vlink="#2C3E52" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" background="{T_TEMPLATE_PATH}/images/bg_main.gif" onload="PreloadImages();">\r
182 \r
183 <a name="top"></a>\r
184 \r
185 <table width="100%" cellspacing="1" cellpadding="0" border="0" bgcolor="#525E6E">\r
186 <tr>\r
187         <td width="100%" background="{T_TEMPLATE_PATH}/images/logo_bg.gif" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="0" width="100%">\r
188         <tr height="23">\r
189                 <td width="130"><a href="{U_INDEX}"><img src="{T_TEMPLATE_PATH}/images/logo1.gif" width="130" height="23" border="0" /></a></td>\r
190                 <td width="100%" background="{T_TEMPLATE_PATH}/images/btn_bg.gif" nowrap="nowrap" align="right" valign="top"><table border="0" cellspacing="0" cellpadding="0">\r
191                 <tr>\r
192                         <td align="center" valign="middle" width="20"><img src="{T_TEMPLATE_PATH}/images/btn_left.gif" width="20" height="23" border="0" /></td>\r
193                         <!-- BEGIN switch_user_logged_out -->\r
194                         <td align="center" valign="middle"><a title="{L_LOGIN_LOGOUT}" href="{U_LOGIN_LOGOUT}" class="mainmenu" onmouseover="changeImages('btn_top_login', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif'); return true;" onmouseout="changeImages('btn_top_login', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login.gif'); return true;"><img name="btn_top_login" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login.gif" height="23" border="0" alt="{L_LOGIN_LOGOUT}" /></a></td>\r
195                         <td align="center" valign="middle"><a title="{L_REGISTER}" href="{U_REGISTER}" class="mainmenu" onmouseover="changeImages('btn_top_register', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif'); return true;" onmouseout="changeImages('btn_top_register', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register.gif'); return true;"><img name="btn_top_register" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register.gif" height="23" border="0" alt="{L_REGISTER}" /></a></td>\r
196                         <!-- END switch_user_logged_out -->\r
197                         <!-- BEGIN switch_user_logged_in -->\r
198                         <td align="center" valign="middle"><a title="{L_PROFILE}" href="{U_PROFILE}" class="mainmenu" onmouseover="changeImages('btn_top_profile', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif'); return true;" onmouseout="changeImages('btn_top_profile', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile.gif'); return true;"><img name="btn_top_profile" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile.gif" height="23" border="0" alt="{L_PROFILE}" /></a></td>\r
199                         <td align="center" valign="middle"><a title="{PRIVATE_MESSAGE_INFO}" href="{U_PRIVATEMSGS}" class="mainmenu" onmouseover="changeImages('btn_top_pm', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif'); return true;" onmouseout="changeImages('btn_top_pm', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm.gif'); return true;"><img name="btn_top_pm" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm.gif" height="23" border="0" alt="{PRIVATE_MESSAGE_INFO}" /></a></td>\r
200                         <!-- END switch_user_logged_in -->\r
201                         <td align="center" valign="middle"><a title="{L_FAQ}" href="{U_FAQ}" class="mainmenu" onmouseover="changeImages('btn_top_faq', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif'); return true;" onmouseout="changeImages('btn_top_faq', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq.gif'); return true;"><img name="btn_top_faq" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq.gif" height="23" border="0" alt="{L_FAQ}" /></a></td>\r
202                         <td align="center" valign="middle"><a title="{L_MEMBERLIST}" href="{U_MEMBERLIST}" class="mainmenu" onmouseover="changeImages('btn_top_users', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif'); return true;" onmouseout="changeImages('btn_top_users', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users.gif'); return true;"><img name="btn_top_users" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users.gif" height="23" border="0" alt="{L_MEMBERLIST}" /></a></td>\r
203                         <td align="center" valign="middle"><a title="{L_SEARCH}" href="{U_SEARCH}" class="mainmenu" onmouseover="changeImages('btn_top_search', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif'); return true;" onmouseout="changeImages('btn_top_search', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search.gif'); return true;"><img name="btn_top_search" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search.gif" height="23" border="0" alt="{L_SEARCH}" /></a></td>\r
204                         <!-- BEGIN switch_user_logged_in -->\r
205                         <td align="center" valign="middle"><a title="{L_USERGROUPS}" href="{U_GROUP_CP}" class="mainmenu" onmouseover="changeImages('btn_top_groups', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif'); return true;" onmouseout="changeImages('btn_top_groups', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups.gif'); return true;"><img name="btn_top_groups" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups.gif" height="23" border="0" alt="{L_USERGROUPS}" /></a></td>\r
206                         <td align="center" valign="middle"><a title="{L_LOGIN_LOGOUT}" href="{U_LOGIN_LOGOUT}" class="mainmenu" onmouseover="changeImages('btn_top_logout', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif'); return true;" onmouseout="changeImages('btn_top_logout', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout.gif'); return true;"><img name="btn_top_logout" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout.gif" height="23" border="0" alt="{L_LOGIN_LOGOUT}" /></a></td>\r
207                         <!-- END switch_user_logged_in -->\r
208                         <td align="center" valign="middle"><a title="{L_INDEX}" href="{U_INDEX}" class="mainmenu" onmouseover="changeImages('btn_top_index', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif'); return true;" onmouseout="changeImages('btn_top_index', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index.gif'); return true;"><img name="btn_top_index" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index.gif" height="23" border="0" alt="{L_INDEX}" /></a></td>\r
209                 </tr>\r
210                 </table></td>\r
211         </tr>\r
212         <tr>\r
213                 <td width="130"><a href="{U_INDEX}"><img src="{T_TEMPLATE_PATH}/images/logo2.gif" width="130" height="30" border="0" /></a></td>\r
214                 <td width="100%" nowrap="nowrap" align="center" valign="middle"><span class="subtitle">{SITE_DESCRIPTION}</span></td>\r
215         </tr>\r
216         </table>\r
217         </td>\r
218 </tr>\r
219 </table>\r
220 \r
221 <br />\r
222 \r
223 <table border="0" cellspacing="0" cellpadding="10" width="100%">\r
224 <tr>\r
225         <td align="center" valign="top">\r