0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: leavetaken_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>leave taken report| OFMSP</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"> <!-- .style1 { font-size: 16px } .style2 {font-size: 14px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/userheader.php"); require_once "leavetaken_report_ctrl.php"; @$_SESSION['sl_no']=0;?> </p> <p> </p> <p> </p> <p> </p> <p><span class="msgText"> <?php if (isset($message)) echo $message;?> </span></p> <form action="leavetaken_report_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p align="center" class="projectboldtxt style1">Leave Taken Report</p> <table width="491" height="129" border="1" align="center"> <tr> <td width="481"><table width="437" align="center"> <tr> <td width="98" class="projectboldtxt">Employee Name</td> <td width="327"><label> <select name="cmbempname" id="cmbempname"> <option value="0" selected="selected"><?php echo "All"; ?></option> <?php for($j=1;$j<=$i;$j++) { ?> <option value="<?php echo $j; ?>"<?php if(@$empname==$j) { echo "selected='selected'"; } ?> > <?php echo $emp_name_array[$j]; ?></option> <?php } ?> </select> </label></td> </tr> <tr> <td class="projectboldtxt"> </td> <td>(Date up to which the leave has to be displayed)</td> </tr> <tr> <td class="projectboldtxt">Date</td> <td><label></label> <table width="324" border="0"> <tr> <td width="46"><select name="cmbdd" id="cmbdd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$day==$i) { echo "selected='selected'"; } ?> ><?php echo $i ?></option> <?php } ?> </select></td> <td width="45"><select name="cmbmm" id="cmbmm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$month_var==$i) { echo "selected='selected'"; } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select></td> <td width="17"><input name="txtyear" type="text" id="txtyear" value="<?php if ($year!="") { echo $year; } ?>"size="2" maxlength="4" /></td> <td width="198"><span class="valText"> <?php if(isset($error['year_null'])) { echo $error['year_null']; } else if(isset($error['year_numeric'])) { echo $error['year_numeric']; } ?> </span></td> </tr> </table></td> </tr> <tr> <td class="projectboldtxt">Leave Type</td> <td><label> <select name="cmbleavetype" id="cmbleavetype"> <option value="0" selected="selected"><?php echo "All"; ?></option> <option value="1">CL</option> <option value="2">LWOS</option> </select> </label></td> </tr> <tr> <td class="projectboldtxt"> </td> <td><label> <input type="submit" name="showbtn" id="showbtn" value="Show" /> <a href="leavemanagement.php" class="projectboldtxt style2">Back</a></label></td> </tr> </table></td> </tr> </table> </form> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>