<?php
session_start();
include_once "include/config.php";
include_once "function/pagination.php";
include_once "function/inc_function.php";
include_once "function/excel_reader.php";

$datetime 		= get_datetime();
$date			= get_date();
$time			= get_time();
$start_date 	= get_startdate();
$end_date   	= get_enddate();
$start_dateacct = get_startdateacct();
$end_dateacct   = get_enddateacct();
$start_dateexbc = get_startdateexbc();
$end_dateexbc   = get_enddateexbc();
$thn_acct		= get_tahunacct();
$user_id  		= isset($_SESSION['USER_ID'])?$_SESSION['USER_ID']:'';
$user_name  	= isset($_SESSION['USER_NAME'])?$_SESSION['USER_NAME']:'';
$user_level 	= isset($_SESSION['USER_LEVEL'])?$_SESSION['USER_LEVEL']:'';
$userlevel 		= isset($_SESSION['USER_LEVEL'])?$_SESSION['USER_LEVEL']:'';
$infoKbSql  	= mysql_query("SELECT * from profil");
$infoKbRow  	= mysql_fetch_array($infoKbSql);
$start_date_m2year = start_date_m2year($start_date);
if(empty($user_id)){
	include_once "function/inc_login.php";
}
include "function/access_menu.php";
?>
<html>
<head>
<link href="images/icon_logo.png" rel="shortcut icon">
<!---Menu & Display------>
<!--<link rel='stylesheet' type='text/css' href='include/css/menu_styles.css' />-->	
<link rel='stylesheet' type='text/css' href='include/css/display_styles.css' />	
<!---Page------>
<link rel="stylesheet" type="text/css" href="include/css/pagination/pagination.css">
<link rel="stylesheet" type="text/css" href="include/css/pagination/B_Blue.css">
<!--Date Picker-->
<link type="text/css" rel="stylesheet" href="include/jq/datepicker/themes/ui-lightness/ui.all.css" />
<script src="include/jq/datepicker/jquery-1.8.0.min.js"></script>
<script src="include/jq/datepicker/ui/ui.core.js"></script>
<script src="include/jq/datepicker/ui/ui.datepicker.js"></script>
<script src="include/jq/datepicker/ui/i18n/ui.datepicker-id.js"></script>
<!--Menu Tree-->
<link rel="stylesheet" type="text/css" href="include/jqeasyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="include/jqeasyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="include/jqeasyui/demo/demo.css">
<!--<script type="text/javascript" src="include/jqeasyui/jquery.min.js"></script>-->
<script type="text/javascript"  src="include/jqeasyui/jquery.easyui.min.js"></script>
<!--Toggle-->
<link rel="stylesheet" type="text/css" media="screen" href="include/jq/toggle/jquery-ui-1.8.16.custom.css" />
<script src="include/jq/toggle/jquery-1.5.2.min.js" type="text/javascript"></script>
<script src="include/jq/toggle/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>

<style>
*{
	box-sizing:border-box;
}

::-webkit-scrollbar{
	width:6px;
}

::-webkit-scrollbar-track{
	box-shadow:inset 0 0 5px grey;
	border-radius:6px;
}

::-webkit-scrollbar-thumb{
	background:#ffcc00ff;
	border-radius:6px;
}

::-webkit-scrollbar-thumb:hover{
	background:#b30000;
}



input[type=text], input[type=date], select, date{
    height: 30px;
	width:fit-content;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}


button, html input[type=button], input[type=submit] {
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #fff;
    background-color: #ffbe0b;
    border-color: #4cae4c;
   display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    -webkit-appearance: button;
    cursor: pointer;
    text-transform: none;
    overflow: visible;
 }

</style>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>INVENTORY - KAWASAN BERIKAT</title></head>
<body style="width:100%;">
	<div id='headers'  style="width:100%; height:100px;">
		<!--<h1>Inventory Kawasan Berikat</h1>-->
			
			<!--<p style="margin-top:-10px; margin-bottom:-2px; margin-left:15px; color:#A9A9A9;"><u style="font-size:20px; font-weight:bold;">inventory kawasan berikat</u></p>-->
			<h1 style="font-family:Arial;">INVENTORY MANAGEMENT SYSTEM</h1>
			<a href='?page=Add-Profil'><h2 style="font-family:Arial;"><?php echo $infoKbRow['prof_name']; ?></h2></a>
			<h5 style="font-family:Arial;"><?php echo $infoKbRow['prof_address'].","; ?>&nbsp;<?php echo $infoKbRow['prof_city']; ?>&nbsp;-&nbsp;<?php echo $infoKbRow['prof_prov']; ?>&nbsp;-&nbsp;<?php echo $infoKbRow['prof_telp']; ?></h5>
			<a href="?page=Ubah-Password"><h4 style="font-family:Arial; color:#fff; margin-top:-8px; margin-right:200px;">Username : <?=$user_name;?></h4></a>
	</div>
			
	<div style="float:left; width:16%; margin-top:10px; padding:15px; border:1px solid #F39C12; overflow-y:auto; height:100%;">
		<?php include "menu_tree.php"; ?>
	</div>
					
	<div style="width:84%; border:1px solid #F39C12; float:left; padding:15px;  margin-top:10px; overflow-x:auto; overflow-y:auto;height:100%;">
		<?php include "load_file.php";?>
	</div>
	
	<hr></hr>		
	<div style="border:0px solid #F39C12; left:0; bottom:0; width:100%; height:40px; text-align:right;">
		<p style="margin-right:20px;">Copyright &copy; 2019 by f-IT Solution switch to OncorsoFt</p>
	</div>
	
</body>
</html>
