<?php
//*******************************
//*author Kyle M. Brown
//*hide@address.com
//*www.mayvik.com
//*Simple Content Management System
//*******************************
//includes variables for this site
include ('../SCMSv1/variables.php');
//includes header information
include ('../SCMSv1/header.php');
?>
<html>
<head>
<title><?php echo $title ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="<?php echo $Twidth ?>" align = "<?php echo $Talign ?>" border="<?php echo $Tborder ?>" cellspacing="0" cellpadding="0">
<tr>
<td width="125" rowspan="3" valign="top">
<?php include ('../SCMSv1/Lmenu.php'); ?>
</td>
<td width="277">Simple Content Management System </td>
<td width="125" rowspan="3" valign="top">
<?php include ('../SCMSv1/Rmenu.php'); ?>
</td>
</tr>
<tr>
<td><?php
if (!isset($_GET['p'])) { // no page specified -> load default page
include("../SCMSv1/includes/default.txt");
} else include("includes/" . $_GET['p'] . ".txt");
?>
<p> </p>
</td>
</tr>
</table>
<?php include ('../SCMSv1/footer.php'); ?>
</body>
</html>