<head>
	<title><?php echo BASETITLE ?> Dashboard</title>
</head>
<style>
body{
	background-color: #f8f8f8;
}
._menuContent{
	width: <?php echo $this->data->width ?>px;
	margin: 0px auto;
}
._menuContent2{
	margin-top: 50px;
}
._itemMenu{
	border: 5px solid #d1c8c8;
	background-color: #f1f0f0;
	-webkit-border-radius: 8px 8px 8px 8px; 
	-moz-border-radius: 0px 0px 8px 8px; 
	-khtml-border-radius: 0px 0px 8px 8px; 
	border-radius: 8px 8px 8px 8px;
	width: 140px;
	height: 140px;
	float: left;
	margin-right: 10px;
	margin-top: 10px;
	padding: 20px;
	text-align: center;
	font-weight: bold;
	font-size: 13px;
	font-family: arial;
}
._itemMenu:hover{
	background-color: #F4e3e4;
	border: 5px solid #f7c8ca;
}
</style>

<div class="_menuContent">
	<div class="_menuContent2">
		<?php
		$menu  = new Menu;
		foreach($menu->menu() as $row){
		?>
			<a href="<?php echo $this->baseUrl.$row['url'].'/index/bobin'; ?>">
				<div class="_itemMenu">
					<img src="<?php echo $this->baseUrl.'assets/menu/'.$row['logo']; ?>" width="110px">
					<p><?php echo ucfirst($row['menu']) ?></p>
				</div>
			</a>
		<?php } ?>
	
	
		<?php 
		foreach($this->data->menu as $key => $row){ 
			if($row->nama != 'APK'){
		?>
			<a href="<?php echo $this->baseUrl.'application/index/'.$key; ?>">
				<div class="_itemMenu">
					<img src="<?php echo $this->baseUrl.'assets/menu/'.$row->logo; ?>" width="110px">
					<p><?php echo ucfirst($row->nama) ?></p>
				</div>
			</a>
		<?php 
			}
		}
		?>
		<a href="<?php echo $this->baseUrl.'login/logout'; ?>">
			<div class="_itemMenu">
				<img src="<?php echo $this->baseUrl.'assets/menu/logout-128.png'; ?>" width="110px">
				<p>LogOut</p>
			</div>
		</a>
	</div>
</div>