1
|
<?php
|
2
|
|
3
|
// $Id: index.php,v 1.4 2005/04/15 06:38:13 rdjurovich Exp $
|
4
|
|
5
|
/*
|
6
|
|
7
|
Website Baker Project <http://www.websitebaker.org/>
|
8
|
Copyright (C) 2004-2005, Ryan Djurovich
|
9
|
|
10
|
Website Baker is free software; you can redistribute it and/or modify
|
11
|
it under the terms of the GNU General Public License as published by
|
12
|
the Free Software Foundation; either version 2 of the License, or
|
13
|
(at your option) any later version.
|
14
|
|
15
|
Website Baker is distributed in the hope that it will be useful,
|
16
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18
|
GNU General Public License for more details.
|
19
|
|
20
|
You should have received a copy of the GNU General Public License
|
21
|
along with Website Baker; if not, write to the Free Software
|
22
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
23
|
|
24
|
*/
|
25
|
|
26
|
?>
|
27
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
28
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
29
|
<head>
|
30
|
<title><?php page_title(); ?></title>
|
31
|
<meta name="description" content="<?php page_description(); ?>" />
|
32
|
<meta name="keywords" content="<?php page_keywords(); ?>" />
|
33
|
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
|
34
|
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" />
|
35
|
</head>
|
36
|
<body>
|
37
|
|
38
|
<table cellpadding="5" cellspacing="0" border="0" width="750" align="center">
|
39
|
<tr>
|
40
|
<td colspan="2" class="header">
|
41
|
<?php page_title('','[WEBSITE_TITLE]'); ?>
|
42
|
</td>
|
43
|
</tr>
|
44
|
<tr>
|
45
|
<td colspan="2" class="footer">
|
46
|
|
47
|
</td>
|
48
|
</tr>
|
49
|
<tr>
|
50
|
<td class="menu">
|
51
|
<?php if(SHOW_MENU) { /* Only shown menu if we need to */ ?>
|
52
|
Menu: <br />
|
53
|
<?php page_menu(); ?>
|
54
|
<?php } ?>
|
55
|
|
56
|
<?php if(SHOW_SEARCH) { /* Only show search box if search is enabled */ ?>
|
57
|
<br />
|
58
|
Search: <br />
|
59
|
<form name="search" action="<?php echo WB_URL; ?>/search/index<?php echo PAGE_EXTENSION; ?>" method="post">
|
60
|
<input type="text" name="string" style="width: 100%;" />
|
61
|
<input type="submit" name="submit" value="Search" style="width: 100%;" />
|
62
|
</form>
|
63
|
<?php } ?>
|
64
|
|
65
|
<br />
|
66
|
<a href="http://www.websitebaker.org" target="_blank">Powered by <br /> Website Baker</a>
|
67
|
</td>
|
68
|
<td class="content">
|
69
|
<?php page_content(); ?>
|
70
|
</td>
|
71
|
</tr>
|
72
|
<tr>
|
73
|
<td colspan="2" class="footer">
|
74
|
<?php page_footer(); ?>
|
75
|
</td>
|
76
|
</tr>
|
77
|
</table>
|
78
|
|
79
|
</body>
|
80
|
</html>
|