source: branches/posledni/forum/styles/wowpurple/template/overall_header.html

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 5.5 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
3<head>
4
5<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
6<meta http-equiv="content-language" content="{S_USER_LANG}" />
7<meta http-equiv="content-style-type" content="text/css" />
8<meta http-equiv="imagetoolbar" content="no" />
9<meta name="resource-type" content="document" />
10<meta name="distribution" content="global" />
11<meta name="copyright" content="2002-2006 phpBB Group" />
12<meta name="keywords" content="" />
13<meta name="description" content="" />
14{META}
15<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
16
17<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
18
19<script type="text/javascript">
20// <![CDATA[
21<!-- IF S_USER_PM_POPUP -->
22 if ({S_NEW_PM})
23 {
24 popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
25 }
26<!-- ENDIF -->
27
28function popup(url, width, height, name)
29 {
30 if (!name)
31 {
32 name = '_popup';
33 }
34
35 window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
36 return false;
37 }
38
39
40function jumpto()
41{
42 var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
43 var perpage = '{PER_PAGE}';
44 var base_url = '{A_BASE_URL}';
45
46 if (page !== null && !isNaN(page) && page > 0)
47 {
48 document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * perpage);
49 }
50}
51
52/**
53* Find a member
54*/
55function find_username()
56 {
57 popup(url, 760, 570, '_usersearch');
58 return false;
59 }
60
61/**
62* Mark/unmark checklist
63* id = ID of parent container, name = name prefix, state = state [true/false]
64*/
65function marklist(id, name, state)
66{
67 var parent = document.getElementById(id);
68 if (!parent)
69 {
70 eval('parent = document.' + id);
71 }
72
73 if (!parent)
74 {
75 return;
76 }
77
78 var rb = parent.getElementsByTagName('input');
79
80 for (var r = 0; r < rb.length; r++)
81 {
82 if (rb[r].name.substr(0, name.length) == name)
83 {
84 rb[r].checked = state;
85 }
86 }
87}
88
89<!-- IF ._file -->
90
91 /**
92 * Play quicktime file by determining it's width/height
93 * from the displayed rectangle area
94 *
95 * Only defined if there is a file block present.
96 */
97 function play_qt_file(obj)
98 {
99 var rectangle = obj.GetRectangle();
100
101 if (rectangle)
102 {
103 rectangle = rectangle.split(',')
104 var x1 = parseInt(rectangle[0]);
105 var x2 = parseInt(rectangle[2]);
106 var y1 = parseInt(rectangle[1]);
107 var y2 = parseInt(rectangle[3]);
108
109 var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
110 var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
111 }
112 else
113 {
114 var width = 200;
115 var height = 0;
116 }
117
118 obj.width = width;
119 obj.height = height + 16;
120
121 obj.SetControllerVisible(true);
122
123 obj.Play();
124 }
125<!-- ENDIF -->
126
127// ]]>
128</script>
129</head>
130<body class="{S_CONTENT_DIRECTION}">
131<a name="top"></a>
132<table border="0" cellspacing="0" cellpadding="0">
133<tr><td background="./styles/wowpurple/theme/images/bg-left.jpg"><img src="./styles/wowpurple/theme/images/spacer.gif" /></td><td width="100%">
134<div id="menubar">
135 <table width="100%" cellspacing="0">
136 <tr>
137 <td class="genmed">
138 <!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
139 <!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
140 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
141 <!-- IF not S_IS_BOT -->
142 <!-- IF S_USER_LOGGED_IN -->
143 <!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
144 <!-- ELSE --> &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
145 <!-- ENDIF -->
146 <!-- ENDIF -->
147 </td>
148 <td class="genmed" align="{S_CONTENT_FLOW_END}">
149 <a href="{U_FAQ}">{L_FAQ}</a>
150 <!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
151 <!-- IF not S_IS_BOT -->
152 <!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
153 <!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
154 <!-- ENDIF -->
155 </td>
156 </tr>
157 </table>
158 </div>
159
160<div id="wrapheader">
161
162 <div id="logodesc">
163 <table width="100%" cellspacing="0" cellpadding="0">
164 <tr>
165 <td align="left">
166<br/><br/><br/><br/>
167<h1>{SITENAME}</h1><br/>
168<span class="sub_title">{SITE_DESCRIPTION}</span>
169</td>
170 </tr>
171 </table>
172 </div>
173
174
175
176 <div id="datebar">
177 <table width="100%" cellspacing="0">
178 <tr>
179 <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
180 <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
181 </tr>
182 </table>
183 </div>
184
185</div>
186
187<div id="wrapcentre">
188
189 <!-- IF S_DISPLAY_SEARCH -->
190 <p class="searchbar">
191 <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
192 <!-- IF S_USER_LOGGED_IN -->
193 <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
194 <!-- ENDIF -->
195 </p>
196 <!-- ENDIF -->
197
198 <br style="clear: both;" />
199
200 <!-- INCLUDE breadcrumbs.html -->
201
202 <br />
Note: See TracBrowser for help on using the repository browser.