Commit 089d157b authored by Ryan Wade's avatar Ryan Wade

Delete Old Code

parent 0bca5135
......@@ -80,79 +80,4 @@
<?php $footer->render(); ?>
</div>
</body>
</html>
<?php
/*
//Grab site info from the database
include "./fakeSQL.php";
$_GLOBAL["SQL"] = $pages;
$_GLOBAL["Site_Title"] = SQL_GET_SITE_TITLE();
$_GLOBAL["Site_Logo"] = SQL_GET_SITE_LOGO();
//if id is not specified set it to 0;
if(isset($_GET["id"]))
$_GLOBAL["pageId"] = $_GET["id"];
else
$_GLOBAL["pageId"] = 0;
//Check if the id is for a special page (sitemap) otherwise grab specified page info from the database.
switch ($_GLOBAL["pageId"])
{
case -1:
$_GLOBAL["pageTitle"] = "Sitemap";
break;
default:
$_GLOBAL["pageTitle"] = $pages[$_GLOBAL["pageId"]][2];
if(isset($pages[$_GLOBAL["pageId"]][3]))
{
$_GLOBAL["pageDesc"] = $pages[$_GLOBAL["pageId"]][3];//.": This is a description of your page. Use it wisely as you only have a limited amount of space";
$_GLOBAL["pageImg"] = $pages[$_GLOBAL["pageId"]][4];
}
$_GLOBAL["pageHTML"] = $pages[$_GLOBAL["pageId"]][5];
break;
}
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="sitemap.css">
<link rel="stylesheet" type="text/css" href="home.css">
<link rel="stylesheet" type="text/css" href="global.css">
<link rel="stylesheet" type="text/css" href="header.css">
<link rel="stylesheet" type="text/css" href="nav.css">
<link rel="stylesheet" type="text/css" href="title.css">
<link rel="stylesheet" type="text/css" href="breadcrumb.css">
<link rel="stylesheet" type="text/css" href="body.css">
<link rel="stylesheet" type="text/css" href="footer.css">
</head>
<body>
<div id="webpage" class="center">
<div id="navigation">
<?php
//Draw the header and navigation menus
include "./header.php";
include "./nav.php";
?>
</div>
<div id="content">
<?php
//Draw the title and breadcrumb
include "./title.php";
include "./breadcrumb.php";
//check if the id is for a special page (sitemap) otherwise render specified page.
switch ($_GLOBAL["pageId"])
{
case -1:
include "./sitemap.php";
break;
default:
include "./body.php";
break;
}
?>
</div>
<?php
//Draw Footer
include "./footer.php";
?>
</div>
</body>
</html>
*/
\ No newline at end of file
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment