0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: leave_entry.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 Entry Form| 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: 18px} .style2 {font-size: 18} .style3 {font-size: 14px} .style4 {font-size: 12px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php require_once "leave_entry_ctrl.php"; include("include/userheader.php"); ?> </p> <p> </p> <p> </p> <span class="msgText"><?php if (isset($message)) echo $message;?></span> <form action="leave_entry.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p align="center" class="projectboldtxt style1"> Leave Entry Form</p> <table width="511" height="251" border="1" align="center"> <tr> <td width="614"><table width="503" align="center"> <tr> <td width="145" class="projectboldtxt">Employee Name</td> <td width="201"><label><select name="cmbemp_name" id="cmbemp_name"><?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> <td width="141"> </td> </tr> <tr> <td height="27" class="projectboldtxt">Leave Type</td> <td><label> <select name="cmbleavetype" id="cmbleavetype"> <option></option> <option>CL </option> <option>LWOS</option> </select> </label></td> <td><span class="valText"> <?php if(isset($error['leavetype_null'])) { echo $error['leavetype_null']; } ?> </span></td> </tr> <tr> <td height="36" class="projectboldtxt"><div align="left">Date of Leave </div></td> <td><label></label> <table width="200" border="0"> <tr> <td><select name="cmbfromdd" id="cmbfromdd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$fromdate_dd==$i) { echo "selected='selected'"; } ?> ><?php echo $i ?></option> <?php } ?> </select> </td> <td><select name="cmbfrommm" id="cmbfrommm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$fromdate_mm==$i) { echo "selected='selected'"; } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select> </td> <td><input name="txtfromyy" type="text" id="txtfromyy" value="<?php if($fromdate_yy!="") echo $fromdate_yy;?>" size="2" maxlength="4" /></td> </tr> </table></td> <td><span class="valText"> <?php if(isset($error['year_from_null'])) { echo $error['year_from_null']; } else if(isset($error['yearfrom_numeric'])) { echo $error['yearfrom_numeric']; } ?> </span></td> </tr> <tr> <td height="47" class="projectboldtxt">Leve Count</td> <td><div align="center" class="projectboldtxt"> <div align="left"> <label></label> <table width="200" border="0"> <tr> <td width="96"><input type="radio" name="radio" id="radio" value="radiohaflfday" /> Half Day</td> <td width="94"><input type="radio" name="radio" id="radiyfullday" value="radiyofullday" /> Full Day <label></label></td> </tr> </table> </div> </div></td> <td><span class="valText"> <?php if(isset($error['leavecount_null'])) { echo $error['leavecount_null']; } ?> </span></td> </tr> <tr> <td height="47" class="projectboldtxt">Description</td> <td><label><textarea name="txtdescription" id="txtdescription" cols="20" rows="3"><?php if($description!="") echo $description;?></textarea> </label></td> <td> </td> </tr> <tr> <td height="26" class="projectboldtxt"><div align="right"><a href="leavemanagement.php" class="projectboldtxt">Back</a></div></td> <td><label> <label> <input type="submit" name="savebtn" id="savebtn" value="Submit" /> <span class="midboldtxt"><a href="search_leave_entry.php" class="projectboldtxt style2">Search & Edit </a></span></label> <div align="left"></div> </label></td> <td><a href="leave_multiple_day_entry.php" class="projectboldtxt style4">Leave For Multipledays</a></td> </tr> </table></td> </tr> </table> <p> </p> </form> <p align="center" class="projectboldtxt style1"> </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>