]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2_old/templates/Helius/overall_header.tpl
Baseline
[www.vanrenterghem.biz.git] / phpBB2_old / templates / Helius / overall_header.tpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html dir="{S_CONTENT_DIRECTION}">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="Author" content="Frederik Vanrenterghem - with some help..." />
7 {META}
8 {NAV_LINKS}
9 <title>{SITENAME} :: {PAGE_TITLE}</title>
10 <link rel="stylesheet" href="{T_TEMPLATE_PATH}/Helius.css" type="text/css">
12 <!-- start vanrenterghem.biz styles -->
13 <link rel="stylesheet" href="/styles/header.css" type="text/css" />
14 <link rel="stylesheet" href="/styles/main.css" type="text/css" />
15 <!-- end vanrenterghem.biz styles -->
16 <style type="text/css">
17 <!--
18 th, td.th, td.spacerow  { background-color: #066000; }
19 td.th2  { background-image: url({T_TEMPLATE_PATH}/images/bg_cat2.gif); }
20 td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom, td.row4      { background-image: url({T_TEMPLATE_PATH}/images/bg_cat4.gif); }
22 /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
23 @import url("{T_TEMPLATE_PATH}/formIE.css"); 
24 -->
25 </style>
26 <!-- BEGIN switch_enable_pm_popup -->
27 <script language="Javascript" type="text/javascript">
28 <!--
29         if ( {PRIVATE_MESSAGE_NEW_FLAG} )
30         {
31                 window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
32         }
33 //-->
34 </script>
35 <!-- END switch_enable_pm_popup -->
36 <script language="javascript" type="text/javascript">
37 <!--
39 var PreloadFlag = false;
40 var expDays = 90;
41 var exp = new Date(); 
42 var tmp = '';
43 var tmp_counter = 0;
44 var tmp_open = 0;
46 exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
48 function changeImages()
49 {
50         if (document.images)
51         {
52                 for (var i=0; i<changeImages.arguments.length; i+=2)
53                 {
54                         document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
55                 }
56         }
57 }
59 function newImage(arg)
60 {
61         if (document.images)
62         {
63                 rslt = new Image();
64                 rslt.src = arg;
65                 return rslt;
66         }
67 }
69 function PreloadImages()
70 {
71         if (document.images)
72         {
73                 // preload all rollover images
74                 <!-- BEGIN switch_user_logged_out -->
75                 img0 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif');
76                 img1 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif');
77                 <!-- END switch_user_logged_out -->
78                 <!-- BEGIN switch_user_logged_in -->
79                 img2 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif');
80                 img3 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif');
81                 img4 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif');
82                 img5 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif');
83                 <!-- END switch_user_logged_in -->
84                 img6 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif');
85                 img7 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif');
86                 img8 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif');
87                 img9 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif');
88                 PreloadFlag = true;
89         }
90         return true;
91 }
94 function SetCookie(name, value) 
95 {
96         var argv = SetCookie.arguments;
97         var argc = SetCookie.arguments.length;
98         var expires = (argc > 2) ? argv[2] : null;
99         var path = (argc > 3) ? argv[3] : null;
100         var domain = (argc > 4) ? argv[4] : null;
101         var secure = (argc > 5) ? argv[5] : false;
102         document.cookie = name + "=" + escape(value) +
103                 ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
104                 ((path == null) ? "" : ("; path=" + path)) +
105                 ((domain == null) ? "" : ("; domain=" + domain)) +
106                 ((secure == true) ? "; secure" : "");
109 function getCookieVal(offset) 
111         var endstr = document.cookie.indexOf(";",offset);
112         if (endstr == -1)
113         {
114                 endstr = document.cookie.length;
115         }
116         return unescape(document.cookie.substring(offset, endstr));
119 function GetCookie(name) 
121         var arg = name + "=";
122         var alen = arg.length;
123         var clen = document.cookie.length;
124         var i = 0;
125         while (i < clen) 
126         {
127                 var j = i + alen;
128                 if (document.cookie.substring(i, j) == arg)
129                         return getCookieVal(j);
130                 i = document.cookie.indexOf(" ", i) + 1;
131                 if (i == 0)
132                         break;
133         } 
134         return null;
137 function ShowHide(id1, id2, id3) 
139         var res = expMenu(id1);
140         if (id2 != '') expMenu(id2);
141         if (id3 != '') SetCookie(id3, res, exp);
143         
144 function expMenu(id) 
146         var itm = null;
147         if (document.getElementById) 
148         {
149                 itm = document.getElementById(id);
150         }
151         else if (document.all)
152         {
153                 itm = document.all[id];
154         } 
155         else if (document.layers)
156         {
157                 itm = document.layers[id];
158         }
159         if (!itm) 
160         {
161                 // do nothing
162         }
163         else if (itm.style) 
164         {
165                 if (itm.style.display == "none")
166                 { 
167                         itm.style.display = ""; 
168                         return 1;
169                 }
170                 else
171                 {
172                         itm.style.display = "none"; 
173                         return 2;
174                 }
175         }
176         else 
177         {
178                 itm.visibility = "show"; 
179                 return 1;
180         }
183 //-->
184 </script>
185 </head>
186 <body>
187 <!-- start of vanrenterghem.biz header - including PHP is possible  thanks to extreme styles mod - xs_mod -->
188 <?php readfile($_SERVER['DOCUMENT_ROOT'].'/header.shtml'); ?> 
189 <!-- end include of vanrenterghem.biz header-->
191 <a name="top"></a>
192 <!-- BEGIN switch_user_logged_out -->
193 <!-- END switch_user_logged_out -->
194 <!-- BEGIN switch_user_logged_in -->
195 <!-- END switch_user_logged_in -->
196 <span class="subtitle">{SITE_DESCRIPTION}</span>
197 <br />
199 <table border="0" cellspacing="0" cellpadding="10" width="100%">
200 <tr>
201         <td align="center" valign="top">