1 |
1643
|
darkviper
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
4
|
ryan
|
<?php
|
3 |
865
|
doc
|
/**
|
4 |
|
|
* $Id$
|
5 |
|
|
* Website Baker template: round
|
6 |
|
|
* This template is one of four basis templates distributed with Website Baker.
|
7 |
|
|
* Feel free to modify or build up on this template.
|
8 |
|
|
*
|
9 |
|
|
* This file contains the overall template markup and the Website Baker
|
10 |
|
|
* template functions to add the contents from the database.
|
11 |
|
|
*
|
12 |
|
|
* LICENSE: GNU General Public License
|
13 |
|
|
*
|
14 |
|
|
* @author Ryan Djurovich, C. Sommer
|
15 |
|
|
* @copyright GNU General Public License
|
16 |
|
|
* @license http://www.gnu.org/licenses/gpl.html
|
17 |
|
|
* @version 2.70
|
18 |
|
|
* @platform Website Baker 2.7
|
19 |
|
|
*
|
20 |
|
|
* Website Baker is free software; you can redistribute it and/or modify
|
21 |
|
|
* it under the terms of the GNU General Public License as published by
|
22 |
|
|
* the Free Software Foundation; either version 2 of the License, or
|
23 |
|
|
* (at your option) any later version.
|
24 |
|
|
*
|
25 |
|
|
* Website Baker is distributed in the hope that it will be useful,
|
26 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
27 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
28 |
|
|
* GNU General Public License for more details.
|
29 |
4
|
ryan
|
*/
|
30 |
|
|
|
31 |
865
|
doc
|
// prevent this file from being accessed directly
|
32 |
|
|
if (!defined('WB_PATH')) die(header('Location: ../../../index.php'));
|
33 |
395
|
Ruebenwurz
|
|
34 |
865
|
doc
|
// TEMPLATE CODE STARTS BELOW
|
35 |
4
|
ryan
|
?>
|
36 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
37 |
|
|
<head>
|
38 |
865
|
doc
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php
|
39 |
|
|
echo defined('DEFAULT_CHARSET') ? DEFAULT_CHARSET : 'utf-8'; ?>" />
|
40 |
|
|
<meta name="description" content="<?php page_description(); ?>" />
|
41 |
|
|
<meta name="keywords" content="<?php page_keywords(); ?>" />
|
42 |
1606
|
Luisehahne
|
<link rel="stylesheet" type="text/css" href="<?php
|
43 |
|
|
echo TEMPLATE_DIR; ?>/template.css" media="screen,projection" />
|
44 |
|
|
<link rel="stylesheet" type="text/css" href="<?php
|
45 |
|
|
echo TEMPLATE_DIR; ?>/print.css" media="print" />
|
46 |
|
|
<title><?php page_title('', '[WEBSITE_TITLE]'); ?></title>
|
47 |
1643
|
darkviper
|
<?php
|
48 |
865
|
doc
|
// automatically include optional WB module files (frontend.css, frontend.js)
|
49 |
1643
|
darkviper
|
register_frontend_modfiles('css');
|
50 |
1646
|
Luisehahne
|
// register_frontend_modfiles('jquery');
|
51 |
1643
|
darkviper
|
register_frontend_modfiles('js');
|
52 |
|
|
?>
|
53 |
4
|
ryan
|
</head>
|
54 |
865
|
doc
|
|
55 |
4
|
ryan
|
<body>
|
56 |
|
|
|
57 |
1599
|
Luisehahne
|
<table summary="" cellpadding="0" cellspacing="0" border="0" align="center" class="main" width="750">
|
58 |
4
|
ryan
|
<tr>
|
59 |
|
|
<td colspan="2" class="header" height="80">
|
60 |
865
|
doc
|
<a href="<?php echo WB_URL; ?>">
|
61 |
1599
|
Luisehahne
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/banner.jpg" border="0" width="750" height="80" alt="<?php
|
62 |
865
|
doc
|
page_title('', '[WEBSITE_TITLE]'); ?>" />
|
63 |
|
|
</a>
|
64 |
4
|
ryan
|
</td>
|
65 |
|
|
</tr>
|
66 |
|
|
<tr>
|
67 |
|
|
<?php
|
68 |
865
|
doc
|
// navigation menu
|
69 |
4
|
ryan
|
if(SHOW_MENU) {
|
70 |
|
|
?>
|
71 |
865
|
doc
|
<td style="padding: 10px; background-color: #FFF;" valign="top">
|
72 |
1599
|
Luisehahne
|
<table summary="" cellpadding="0" cellspacing="0" border="0" width="150" align="center" class="menu">
|
73 |
4
|
ryan
|
<tr>
|
74 |
|
|
<td class="border">
|
75 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_top.gif" border="0" alt="" />
|
76 |
4
|
ryan
|
</td>
|
77 |
|
|
</tr>
|
78 |
|
|
<tr>
|
79 |
|
|
<td width="170">
|
80 |
1568
|
Luisehahne
|
<?php show_menu2(0,SM2_ROOT,SM2_CURR+1,SM2_TRIM,'<li><span class="menu-default">[ac][menu_title]</a></span>','</li>','<ul>','</ul>');?>
|
81 |
4
|
ryan
|
</td>
|
82 |
|
|
</tr>
|
83 |
|
|
<tr>
|
84 |
|
|
<td class="border">
|
85 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_bottom.gif" border="0" alt="" />
|
86 |
4
|
ryan
|
</td>
|
87 |
|
|
</tr>
|
88 |
|
|
</table>
|
89 |
|
|
|
90 |
865
|
doc
|
|
91 |
|
|
<!-- frontend search -->
|
92 |
|
|
<?php if (SHOW_SEARCH) { ?>
|
93 |
|
|
<form name="search" action="<?php echo WB_URL; ?>/search/index.php" method="get">
|
94 |
|
|
<input type="hidden" name="referrer" value="<?php
|
95 |
|
|
echo defined('REFERRER_ID') ? REFERRER_ID : PAGE_ID; ?>" />
|
96 |
1599
|
Luisehahne
|
<table summary="" cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;">
|
97 |
4
|
ryan
|
<tr>
|
98 |
|
|
<td class="border">
|
99 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_top.gif" border="0" alt="" />
|
100 |
4
|
ryan
|
</td>
|
101 |
|
|
</tr>
|
102 |
|
|
<tr>
|
103 |
|
|
<td class="login">
|
104 |
|
|
<input type="text" name="string" />
|
105 |
|
|
</td>
|
106 |
|
|
</tr>
|
107 |
|
|
<tr>
|
108 |
|
|
<td class="login">
|
109 |
440
|
Ruebenwurz
|
<input type="submit" name="submit" value="<?php echo $TEXT['SEARCH']; ?>" />
|
110 |
4
|
ryan
|
</td>
|
111 |
|
|
</tr>
|
112 |
|
|
<tr>
|
113 |
|
|
<td class="border">
|
114 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_bottom.gif" border="0" alt="" />
|
115 |
4
|
ryan
|
</td>
|
116 |
|
|
</tr>
|
117 |
|
|
</table>
|
118 |
|
|
</form>
|
119 |
|
|
<?php } ?>
|
120 |
|
|
|
121 |
1528
|
Luisehahne
|
<?php
|
122 |
|
|
if(FRONTEND_LOGIN AND !$wb->is_authenticated() AND VISIBILITY != 'private' ) {
|
123 |
1599
|
Luisehahne
|
$redirect_url = ((isset($_SESSION['HTTP_REFERER']) && $_SESSION['HTTP_REFERER'] != '') ? $_SESSION['HTTP_REFERER'] : WB_URL );
|
124 |
1528
|
Luisehahne
|
$redirect_url = (isset($thisApp->redirect_url) ? $thisApp->redirect_url : $redirect_url );
|
125 |
|
|
?>
|
126 |
4
|
ryan
|
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post">
|
127 |
1606
|
Luisehahne
|
<input type="hidden" name="redirect" value="<?php echo $redirect_url;?>" />
|
128 |
1599
|
Luisehahne
|
<table summary="" cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;">
|
129 |
4
|
ryan
|
<tr>
|
130 |
|
|
<td class="border">
|
131 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_top.gif" border="0" alt="" />
|
132 |
4
|
ryan
|
</td>
|
133 |
|
|
</tr>
|
134 |
|
|
<tr>
|
135 |
|
|
<td class="login" style="text-transform: uppercase;">
|
136 |
|
|
<b><?php echo $TEXT['LOGIN']; ?></b>
|
137 |
|
|
</td>
|
138 |
|
|
</tr>
|
139 |
|
|
<tr>
|
140 |
|
|
<td class="login" style="text-align: left;">
|
141 |
|
|
<?php echo $TEXT['USERNAME']; ?>:
|
142 |
|
|
</td>
|
143 |
|
|
</tr>
|
144 |
|
|
<tr>
|
145 |
|
|
<td class="login">
|
146 |
|
|
<input type="text" name="username" />
|
147 |
|
|
</td>
|
148 |
|
|
</tr>
|
149 |
|
|
<tr>
|
150 |
|
|
<td class="login" style="text-align: left;">
|
151 |
|
|
<?php echo $TEXT['PASSWORD']; ?>:
|
152 |
|
|
</td>
|
153 |
|
|
</tr>
|
154 |
|
|
<tr>
|
155 |
|
|
<td class="login">
|
156 |
|
|
<input type="password" name="password" />
|
157 |
|
|
</td>
|
158 |
|
|
</tr>
|
159 |
|
|
<tr>
|
160 |
|
|
<td class="login">
|
161 |
865
|
doc
|
<input type="submit" name="submit" value="<?php
|
162 |
|
|
echo $TEXT['LOGIN']; ?>" style="margin-top: 3px; text-transform: uppercase;" />
|
163 |
4
|
ryan
|
</td>
|
164 |
|
|
</tr>
|
165 |
|
|
<tr>
|
166 |
|
|
<td class="login">
|
167 |
|
|
<a href="<?php echo FORGOT_URL; ?>"><?php echo $TEXT['FORGOT_DETAILS']; ?></a>
|
168 |
865
|
doc
|
<?php if (is_numeric(FRONTEND_SIGNUP)) { ?>
|
169 |
4
|
ryan
|
<a href="<?php echo SIGNUP_URL; ?>"><?php echo $TEXT['SIGNUP']; ?></a>
|
170 |
|
|
<?php } ?>
|
171 |
|
|
</td>
|
172 |
|
|
</tr>
|
173 |
|
|
<tr>
|
174 |
|
|
<td class="border">
|
175 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_bottom.gif" border="0" alt="" />
|
176 |
4
|
ryan
|
</td>
|
177 |
|
|
</tr>
|
178 |
|
|
</table>
|
179 |
|
|
|
180 |
|
|
</form>
|
181 |
|
|
<?php
|
182 |
865
|
doc
|
} elseif (FRONTEND_LOGIN AND $wb->is_authenticated()) {
|
183 |
4
|
ryan
|
?>
|
184 |
|
|
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post">
|
185 |
|
|
|
186 |
1599
|
Luisehahne
|
<table summary="" cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;">
|
187 |
4
|
ryan
|
<tr>
|
188 |
|
|
<td class="border">
|
189 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_top.gif" border="0" alt="" />
|
190 |
4
|
ryan
|
</td>
|
191 |
|
|
</tr>
|
192 |
|
|
<tr>
|
193 |
|
|
<td class="login" style="text-transform: uppercase;">
|
194 |
|
|
<b><?php echo $TEXT['LOGGED_IN']; ?></b>
|
195 |
|
|
</td>
|
196 |
|
|
</tr>
|
197 |
|
|
<tr>
|
198 |
|
|
<td class="login" style="padding-top: 15px; padding-bottom: 15px;">
|
199 |
241
|
stefan
|
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $wb->get_display_name(); ?>
|
200 |
4
|
ryan
|
</td>
|
201 |
|
|
</tr>
|
202 |
|
|
<tr>
|
203 |
|
|
<td class="login">
|
204 |
865
|
doc
|
<input type="submit" name="submit" value="<?php
|
205 |
|
|
echo $MENU['LOGOUT']; ?>" style="margin-top: 3px; text-transform: uppercase;" />
|
206 |
4
|
ryan
|
</td>
|
207 |
|
|
</tr>
|
208 |
|
|
<tr>
|
209 |
|
|
<td class="login">
|
210 |
|
|
<a href="<?php echo PREFERENCES_URL; ?>"><?php echo $MENU['PREFERENCES']; ?></a>
|
211 |
|
|
</td>
|
212 |
|
|
</tr>
|
213 |
|
|
<tr>
|
214 |
|
|
<td class="border">
|
215 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/menu_bottom.gif" border="0" alt="" />
|
216 |
4
|
ryan
|
</td>
|
217 |
|
|
</tr>
|
218 |
|
|
</table>
|
219 |
|
|
|
220 |
|
|
</form>
|
221 |
|
|
<?php
|
222 |
|
|
}
|
223 |
|
|
?>
|
224 |
|
|
</td>
|
225 |
|
|
<?php } ?>
|
226 |
|
|
<td class="content" width="600" rowspan="2">
|
227 |
|
|
<?php page_content(); ?>
|
228 |
|
|
</td>
|
229 |
|
|
</tr>
|
230 |
|
|
<tr>
|
231 |
|
|
<td height="20" width="155" valign="bottom" class="powered_by">
|
232 |
|
|
<a href="http://www.websitebaker.org/" target="_blank">
|
233 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/powered.jpg" border="0" alt="Powered By Website Baker" />
|
234 |
4
|
ryan
|
</a>
|
235 |
|
|
</td>
|
236 |
|
|
</tr>
|
237 |
|
|
<tr>
|
238 |
|
|
<td colspan="2" class="border">
|
239 |
865
|
doc
|
<img src="<?php echo TEMPLATE_DIR; ?>/images/footer.png" border="0" alt="" />
|
240 |
4
|
ryan
|
</td>
|
241 |
|
|
</tr>
|
242 |
|
|
<tr>
|
243 |
|
|
<td colspan="2" class="footer">
|
244 |
|
|
<?php page_footer(); ?>
|
245 |
|
|
</td>
|
246 |
|
|
</tr>
|
247 |
|
|
</table>
|
248 |
1106
|
Ruebenwurz
|
<?php
|
249 |
|
|
// automatically include optional WB module file frontend_body.js)
|
250 |
1646
|
Luisehahne
|
// register_frontend_modfiles_body('jquery');
|
251 |
|
|
register_frontend_modfiles_body('js');
|
252 |
1106
|
Ruebenwurz
|
?>
|
253 |
4
|
ryan
|
</body>
|
254 |
|
|
</html>
|