| 1 | 
        
            4
         | 
        
            ryan
         | 
        <?php
  | 
      
      
        | 2 | 
        
            865
         | 
        
            doc
         | 
        /**
  | 
      
      
        | 3 | 
        
         | 
        
         | 
         * $Id$
  | 
      
      
        | 4 | 
        
         | 
        
         | 
         * Website Baker template: simple
  | 
      
      
        | 5 | 
        
         | 
        
         | 
         * This template is one of four basis templates distributed with Website Baker.
  | 
      
      
        | 6 | 
        
         | 
        
         | 
         * Feel free to modify or build up on this template.
  | 
      
      
        | 7 | 
        
         | 
        
         | 
         *
  | 
      
      
        | 8 | 
        
         | 
        
         | 
         * This file contains the overall template markup and the Website Baker
  | 
      
      
        | 9 | 
        
         | 
        
         | 
         * template functions to add the contents from the database.
  | 
      
      
        | 10 | 
        
         | 
        
         | 
         *
  | 
      
      
        | 11 | 
        
         | 
        
         | 
         * LICENSE: GNU General Public License
  | 
      
      
        | 12 | 
        
         | 
        
         | 
         *
  | 
      
      
        | 13 | 
        
         | 
        
         | 
         * @author     Ryan Djurovich, C. Sommer
  | 
      
      
        | 14 | 
        
         | 
        
         | 
         * @copyright  GNU General Public License
  | 
      
      
        | 15 | 
        
         | 
        
         | 
         * @license    http://www.gnu.org/licenses/gpl.html
  | 
      
      
        | 16 | 
        
         | 
        
         | 
         * @version    2.70
  | 
      
      
        | 17 | 
        
         | 
        
         | 
         * @platform   Website Baker 2.7
  | 
      
      
        | 18 | 
        
         | 
        
         | 
         *
  | 
      
      
        | 19 | 
        
         | 
        
         | 
         * Website Baker is free software; you can redistribute it and/or modify
  | 
      
      
        | 20 | 
        
         | 
        
         | 
         * it under the terms of the GNU General Public License as published by
  | 
      
      
        | 21 | 
        
         | 
        
         | 
         * the Free Software Foundation; either version 2 of the License, or
  | 
      
      
        | 22 | 
        
         | 
        
         | 
         * (at your option) any later version.
  | 
      
      
        | 23 | 
        
         | 
        
         | 
         *
  | 
      
      
        | 24 | 
        
         | 
        
         | 
         * Website Baker is distributed in the hope that it will be useful,
  | 
      
      
        | 25 | 
        
         | 
        
         | 
         * but WITHOUT ANY WARRANTY; without even the implied warranty of
  | 
      
      
        | 26 | 
        
         | 
        
         | 
         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  | 
      
      
        | 27 | 
        
         | 
        
         | 
         * GNU General Public License for more details.
  | 
      
      
        | 28 | 
        
            4
         | 
        
            ryan
         | 
        */
  | 
      
      
        | 29 | 
        
         | 
        
         | 
        
  | 
      
      
        | 30 | 
        
            865
         | 
        
            doc
         | 
        // prevent this file from being accessed directly
  | 
      
      
        | 31 | 
        
         | 
        
         | 
        if (!defined('WB_PATH')) die(header('Location: ../../index.php'));
 | 
      
      
        | 32 | 
        
            395
         | 
        
            Ruebenwurz
         | 
        
  | 
      
      
        | 33 | 
        
            865
         | 
        
            doc
         | 
        // TEMPLATE CODE STARTS BELOW
  | 
      
      
        | 34 | 
        
            4
         | 
        
            ryan
         | 
        ?>
  | 
      
      
        | 35 | 
        
            865
         | 
        
            doc
         | 
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  | 
      
      
        | 36 | 
        
         | 
        
         | 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  | 
      
      
        | 37 | 
        
            4
         | 
        
            ryan
         | 
        <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  | 
      
      
        | 38 | 
        
         | 
        
         | 
        <head>
  | 
      
      
        | 39 | 
        
            865
         | 
        
            doc
         | 
        	<meta http-equiv="Content-Type" content="text/html; charset=<?php
  | 
      
      
        | 40 | 
        
         | 
        
         | 
        	echo defined('DEFAULT_CHARSET') ? DEFAULT_CHARSET : 'utf-8'; ?>" />
 | 
      
      
        | 41 | 
        
         | 
        
         | 
        	<meta name="description" content="<?php page_description(); ?>" />
  | 
      
      
        | 42 | 
        
         | 
        
         | 
        	<meta name="keywords" content="<?php page_keywords(); ?>" />
  | 
      
      
        | 43 | 
        
         | 
        
         | 
        	<?php
  | 
      
      
        | 44 | 
        
         | 
        
         | 
        	// automatically include optional WB module files (frontend.css, frontend.js)
  | 
      
      
        | 45 | 
        
         | 
        
         | 
        	if (function_exists('register_frontend_modfiles')) {
 | 
      
      
        | 46 | 
        
         | 
        
         | 
        		register_frontend_modfiles('css');
 | 
      
      
        | 47 | 
        
         | 
        
         | 
        		register_frontend_modfiles('js');
 | 
      
      
        | 48 | 
        
         | 
        
         | 
        	} ?>
  | 
      
      
        | 49 | 
        
         | 
        
         | 
        	<link rel="stylesheet" type="text/css" href="<?php
  | 
      
      
        | 50 | 
        
         | 
        
         | 
        		echo TEMPLATE_DIR; ?>/template.css" media="screen,projection" />
  | 
      
      
        | 51 | 
        
         | 
        
         | 
        	<link rel="stylesheet" type="text/css" href="<?php
  | 
      
      
        | 52 | 
        
         | 
        
         | 
        		echo TEMPLATE_DIR; ?>/print.css" media="print" />
  | 
      
      
        | 53 | 
        
         | 
        
         | 
        	<title><?php page_title('', '[WEBSITE_TITLE]'); ?></title>
 | 
      
      
        | 54 | 
        
            4
         | 
        
            ryan
         | 
        </head>
  | 
      
      
        | 55 | 
        
            865
         | 
        
            doc
         | 
        
  | 
      
      
        | 56 | 
        
            4
         | 
        
            ryan
         | 
        <body>
  | 
      
      
        | 57 | 
        
         | 
        
         | 
        
  | 
      
      
        | 58 | 
        
         | 
        
         | 
        <table cellpadding="5" cellspacing="0" border="0" width="750" align="center">
  | 
      
      
        | 59 | 
        
         | 
        
         | 
        <tr>
  | 
      
      
        | 60 | 
        
         | 
        
         | 
        	<td colspan="2" class="header">
  | 
      
      
        | 61 | 
        
         | 
        
         | 
        		<?php page_title('','[WEBSITE_TITLE]'); ?>
 | 
      
      
        | 62 | 
        
         | 
        
         | 
        	</td>
  | 
      
      
        | 63 | 
        
         | 
        
         | 
        </tr>
  | 
      
      
        | 64 | 
        
         | 
        
         | 
        <tr>
  | 
      
      
        | 65 | 
        
         | 
        
         | 
        	<td colspan="2" class="footer">
  | 
      
      
        | 66 | 
        
         | 
        
         | 
        		 
  | 
      
      
        | 67 | 
        
         | 
        
         | 
        	</td>
  | 
      
      
        | 68 | 
        
         | 
        
         | 
        </tr>
  | 
      
      
        | 69 | 
        
         | 
        
         | 
        <tr>
  | 
      
      
        | 70 | 
        
         | 
        
         | 
        	<td class="menu">
  | 
      
      
        | 71 | 
        
            865
         | 
        
            doc
         | 
        		<?php
  | 
      
      
        | 72 | 
        
         | 
        
         | 
        		if (SHOW_MENU) {
 | 
      
      
        | 73 | 
        
         | 
        
         | 
        			// navigation menu
  | 
      
      
        | 74 | 
        
         | 
        
         | 
        			echo $TEXT['MENU'] . ':';
  | 
      
      
        | 75 | 
        
         | 
        
         | 
        			show_menu();
  | 
      
      
        | 76 | 
        
         | 
        
         | 
        		} ?>
  | 
      
      
        | 77 | 
        
            4
         | 
        
            ryan
         | 
        
  | 
      
      
        | 78 | 
        
            865
         | 
        
            doc
         | 
        		<?php
  | 
      
      
        | 79 | 
        
         | 
        
         | 
        		if (SHOW_SEARCH) { /* Only show search box if search is enabled */ ?>
 | 
      
      
        | 80 | 
        
            4
         | 
        
            ryan
         | 
        			<br />
  | 
      
      
        | 81 | 
        
            865
         | 
        
            doc
         | 
        			<?php echo $TEXT['SEARCH']; ?>: <br />
  | 
      
      
        | 82 | 
        
            540
         | 
        
            Ruebenwurz
         | 
        			<form name="search" action="<?php echo WB_URL; ?>/search/index.php" method="get">
  | 
      
      
        | 83 | 
        
            865
         | 
        
            doc
         | 
        				<input type="hidden" name="referrer" value="<?php
  | 
      
      
        | 84 | 
        
         | 
        
         | 
        					echo defined('REFERRER_ID') ? REFERRER_ID : PAGE_ID; ?>" />
 | 
      
      
        | 85 | 
        
            4
         | 
        
            ryan
         | 
        				<input type="text" name="string" style="width: 100%;" />
  | 
      
      
        | 86 | 
        
            440
         | 
        
            Ruebenwurz
         | 
        				<input type="submit" name="submit" value="<?php echo $TEXT['SEARCH']; ?>" style="width: 100%;" />
  | 
      
      
        | 87 | 
        
            4
         | 
        
            ryan
         | 
        			</form>
  | 
      
      
        | 88 | 
        
         | 
        
         | 
        		<?php } ?>
  | 
      
      
        | 89 | 
        
         | 
        
         | 
        
  | 
      
      
        | 90 | 
        
         | 
        
         | 
        		<br />
  | 
      
      
        | 91 | 
        
         | 
        
         | 
        		<a href="http://www.websitebaker.org" target="_blank">Powered by <br /> Website Baker</a>
  | 
      
      
        | 92 | 
        
         | 
        
         | 
        	</td>
  | 
      
      
        | 93 | 
        
         | 
        
         | 
        	<td class="content">
  | 
      
      
        | 94 | 
        
         | 
        
         | 
        		<?php page_content(); ?>
  | 
      
      
        | 95 | 
        
         | 
        
         | 
        	</td>
  | 
      
      
        | 96 | 
        
         | 
        
         | 
        </tr>
  | 
      
      
        | 97 | 
        
         | 
        
         | 
        <tr>
  | 
      
      
        | 98 | 
        
         | 
        
         | 
        	<td colspan="2" class="footer">
  | 
      
      
        | 99 | 
        
         | 
        
         | 
        		<?php page_footer(); ?>
  | 
      
      
        | 100 | 
        
         | 
        
         | 
        	</td>
  | 
      
      
        | 101 | 
        
         | 
        
         | 
        </tr>
  | 
      
      
        | 102 | 
        
         | 
        
         | 
        </table>
  | 
      
      
        | 103 | 
        
            1106
         | 
        
            Ruebenwurz
         | 
        <?php
  | 
      
      
        | 104 | 
        
         | 
        
         | 
        // automatically include optional WB module file frontend_body.js)
  | 
      
      
        | 105 | 
        
         | 
        
         | 
        if (function_exists('register_frontend_modfiles_body')) { register_frontend_modfiles_body(); }
 | 
      
      
        | 106 | 
        
         | 
        
         | 
        ?>
  | 
      
      
        | 107 | 
        
            4
         | 
        
            ryan
         | 
        </body>
  | 
      
      
        | 108 | 
        
         | 
        
         | 
        </html>
  |