<?php session_start();?>
<?php require('fast_edit/fast_edit_login.php');
/* session start and login are REQUIRED at the very top of this file */
?>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<?php if (isset($_SESSION['username'])) { ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/><?php } ?>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />



<!-- YOUR OWN STYLESHEET -->
<link rel="stylesheet" type="text/css" href="includes/default_site_styles.css" /> 



<!-- start REQUIRED scripts and CSS -->
<title><?php echo $dynamic_title ;?> : <?php echo $website_title ;?></title>
<link rel="stylesheet" type="text/css" href="fast_edit/editable_site_styles.css" /> 
<link rel="stylesheet" type="text/css" href="fast_edit/styles/fast_edit.css" />
<!--[if IE]><link rel="stylesheet" type="text/css" href="fast_edit/styles/fast_edit_ie.css" /><![endif]-->
<?php if (isset($_SESSION['username'])) { ?>
<script type="text/javascript" src="fast_edit/tinymce_3_3_7/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="fast_edit/tinymce_3_3_7/tinymce/jscripts/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php"></script>
<script type="text/javascript" src="fast_edit/tinymce_3_3_7/tinymce/jscripts/tiny_mce/plugins/tinybrowser/tb_standalone.js.php"></script>
<script type="text/javascript" src="fast_edit/js/fast_edit_toolbar.js"></script> 
<?php } ?>
<script type="text/javascript" src="fast_edit/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="fast_edit/js/jquery.cookie.js"></script> 
<?php if (isset($_SESSION['username'])) { ?>
<script type="text/javascript" src="fast_edit/js/jquery.tablesorter.js"></script> 
<script type="text/javascript" src="fast_edit/js/jquery.tablesorter.pager.js"></script>
<?php } ?>
<script type="text/javascript" src="fast_edit/js/fast_edit_functions.js"></script> 
<!-- end REQUIRED scripts and CSS -->



<!--[if lte IE 7]>
<style type="text/css">
.non-editable { margin-top:65px; }
</style>
<![endif]-->



</head> 
<body>



<!-- start REQUIRED HTML for Admin Login -->
<?php if ($dynamic_title != "Page Preview") { ?>
<div class="admin-login">
	Admin Login: <img src="fast_edit/images/lock.png" alt="Admin Login" class="login">
	<div class="login-box">
		<form method="post" action="<?php echo $_SERVER['PHP_SELF'];?>?action=login">
		Username:<br/><input type="text" name="name" size="15"/><br/>
		Password:<br/><input type="password" name="pass" size="15"/><br/>
		<input type="image" src="fast_edit/images/login.gif" name="submit_login" value="Login" title="Login" class="login-submit"/>
		</form>
	</div>
</div>
<?php } ?>
<!-- end REQUIRED HTML for Admin Login -->




<!-- start REQUIRED dynamic menu -->
<?php include('includes/menu.html'); ?>
<!-- end REQUIRED dynamic menu -->




<!-- YOUR OWN NON-EDITABLE CONTENT (GLOBAL ACROSS THE WHOLE SITE) -->
<div class="non-editable">
	<h1 class="title"><?php echo $dynamic_title ;?> <?php if (isset($_GET['previewfile'])) { echo 'for '.$dynamic_title_preview; }?></h1>
	<h2 class="sub-title"><i>("Fast Edit" - edit your content right here on the page!)</i></h2>
	<a href="http://fast-edit.co.uk/" title="Fast Edit" target="_blank">
		<img src="http://fast-edit.co.uk/images/sample.gif" height="139" width="338" alt="Fast Edit" style="border:1px solid #333"/>
	</a>
	<p>Please go to the official Fast Edit website at <a href="http://fast-edit.co.uk/" title="Fast Edit" target="_blank">http://fast-edit.co.uk/</a> for 
	a full breakdown of <a href="http://fast-edit.co.uk/features.php" title="Fast Edit" target="_blank">features</a>, 
	live <a href="http://fast-edit.co.uk/demo/" title="Fast Edit" target="_blank">demo</a> and downloads.</p>
</div>