1 |
4
|
ryan
|
<?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 |
57
|
stefan
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
32 |
4
|
ryan
|
<meta name="description" content="<?php page_description(); ?>" />
|
33 |
|
|
<meta name="keywords" content="<?php page_keywords(); ?>" />
|
34 |
|
|
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
|
35 |
|
|
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" />
|
36 |
|
|
</head>
|
37 |
|
|
<body>
|
38 |
|
|
|
39 |
|
|
<table cellpadding="5" cellspacing="0" border="0" width="750" align="center">
|
40 |
|
|
<tr>
|
41 |
|
|
<td colspan="2" class="header">
|
42 |
|
|
<?php page_title('','[WEBSITE_TITLE]'); ?>
|
43 |
|
|
</td>
|
44 |
|
|
</tr>
|
45 |
|
|
<tr>
|
46 |
|
|
<td colspan="2" class="footer">
|
47 |
|
|
|
48 |
|
|
</td>
|
49 |
|
|
</tr>
|
50 |
|
|
<tr>
|
51 |
|
|
<td class="menu">
|
52 |
|
|
<?php if(SHOW_MENU) { /* Only shown menu if we need to */ ?>
|
53 |
|
|
Menu: <br />
|
54 |
|
|
<?php page_menu(); ?>
|
55 |
|
|
<?php } ?>
|
56 |
|
|
|
57 |
|
|
<?php if(SHOW_SEARCH) { /* Only show search box if search is enabled */ ?>
|
58 |
|
|
<br />
|
59 |
|
|
Search: <br />
|
60 |
|
|
<form name="search" action="<?php echo WB_URL; ?>/search/index<?php echo PAGE_EXTENSION; ?>" method="post">
|
61 |
|
|
<input type="text" name="string" style="width: 100%;" />
|
62 |
|
|
<input type="submit" name="submit" value="Search" style="width: 100%;" />
|
63 |
|
|
</form>
|
64 |
|
|
<?php } ?>
|
65 |
|
|
|
66 |
|
|
<br />
|
67 |
|
|
<a href="http://www.websitebaker.org" target="_blank">Powered by <br /> Website Baker</a>
|
68 |
|
|
</td>
|
69 |
|
|
<td class="content">
|
70 |
|
|
<?php page_content(); ?>
|
71 |
|
|
</td>
|
72 |
|
|
</tr>
|
73 |
|
|
<tr>
|
74 |
|
|
<td colspan="2" class="footer">
|
75 |
|
|
<?php page_footer(); ?>
|
76 |
|
|
</td>
|
77 |
|
|
</tr>
|
78 |
|
|
</table>
|
79 |
|
|
|
80 |
|
|
</body>
|
81 |
|
|
</html>
|