<!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 stock count 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 />
  <br />
<label class="label_std">Production:</label>
<div class="page_inside_frame">
  <input name="products_button" type="button" class="imagebutton" id="products_button" onClick="needToConfirm = false;MM_goToURL('parent','product_stock_take.php?stock_take_date=<?php echo date("Y-m-d") ?>');return document.MM_returnValue" value="Products (production)" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input name="products_button2" type="button" class="imagebutton" id="sales_products_button" onClick="needToConfirm = false;MM_goToURL('parent','sales_product_stock_take.php?stock_take_date=<?php echo date("Y-m-d") ?>');return document.MM_returnValue" value="Sale products" /> 
&nbsp;&nbsp;&nbsp;&nbsp;
 <input name="direct_materials_button" type="button" class="imagebutton" id="direct_materials_button" onClick="needToConfirm = false;MM_goToURL('parent','material_stock_take.php?stock_take_date=<?php echo date("Y-m-d") ?>');return document.MM_returnValue" value="Direct materials" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input name="general_store_button" type="button" class="imagebutton" id="general_store_button" onClick="needToConfirm = false;MM_goToURL('parent','general_stock_take.php?stock_take_date=<?php echo date("Y-m-d") ?>');return document.MM_returnValue" value="General stores" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div> 
  <br />
</form>

<br>
<br>
<br>
<br>
<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>
