<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->

<head>
	<!-- Your Basic Site Informations -->
	<title><?php include "title.php"; ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta name="robots" content="index, follow">
    <meta name="description" content="<?php include "meta-desc.php"; ?>">
    <meta name="keywords" content="<?php include "meta-key.php"; ?>">
    <meta http-equiv="Copyright" content="popojicms">
    <meta name="author" content="Dwira Survivor">
    <meta http-equiv="imagetoolbar" content="no">
    <meta name="language" content="Indonesia">
    <meta name="revisit-after" content="7">
    <meta name="webcrawlers" content="all">
    <meta name="rating" content="general">
    <meta name="spiders" content="all">
    <!-- Mobile Specific Meta -->
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <!-- Stylesheets -->
    <link rel="stylesheet" href="po-content/<?php echo $folder; ?>/css/bootstrap.min.css">
    <link rel="stylesheet" href="po-content/<?php echo $folder; ?>/css/bootstrap-responsive.min.css">
    <link rel="stylesheet" href="po-content/<?php echo $folder; ?>/css/flexslider.css">
    <link rel="stylesheet" href="po-content/<?php echo $folder; ?>/css/prettyPhoto.css">
    <link rel="stylesheet" href="po-content/<?php echo $folder; ?>/css/style.css">
    <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Bitter' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
    
    <noscript><link rel="stylesheet" href="css/no-js.css"></noscript> <!-- If JavaScript Disabled -->
    
    <!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    
    <!-- Favicons -->
	<link rel="icon" href="<?php echo $favicon; ?>" />
    
    <!-- JavaScript -->
    <script type="text/javascript" src="po-content/<?php echo $folder; ?>/js/jquery-1.8.3.min.js"></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/bootstrap.min.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.easing.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.flexslider-min.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jflickrfeed.min.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.fitvids.min.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.lazyload.mini.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.prettyPhoto.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.placeholder.min.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.jticker.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.mobilemenu.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.isotope.min.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/jquery.hoverdir.js'></script>
    <script type='text/javascript' src='po-content/<?php echo $folder; ?>/js/modernizr.custom.js'></script>
	<script type="text/javascript" src="po-content/<?php echo $folder; ?>/js/jquery.pajinate.js"></script>
    <script type="text/javascript" src="po-content/<?php echo $folder; ?>/js/main.js"></script>
    
</head>

<body>
	<div id="top-navigation">
		<?php include "po-content/$folder/header.php"; ?>
	</div> <!-- End Top-Navigation -->
	<div class="container">
		<header id="header" class="clearfix">
			<!-- Logo -->
			<div class="logo pull-left">
				<a href="#"><img src="po-content/<?php echo $folder; ?>/images/logo.png" alt="Enews" /></a>
			</div> 
			<!-- Ads -->
			<?php
				$tablebann = new PoTable('banner');
				$banns = $tablebann->findAllLimitByRand(size, '480', '1');
				foreach($banns as $bann){
			?>
			<div class="ads pull-right">
				<a href="<?php echo $bann->url; ?>" target="_blank"><img src="po-content/po-upload/banner/<?php echo $bann->picture; ?>" alt="<?php echo $bann->title; ?>" /></a>
			</div>
			<?php
				}
			?>
		</header> <!-- End Header -->
		<?php include "po-content/$folder/menu.php"; ?>
		<div class="row-fluid">
			<?php include "po-content/$folder/content.php"; ?>
			<?php include "po-content/$folder/sidebar.php"; ?>
		</div> <!-- End Row-Fluid -->
	</div> <!-- End Container -->
	<div id="footer">
		<?php include "po-content/$folder/footer.php"; ?>
	</div>
	<a href="#" class="scrollup" title="Back to Top!">Scroll</a>
	<div id="customize">
		<h5>Options</h5>
		<div class="wrapper">
			<div class="colors">
				<h6>Colors</h6>
				<a href="#" class="orange" title="Orange" style="background-color:#f15620;"></a>
				<a href="#" class="blue" title="Blue" style="background-color:#1d96e2;"></a>
				<a href="#" class="green" title="Green" style="background-color:#45b519;"></a>
			</div>
		</div>
	</div>
</body>
</html>