Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <?php session_start(); ?>
- <?php require_once("./include/dbconnect.php"); ?>
- <?php include("./include/head.php"); ?>
- <body>
- <div id="wrapper">
- <?php
- // Including header
- include ("./include/header.php");
- // Including menu
- include ("./include/menu.php");
- if ($_GET['errmsg'] || $_POST['errmsg']) {
- include("./include/errorbox.php");
- }
- // Including home content
- include ("./pages/home.php");
- ?>
- <!--?php
- //error_reporting(0);
- $page = $_GET["page"];
- if ( ! $page ) {
- $page = "home";
- }
- if ( ! file_exists ("pages/" . $page . ".php") ) {
- include ("pages/not_available.php");
- } else {
- include ("pages/". $page . ".php");
- }
- ?-->
- <?php
- // Including bottom
- include ("./include/bottom.php");
- ?>
- </div>
- <?php
- // Including footer
- include ("./include/footer.php");
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement