<?php
	include("./includes/pageHeader.inc.php");
?>

<!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>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="Bluefish 1.0.4"/>

	<title><?include("./html/title.html.php")?></title>

	<link rel="stylesheet" href="./themes/default/default.css" type="text/css" />
</head>

<body>

<!-- TOP BAR -->
<div id="topbar">
	<div id="title">
		<?php
			include("./html/title.html.php");
		?>
	</div>

	<!-- NAVIGATION BAR -->
	<div id="navbar">
		<?php
			require_once("./includes/blogsbar.inc.php");
		?>
	</div>
	<!-- END OF NAVIGATION BAR-->
	
</div> 

<!-- END of TOPBAR -->


<div id="mainFrame">	
	<!-- PATH BAR -->
	<div id="pathbar">
		<?php
			require_once("./includes/mpath.inc.php");
		?>
	</div>
	<!-- END OF PATH BAR-->
	
	<div id="centerFrame">		
		<div class="entry">

		<!-- Entries here -->
				
		<?php
			/**
			 * If PhotoBlog do not show entries
			 */
			if (isset($_GET['photoblog'])){
				require_once("./includes/photoblog.inc.php");
			}else{
				require_once("./includes/post.inc.php");							
				require_once("./includes/entries.inc.php");
			}
		?>		

		</div> <!-- END entry -->

	</div> <!-- END CENTER -->
	
	<div id="sideFrame">
		<div class="sidebar">
			<?php
				include_once("./cms/Sidebar.class.php");
				$sidebar = new Sidebar($_blogID,true,true,true,true,true,true);
			?>	
		</div>
	</div>
		
	
	<div style="clear: both;"></div>
	
	<div id="footerbar">
		<?php
			include_once("./html/footerBar.html.php");
		?>				
	</div>
</div>

</body>

</html>
<?php
	include_once("./includes/tracker");
?>
