<!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 />
  <br />
<label class="label_std">Direct materials:</label>
<div class="page_inside_frame">
  <input name="tiles_button" type="button" class="imagebutton" id="tiles_button" onclick="MM_goToURL('parent','store_items_list.php?subCatSelect=Tiles&branch=<?php echo $_SESSION['userbranch']?>');return document.MM_returnValue" value="Tiles" />
  &nbsp;&nbsp;&nbsp;&nbsp;
  <input name="acc_button" type="button" class="imagebutton"  id="acc_button" value="Accessories" onclick="MM_goToURL('parent','store_items_list.php?subCatSelect=Accessories&branch=<?php echo $_SESSION['userbranch']?>');return document.MM_returnValue"/>
&nbsp;&nbsp;
<input name="acc_button2" type="button" class="imagebutton"  id="acc_button2" value="Consumables" onclick="MM_goToURL('parent','store_items_list.php?subCatSelect=Consumables&branch=<?php echo $_SESSION['userbranch']?>');return document.MM_returnValue"/>
</div> 
  <br />
<br>
<br>

<br />
<br />

<label class="label_std">Other:</label><br />

  <div class="page_inside_frame">
    <input name="cutting_bill_button2" type="button" class="imagebutton" id="cutting_bill_button2" value="Complete" onclick="MM_goToURL('parent','store_items_list_complete.php?subCatSelect=Complete&branch=<?php echo $_SESSION['userbranch']?>');return document.MM_returnValue"/>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<br />
<br />
</form>
</div>

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