<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<?php
include ("../navigation/header.php");
$page_name = "Stores-main";
include ("../navigation/access.php");
?>

<link href="../css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
</script>
</head>
<?php
if ($permission_num==1) {
	include ("../navigation/store_sidebar.php");
?>
<body>

<div class="main_frame">
<table width="630" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="52" colspan="4" align="left" valign="top"><div class="page_head_frame">
        <table width="630" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="385"><label class="label_page_head">Select stores list</label></td>
            <td align="right">&nbsp;</td>
          </tr>
        </table>
      </div>
       <br />
<br /><br />
<br />
<br />
<br />

<div class="page_middle_frame">
<form action="" method="get" ><br />
Select store:<br><br>
          &nbsp;&nbsp;&nbsp;&nbsp;
          <input name="production_button" type="button" class="imagebutton" id="production_button" onClick="needToConfirm = false; MM_goToURL('parent','product_items_list.php?category=Product&subCat=Production');return document.MM_returnValue" value="Production" />
  &nbsp;&nbsp;
  <input name="block_packing_button" type="button" class="imagebutton" id="block_packing_button" onClick="needToConfirm = false; MM_goToURL('parent','product_items_list.php?category=Product&subCat=Sales product');return document.MM_returnValue" value="Sales" />
  &nbsp; &nbsp;
  <input name="direct" type="button" class="imagebutton" id="direct_button" onClick="needToConfirm = false; MM_goToURL('parent','store_items_list.php?category=Direct material&subCat=Direct materials');return document.MM_returnValue" value="Direct materials" />
          &nbsp;&nbsp;&nbsp;
          <input name="stores_button" type="button" class="imagebutton" id="stores_button" onClick="needToConfirm = false; MM_goToURL('parent','store_items_list.php?category=Stores&subCat=');return document.MM_returnValue" value="General stores" />
        

</form>

<br>
<br>
<br>
<br>

<label class="label_std">Pallets:</label>
<div class="page_inside_frame">
<input name="pallets_button" type="button" class="imagebutton" value="Outstanding pallets" onclick="MM_goToURL('parent','outstanding_pallets_list.php?date=&cust_id=All');return document.MM_returnValue"/>
&nbsp;&nbsp;&nbsp;&nbsp;
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div> 
  <br />
<br>
</div>
<br>

<br />
<br /><br />
<br />
<br />
</form>

    </td>
    </tr>
    </table>
</div>

<?php include ('../navigation/side_bar.php'); ?>
</body>

<?php } else { ?>
<script> needToConfirm = false; </script>
<?php
    $_SESSION['denied_return'] = "store/store_main.php?date=0&branch=&subCatSelect=Tiles";	
    include ("../navigation/store_sidebar.php");?>
    <?php include ('../navigation/side_bar.php'); ?>
	<body onLoad="accessdenied(); return false">	
	</body>
<?php }
?>
</html>
