<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title><?php echo TITLE." - ".$this->title; ?></title>
	<link rel="icon" type="image/png" href="<?php echo NPAGE.$this->icon;?>">
	<meta name="description" content="<?php echo $this->desc?>">
	<meta name="keywords" content="<?php echo $this->keyword?>">
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<?php
	if(sizeof($this->stylesheets)>0){
	for($i=0;$i<sizeof($this->stylesheets);$i++){ ?><link rel="stylesheet" type="text/css" href="<?php echo $this->stylesheets[$i]?>?v=<?php echo VERSI_APP;?>" /><?php }
	}
	?>
	<?php
	if(sizeof($this->javascripts)>0){
	for($i=0;$i<sizeof($this->javascripts);$i++){ ?><script type="text/javascript" src="<?php echo $this->javascripts[$i]?>?v=<?php echo VERSI_APP;?>"></script> <?php }	
	}
	?>
</head>
<body>
	<script>
		$(document).ready(function(){
			<?php
			if(sizeof($this->set)>0){
				for($i=0;$i<sizeof($this->set);$i++){
					echo $this->set[$i];
				} 
			}
			?>
		});
	</script>
	
	<div id="box_utama_atas_mid">
		<?php echo $this->halamanatas;?>
	</div>
	<div id="box_utama_banner">
		<?php echo $this->banner;?>
	</div>
	<div id="box_utama_link" align="center">
		<div id="box_utama_link_mid">
			<?php echo $this->tengahtop;?>
		</div>
	</div>
	<div id="box_utama_full" align="center">
		<?php echo $this->tengahmid1;?>
		<div style="clear: both;"></div>
	</div>
	<div id="box_utama_mid" align="center">
		<?php echo $this->tengahmid2;?>
		<div style="clear: both;"></div>
	</div>
	<div id="box_utama_full" align="center">
		<div id="box_utama_full_tengah">
			<?php echo $this->tengahfull;?>
			<div style="clear: both;"></div>
		</div>
		<div style="clear: both;"></div>
	</div>
	<div id="box_utama_midb" align="center">
		<div id="box_utama_midb1">
			<?php echo $this->tengahmid3;?>
		</div>
		<div id="box_utama_midb2">
			<br />
			<?php echo $this->tengahmid4;?>
		</div>
		<div style="clear: both;"></div>
	</div>
	<div style="clear: both;"></div>
	<div id="box_utama_bawah" align="center">
		<?php echo $this->midtengah;?>
		<div style="clear: both;"></div>
	</div>
	<div style="clear: both;"></div>
	<div id="box_utama_footer">
		<?php echo $this->footer;?>
	</div>
	<div>
		<?php echo $this->plugins;?>
	</div>
	<script>
		$(document).ready(function(){
			<?php
			if(sizeof($this->load)>0){
				for($i=0;$i<sizeof($this->load);$i++){
					echo $this->load[$i];
				}  
			}
			?>
		});
	</script>
</body>
</html>
