<?php
session_start();
if (empty($_SESSION['namauser']) AND empty($_SESSION['passuser'])){
	header('location:404.php');
}else{
	echo "<ul class='navigation'>
		<li>
			<a href='admin.php?mod=home' class='button'>
				<div class='icon'>
					<span class='ico-home'></span>
				</div>
				<div class='name'>$langmenu1</div>
			</a>
		</li>
		<li>
			<a href='#' class='button yellow'>
				<div class='icon'>
					<div class='arrow'></div>
						<span class='ico-pen-2'></span>
					</div>
				<div class='name'>$langmenu2</div>
			</a>
			<ul class='sub'>
				<li><a href='admin.php?mod=post'>$langmenu3</a></li>
				<li><a href='admin.php?mod=post&act=addnew'>$langmenu4</a></li>
				<li><a href='admin.php?mod=category'>$langmenu5</a></li>
				<li><a href='admin.php?mod=tag'>$langmenu6</a></li>
			</ul>
		</li>
		<li>
			<a href='#' class='button green'>
				<div class='arrow'></div>
					<div class='icon'>
						<span class='ico-pictures'></span>
					</div>
				<div class='name'>$langmenu7</div>
			</a>
			<ul class='sub'>
				<li><a href='admin.php?mod=library'>$langmenu8</a></li>
				<li><a href='admin.php?mod=library&act=addnew'>$langmenu9</a></li>
			</ul>
		</li>
		<li>
			<a href='#' class='button red'>
				<div class='arrow'></div>
					<div class='icon'>
						<span class='ico-file'></span>
					</div>
				<div class='name'>$langmenu10</div>
			</a>
			<ul class='sub'>
				<li><a href='admin.php?mod=pages'>$langmenu11</a></li>
				<li><a href='admin.php?mod=pages&act=addnew'>$langmenu12</a></li>
			</ul>
		</li>
		<li>
			<a href='#' class='button dblue'>
				<div class='arrow'></div>
					<div class='icon'>
						<span class='ico-brush'></span>
					</div>
				<div class='name'>$langmenu13</div>
			</a>
			<ul class='sub'>
				<li><a href='admin.php?mod=setting'>$langmenu14</a></li>
				<li><a href='admin.php?mod=theme'>$langmenu15</a></li>
			</ul>
		</li>
		<li>
			<a href='#' class='button purple'>
				<div class='arrow'></div>
					<div class='icon'>
						<span class='ico-box'></span>
					</div>
				<div class='name'>$langmenu16</div>
			</a>
			<ul class='sub'>
				<li><a href='admin.php?mod=component'>$langmenu17</a></li>
				<li><a href='admin.php?mod=component&act=addnew'>$langmenu18</a></li>
			</ul>
		</li>
		<li>
			<a href='#' class='button orange'>
				<div class='arrow'></div>
					<div class='icon'>
						<span class='ico-user'></span>
					</div>
				<div class='name'>$langmenu19</div>
			</a>
		<ul class='sub'>
			<li><a href='admin.php?mod=user'>$langmenu20</a></li>
			<li><a href='admin.php?mod=user&act=addnew'>$langmenu21</a></li>
		</ul>
		</li>
		<li>
			<a href='logout.php' class='button black'>
				<div class='icon'>
					<span class='ico-off'></span>
				</div>
				<div class='name'>$langmenu22</div>
			</a>
		</li>
		<li>
			<div class='user'>
				<a href='admin.php?mod=user' class='name'>
					<span>Admin</span>
					<span class='sm'>$_SESSION[namalengkap]</span>
				</a>
			</div>
			<div class='buttons'>
				<div class='sbutton green navButton'>
					<a href='#'><span class='ico-align-justify'></span></a>
				</div>
				<div class='sbutton blue'>
					<a href='#'><span class='ico-cogs'></span></a>
					<div class='popup'>
						<div class='arrow'></div>
						<div class='row-fluid'>
							<div class='row-form'>
								<div class='span12'><strong>$langmenu23</strong></div>
							</div>
							<div class='row-form'>
								<div class='span4'>$langmenu24:</div>
								<div class='span8'><input type='radio' class='cNav' name='cNavButton' value='default'/> Default <input type='radio' class='cNav' name='cNavButton' value='bordered'/> Bordered</div>
							</div>                             
							<div class='row-form'>
								<div class='span4'>$langmenu25:</div>
								<div class='span8'><input type='radio' class='cCont' name='cContent' value=''/> Responsive <input type='radio' class='cCont' name='cContent' value='fixed'/> Fixed</div>
							</div>           
						</div>
					</div>
				</div>             
			</div>
		</li>
	</ul>";
}
?>