1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
<?php
|
3
|
/**
|
4
|
* $Id: index.php 2070 2014-01-03 01:21:42Z darkviper $
|
5
|
* Website Baker template: simple
|
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
|
*/
|
30
|
|
31
|
// prevent this file from being accessed directly
|
32
|
if (!defined('WB_PATH')) die(header('Location: ../../index.php'));
|
33
|
|
34
|
// TEMPLATE CODE STARTS BELOW
|
35
|
?>
|
36
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
37
|
<head>
|
38
|
<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
|
<?php
|
43
|
// automatically include optional WB module files (frontend.css, frontend.js)
|
44
|
register_frontend_modfiles('css');
|
45
|
register_frontend_modfiles('js');
|
46
|
?>
|
47
|
<link rel="stylesheet" type="text/css" href="<?php
|
48
|
echo TEMPLATE_DIR; ?>/template.css" media="screen,projection" />
|
49
|
<link rel="stylesheet" type="text/css" href="<?php
|
50
|
echo TEMPLATE_DIR; ?>/print.css" media="print" />
|
51
|
<title><?php page_title('', '[WEBSITE_TITLE]'); ?></title>
|
52
|
</head>
|
53
|
|
54
|
<body>
|
55
|
|
56
|
<table cellpadding="5" cellspacing="0" border="0" width="750" align="center">
|
57
|
<tr>
|
58
|
<td colspan="2" class="header">
|
59
|
<?php page_title('','[WEBSITE_TITLE]'); ?>
|
60
|
</td>
|
61
|
</tr>
|
62
|
<tr>
|
63
|
<td colspan="2" class="footer">
|
64
|
|
65
|
</td>
|
66
|
</tr>
|
67
|
<tr>
|
68
|
<td class="menu">
|
69
|
<?php
|
70
|
if (SHOW_MENU) {
|
71
|
// navigation menu
|
72
|
echo $TEXT['MENU'] . ':';
|
73
|
show_menu();
|
74
|
} ?>
|
75
|
|
76
|
<?php
|
77
|
if (SHOW_SEARCH) { /* Only show search box if search is enabled */ ?>
|
78
|
<br />
|
79
|
<?php echo $TEXT['SEARCH']; ?>: <br />
|
80
|
<form name="search" action="<?php echo WB_URL; ?>/search/index.php" method="get">
|
81
|
<input type="hidden" name="referrer" value="<?php
|
82
|
echo defined('REFERRER_ID') ? REFERRER_ID : PAGE_ID; ?>" />
|
83
|
<input type="text" name="string" style="width: 100%;" />
|
84
|
<input type="submit" name="submit" value="<?php echo $TEXT['SEARCH']; ?>" style="width: 100%;" />
|
85
|
</form>
|
86
|
<?php } ?>
|
87
|
|
88
|
<br />
|
89
|
<a href="http://www.websitebaker.org" target="_blank">Powered by <br /> Website Baker</a>
|
90
|
</td>
|
91
|
<td class="content">
|
92
|
<?php page_content(); ?>
|
93
|
</td>
|
94
|
</tr>
|
95
|
<tr>
|
96
|
<td colspan="2" class="footer">
|
97
|
<?php page_footer(); ?>
|
98
|
</td>
|
99
|
</tr>
|
100
|
</table>
|
101
|
<?php
|
102
|
// automatically include optional WB module file frontend_body.js)
|
103
|
register_frontend_modfiles_body('js');
|
104
|
?>
|
105
|
</body>
|
106
|
</html>
|