| 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: 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 | 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 | 1643 | darkviper | <?php
 | 
      
        | 43 | 865 | doc | 	// automatically include optional WB module files (frontend.css, frontend.js)
 | 
      
        | 44 | 1643 | darkviper | 	register_frontend_modfiles('css');
 | 
      
        | 45 |  |  | 	register_frontend_modfiles('js');
 | 
      
        | 46 |  |  | ?>
 | 
      
        | 47 | 865 | doc | 	<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 | 4 | ryan | </head>
 | 
      
        | 53 | 865 | doc | 
 | 
      
        | 54 | 4 | ryan | <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 | 865 | doc | 		<?php
 | 
      
        | 70 |  |  | 		if (SHOW_MENU) {
 | 
      
        | 71 |  |  | 			// navigation menu
 | 
      
        | 72 |  |  | 			echo $TEXT['MENU'] . ':';
 | 
      
        | 73 |  |  | 			show_menu();
 | 
      
        | 74 |  |  | 		} ?>
 | 
      
        | 75 | 4 | ryan | 
 | 
      
        | 76 | 865 | doc | 		<?php
 | 
      
        | 77 |  |  | 		if (SHOW_SEARCH) { /* Only show search box if search is enabled */ ?>
 | 
      
        | 78 | 4 | ryan | 			<br />
 | 
      
        | 79 | 865 | doc | 			<?php echo $TEXT['SEARCH']; ?>: <br />
 | 
      
        | 80 | 540 | Ruebenwurz | 			<form name="search" action="<?php echo WB_URL; ?>/search/index.php" method="get">
 | 
      
        | 81 | 865 | doc | 				<input type="hidden" name="referrer" value="<?php
 | 
      
        | 82 |  |  | 					echo defined('REFERRER_ID') ? REFERRER_ID : PAGE_ID; ?>" />
 | 
      
        | 83 | 4 | ryan | 				<input type="text" name="string" style="width: 100%;" />
 | 
      
        | 84 | 440 | Ruebenwurz | 				<input type="submit" name="submit" value="<?php echo $TEXT['SEARCH']; ?>" style="width: 100%;" />
 | 
      
        | 85 | 4 | ryan | 			</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 | 1106 | Ruebenwurz | <?php
 | 
      
        | 102 |  |  | // automatically include optional WB module file frontend_body.js)
 | 
      
        | 103 | 1646 | Luisehahne | 	register_frontend_modfiles_body('js');
 | 
      
        | 104 | 1106 | Ruebenwurz | ?>
 | 
      
        | 105 | 4 | ryan | </body>
 | 
      
        | 106 |  |  | </html>
 |