_template.php |
1 <?php 2 /** 3 * @author Thomas Kaczmarczyk @ www.Tekanero.co.uk 4 * This is a basic template that describes how to create a new site. 5 */ 6 require_once './includes/inc_file_includes.php'; // Load more directly if needed/ 7 $db_remote = TK_DB_Helper::getDB_Remote(__FILE__); //Initialize Database Connections 8 $db_local = TK_DB_Helper::getDB_Local(__FILE__); 9 $page_title = "Template"; //NOT TO FORGET: page_ variables in inc_file_includes.php 10 $page_menu_id = 'home'; //Set Home MenuItem as active 11 $submit_id = TK_Helper::generateRandomString(); //Used in submit Forms to prevent data resubmission when reloading page) 12 13 require './includes/inc_head.php'; //Lead <html>+<head>+<header> 14 15 //...::: Preprocessing :::... 16 //Variables 17 18 ?> 19 <!-----------------------------------------------------------------------------> 20 <!-- Content --> 21 <!-----------------------------------------------------------------------------> 22 <section id="xxxx_TEMPLATE_xxxx" class="content container"> 23 24 content goes here 25 26 <!-----------------------------------------------------------------------------> 27 <!-- End Content --> 28 <!-----------------------------------------------------------------------------> 29 </section> 30 <?php 31 require './includes/inc_footer.php'; 32 ?>