<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>INSTAPRO | Badan Bank Tanah</title>
	<link rel="icon" href="<?= base_url().'assets/favicon.png'; ?>" type="image/gif">
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/bower_components/bootstrap/dist/css/bootstrap.min.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/bower_components/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/bower_components/Ionicons/css/ionicons.min.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/dist/css/AdminLTE.min.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/dist/css/skins/_all-skins.min.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/bower_components/morris.js/morris.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/bower_components/jvectormap/jquery-jvectormap.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/bower_components/bootstrap-daterangepicker/daterangepicker.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
	<link rel="stylesheet" href="<?php echo base_url(); ?>assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
	<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<body class="hold-transition skin-blue sidebar-mini">
	<div class="wrapper">

		<?php 
		$id_user = $this->session->userdata('id');
		$user = $this->db->query("select * from user where user_id='$id_user'")->row();
		?>

		<header class="main-header">			
			<a href="<?php echo base_url(); ?>" class="logo">
				<img src="<?php echo base_url()."gambar/logo_admin.png" ?>" style="width: 160px;">				
			</a>
			
			<nav class="navbar navbar-static-top">
				
				<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
					<span class="sr-only">Toggle navigation</span>
				</a>

				<div class="navbar-custom-menu">
					<ul class="nav navbar-nav">
						<li class="dropdown user user-menu">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown">
								<img src="<?php echo base_url(); ?>assets/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
								
								<span class="hidden-xs">HAK AKSES : <b><?php echo "Admin" ?></b></span>
							</a>
							<ul class="dropdown-menu">
								<li class="user-header">
									<img src="<?php echo base_url(); ?>assets/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">										
									
									<p>
										<?php echo $this->session->userdata('nama') ?>
										<small>Hak akses : <?php echo "Admin" ?></small>
									</p>
								</li>
								
								<li class="user-footer">
									<div class="pull-left">
										<a href="<?php echo base_url().'dashboard/profil' ?>" class="btn btn-default btn-flat">Profil</a>
									</div>
									<div class="pull-right">
										<a href="<?php echo base_url().'dashboard/keluar' ?>" class="btn btn-default btn-flat">Keluar</a>
									</div>
								</li>
							</ul>
						</li>
						
					</ul>
				</div>
			</nav>
		</header>
		<aside class="main-sidebar">
			<section class="sidebar">
				<div class="user-panel">
					<div class="pull-left image">
						<img src="<?php echo base_url(); ?>assets/dist/img/user2-160x160.jpg" style="height: 45px; width: 45px;" class="img-circle" alt="User Image">
					</div>
					<div class="pull-left info">
						
						<p><?php echo $user->user_nama; ?></p>
						<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
					</div>
				</div>
				
				<ul class="sidebar-menu" data-widget="tree">
					<li class="header">MAIN NAVIGATION</li>
					<li>
						<a href="#">
							<i class="fa fa-dashboard"></i>
							<span>DASHBOARD</span>
						</a>
					</li>

					<li>
						<a href="<?php echo base_url().'Perolehan' ?>">
							<i class="fa fa-list-alt"></i>
							<span>PEROLEHAN TANAH</span>
						</a>
					</li>

					<li class="treeview">
						<a href="#">
							<i class="fa fa-cog"></i> <span>DATA MASTER</span>
							<span class="pull-right-container">
								<i class="fa fa-angle-left pull-right"></i>
							</span>
						</a>
						<ul class="treeview-menu">
							<li><a href="<?php echo base_url().'Master/provinsi' ?>">&nbsp; &nbsp; PROVINSI</a></li>
							<li><a href="<?php echo base_url().'Master/kota' ?>">&nbsp; &nbsp; KABUPATEN/KOTA</a></li>
							<li><a href="<?php echo base_url().'Master/dasar_perolehan' ?>">&nbsp; &nbsp; DASAR PEROLEHAN</a></li>
							<li><a href="<?php echo base_url().'Master/progres_status' ?>">&nbsp; &nbsp; PROGRES STATUS</a></li>
						</ul>
					</li> 

					<li>
						<a href="<?php echo base_url().'dashboard/user' ?>">
							<i class="fa fa-users"></i>
							<span>USER</span>
						</a>
					</li>

					<!-- <li>
						<a href="<?php echo base_url().'dashboard/pembayaran' ?>">
							<i class="fa fa-money"></i>
							<span>TAGIHAN</span>
						</a>
					</li>

					<li>
						<a href="<?php echo base_url().'dashboard/pengajuan' ?>">
							<i class="fa fa-id-card"></i>
							<span>PENGAJUAN PAS</span>
						</a>
					</li>	 -->
					

					<li>
						<a href="<?php echo base_url().'dashboard/ganti_password' ?>">
							<i class="fa fa-lock"></i>
							<span>GANTI PASSWORD</span>
						</a>
					</li>
					<li>
						<a href="<?php echo base_url().'dashboard/keluar' ?>">
							<i class="fa fa-share"></i>
							<span>KELUAR</span>
						</a>
					</li>
				</ul>
			</section>
		</aside>