0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
ADMIN
/
[
Home
]
File: division_report.php
<?php $MAIN_HEADING = "Divisionwise Reports"; ?> <?php include("include/adminheader.php"); include("division_report_ctrl.php"); ?> <form action="division_report.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="462" height="101" align="center"> <tr> <td height="95"><table width="454" height="89" align="center"> <tr> <th width="71" height="34" scope="row"> </th> <td width="128"><div align="left"><span class="projectboldtxt style13">Select Division</span></div> <label></label></td> <td width="132"><select class="form-control" name="cmbdivision" id="cmbdivision" onchange=""> <?php for($j=1;$j<=$i;$j++) {?> <option value="<?php echo $j; ?>"><?php echo $u_name_array[$j]; ?></option> <?php } ?> </select></td> <td><a href="adminhome.PHP" class="projectboldtxt style14">Back</a></td> </tr> <tr> <th height="47" scope="row"> </th> <td colspan="2"><label> <input class="btn btn-success" type="submit" name="last_quantiti_stockbtn" id="last_quantiti_stockbtn" value="Last_Physical_Quantity_in_Stock" /> </label></td> <td width="153"><label> <input class="btn btn-success" type="submit" name="salaryvoucherbtn" id="salaryvoucherbtn" value="Salary Voucher Report" /> </label></td> </tr> </table></td> </tr> </table> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </form> <p> </div> <?php include "include/footer.php";?> </p> </body> </html> <?php if (isset($_POST['summarybtn'])) { $division_index=$_POST['cmbdivision']; $division_value=$u_name_array[$division_index]; @$_SESSION['division_d']=$division_value; $url=$server_ip."/ADMIN/summary_division.php?pcode=".$division_value; echo "<script>window.location='$url'</script>"; } if(isset($_POST['last_quantiti_stockbtn'])) { $division_index=$_POST['cmbdivision']; $division_value=$u_name_array[$division_index]; @$_SESSION['division_d']=$division_value; $url=$server_ip."/ADMIN/lastphysicalquantity.php?pcode=".$division_value; echo "<script>window.location='$url'</script>"; } if(isset($_POST['salaryvoucherbtn'])) { $division_index=$_POST['cmbdivision']; $division_value=$u_name_array[$division_index]; @$_SESSION['division_d']=$division_value; $url=$server_ip."/ADMIN/salaryvoucher_report.php?pcode=".$division_value; echo "<script>window.location='$url'</script>"; } ?>