/* Decoded by unphp.net */ echo ' '; include("./includes/header.php"); include("./includes/connection.php"); include("./storeordering_navigation.php"); if(isset($_SESSION['userinfo']['Approval_Orders']) &&strtolower($_SESSION['userinfo']['Approval_Orders']) == 'yes'){ header("Location: ./storesubmittedorders.php?PendingOrders=PendingOrdersThisPage"); } if(isset($_SESSION['userinfo']['Employee_Name'])){ $Employee_Name = $_SESSION['userinfo']['Employee_Name']; }else{ $Employee_Name = 'Unknown Officer'; } if(isset($_SESSION['userinfo']['Employee_ID'])){ $Employee_ID = $_SESSION['userinfo']['Employee_ID']; }else{ $Employee_ID = 0; } if(isset($_SESSION['userinfo']['Branch_ID'])){ $Branch_ID = $_SESSION['userinfo']['Branch_ID']; }else{ $Branch_ID = 0; } if(isset($_SESSION['General_Order_ID'])){ $Store_Order_ID = $_SESSION['General_Order_ID']; }else{ $Store_Order_ID = 0; } if(!isset($_SESSION['userinfo'])){ @session_destroy(); header("Location: ../index.php?InvalidPrivilege=yes"); } if(isset($_SESSION['userinfo'])) { if(isset($_SESSION['userinfo']['Storage_And_Supply_Work'])) { if($_SESSION['userinfo']['Storage_And_Supply_Work'] != 'yes'){ header("Location: ./index.php?InvalidPrivilege=yes"); }else{ @session_start(); if(!isset($_SESSION['Storage_Supervisor'])){ header("Location: ./storagesupervisorauthentication.php?InvalidSupervisorAuthentication=yes"); } } }else{ header("Location: ./index.php?InvalidPrivilege=yes"); } }else{@session_destroy();header("Location: ../index.php?InvalidPrivilege=yes");} if(isset($_GET['status'])){ $Store_Ordering_Status = $_GET['status']; } ;echo '