<!DOCTYPE html>
<html>
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
	<title>APK</title>
	<link rel="stylesheet" href="<?php echo $this->baseUrl ?>assets/thema/apk/js/jquery.mobile-1.4.5.min.css">
	<script src="<?php echo $this->baseUrl ?>assets/thema/apk/js/jquery-1.11.3.min.js"></script>
	<script src="<?php echo $this->baseUrl ?>assets/thema/apk/js/jquery.mobile-1.4.5.min.js"></script>
	
	<style>
	#_header{
		top: 0;
		position: fixed;
		width: 100%;
	}
	#_headerTitle{
		text-align: center;
		padding: 10px;
	}
	#_footer{
		left: 0;
		bottom: 0;
		position: fixed;
		width: 100%;
	}
	#_tabHeader{
		width: 100%;
	}
	._right{
		text-align: right;
	}
	#pilihKamera{
        cursor: pointer;
	}
	</style>
</head>
<body>

<div data-role="page" id="pageone">
  <div data-role="panel" id="myPanel" data-theme="b"> 
  <h1>
	<p style="text-align: center">
		<img src="<?php echo $this->baseUrl."assets/images/rasio.gif"; ?>" width="200px">
	</p>
  </h1>
    <a href="<?php echo $this->baseUrl; ?>sopcb/form/&gudang=<?php echo $_GET['gudang'] ?>&lok=<?php echo $_GET['lok'] ?>" class="ui-btn">FORM SO</a> 
    <a href="<?php echo $this->baseUrl; ?>sopcb/sudah_so/&gudang=<?php echo $_GET['gudang'].'&lok='.$_GET['lok'] ?>" class="ui-btn">SUDAH SO</a> 
  </div> 

  <div data-role="header" id="_header">
    <div id="_headerTitle">
		<?php
		if(!empty($this->data->judul)){
			echo $this->data->judul;
		}else{
			echo "REJEKI EXPRESS";
		}
		?>
		
	</div>
    <div data-role="navbar">
      <ul>
        <li><a href="#myPanel" data-icon="bullets">Menu</a></li>
        <li><a href="<?php echo $this->baseUrl; ?>/application/index/MIS" target="_blank" data-icon="home">Home</a></li>
        <li><a href="<?php echo $this->baseUrl ?>" data-icon="refresh" id="_refresh">Refresh</a></li>
      </ul>
    </div>
  </div>

  <div data-role="main" class="ui-content" id="mainContainer">
	<div style="margin-top: 100px; text-align: center">
		<?php include $this->view ?>
	</div>
  </div>

  <div data-role="footer" id="_footer">
    <h1><span id="_loadingSimpan">www.rasio.id</span></h1>
  </div> 
</div> 

<script type="text/javascript">
$(document).ready(function(){
	$('#_refresh').click(function(){
		_conf = confirm("Yakin Memperbaharui Aplikasi ini?");
		if(_conf){
			window.location = '';
		}
	})
	
})	
</script>

</body>
</html>
