0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS code
/
CPMS
/
ADMIN
/
[
Home
]
File: division_report.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Artificial Casting</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="../style.css" rel="stylesheet" type="text/css" /> <link rel="icon" href="../images/icon.ico" /> <style type="text/css"> <!-- #apDiv1 { position:absolute; width:200px; height:115px; z-index:1; left: 296px; top: 75px; } #apDiv2 { position:absolute; width:274px; height:168px; z-index:1; left: 248px; top: 343px; } .style13 {font-size: 12px} .style14 {font-size: 14px} --> </style> </head> <body> <p> <?php include("include/adminheader.php"); include("division_report_ctrl.php"); ?> </p> <p> </p> <p> </p> <p align="center" class="projectboldtxt style14">Divisionwise Reports</p> <form action="division_report.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="462" height="101" border="1" align="center"> <tr> <td height="95"><table width="454" height="89" align="center"> <tr> <th width="71" height="34" scope="row"> </th> <td width="168"><div align="left"><span class="projectboldtxt style13">Select Division</span></div> <label></label></td> <td width="42"><select 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 type="submit" name="last_quantiti_stockbtn" id="last_quantiti_stockbtn" value="Last_Physical_Quantity_in_Stock" /> </label></td> <td width="153"><label> <input 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>"; } ?>