<?php if (!isset($_SESSION['FirstName'])) {
	session_start();
}
    //include database connection files
    include ('includes/db1config.php');
    include ('../includes/mysql_connect.php');
	
	//get site options
	include ('includes/admin-config.php');		
	
?>

<?php include("admin_globals.php"); ?>

<!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">
<head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<?php 
include('title.php'); 
echo'<link href="css/'.$stylesheet.'" rel="stylesheet" type="text/css" media="screen" />';	
echo'<link href="css/print_style.css" rel="stylesheet" type="text/css" media="print" />';
?>
<link rel="stylesheet" href="includes/tinyaccordion/style.css" type="text/css" />

<link rel="stylesheet" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">

<script src="//code.jquery.com/jquery-1.9.1.js"></script>
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

<!--<script type="text/javascript" src="ckeditor/ckeditor.js"></script>-->
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="ckfinder/ckfinder_v1.js"></script>

<!-- for popup windows -->
<link href="css/popup-style.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="js/script.js"></script>
 <!-- end popup script-->

<link rel="stylesheet" type="text/css" href="css/cssverticalmenu.css" />

<script type="text/javascript" src="js/jquery.nestable.js"></script>
<link rel="stylesheet" type="text/css" href="css/nestable.css" />

<!--DatePicker-->
<link href="css/jquery.timepicker.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="js/jquery.timepicker.js"></script>

<style type="text/css">
	#preview-desktop-iframe {
		width: 100%;
		height: 100%;
	}
	#popup_desktop_preview {
		width: 1000px;
		margin-left: -502px;
	}
	#preview-mobile-iframe {
		width: 500px;
		height: 100%;
	}
	#popup_mobile_preview {
		width: 500px;
		margin-left: -252px;
	}

	.toPopDiv {
		top: 10% !important;
		height: 80% !important;
	}
	.time-setting{
		cursor: pointer;
	}
	.save_time_btn{
		cursor: pointer;
		color: white;
		background: #2077a1 none repeat scroll 0 0;
	    border: 1px solid #cccfd2;
	    border-radius: 4px;
	    padding: 3px;
	    
	}
	#add_more_btn{
		cursor: pointer;
		color: white;
		background: #2077a1 none repeat scroll 0 0;
	    border: 1px solid #cccfd2;
	    border-radius: 4px;
	    padding: 3px;
	    float: right;
	}
	#timeSettingPopup{
		overflow-y: auto;
	}
	#close_btn{
	width: 30px;
	height: 30px;
	float: right;
	background: transparent url("../images/closebox.png") no-repeat scroll 0 0;
	cursor: pointer;
}
</style>
</head>

<body>


<div id="wrapper">

<!-- start header -->
<?php include('includes/header.inc.php'); ?>
<!-- end header-->


<!-- start page -->
<div id="page-container">
<div id="page-bg-top">


<!-- start content -->
<div id="content">
<div id="main-content">
   
    
    <br />
<p><strong>Site Admin Page</strong> &bull; 
Page Content
</p>
<br />

   
		<div class="post">
		  <div class="entry">
				<h1>Manage Page Content</h1>
                
                           
<?php 

	include "sessionchecklink.php";
	include "editpagessub.php";

?>

                
                       
</div><!-- end entry-->

<div style="clear: both;">&nbsp;</div>
			  <div style="text-align:center;"><?php echo $bottom_links; ?></div>
			  <br />
</div><!-- end post-->

</div><!-- end main-content-->

</div><!-- end content -->
    
<!-- start sidebar -->
<?php include('includes/admin-sidebar.inc.php'); ?>
<!--sidebar-->


<div style="clear: both;">&nbsp;</div>
<div id="page-bg-btm">
</div><!-- end page-bg-btm div -->
</div><!-- end page-bg-top div -->
</div><!-- end page-container -->



</div><!-- end wrapper div-->

<!-- end page -->


<!--footer-->



</body>
</html>
