0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: leave_multiple_day_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} .style4 { font-size: 16 } .style5 {font-size: 14px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php require_once "leave_multiple_day_entry_ctrl.php"; include("include/first_userheader.php"); ?> </p> <p> </p> <p> </p> <p class="msgText"> <?php if (isset($message)) echo $message;?> </p> <p class="msgText"> </p> <p class="msgText"> </p> <form action="leave_multiple_day_entry.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p align="center" class="projectboldtxt style1"> Leave Entry Form</p> <table width="468" align="center"> <tr> <td width="105" class="projectboldtxt"><div align="left">Employee Name</div></td> <td width="171"><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="176"> </td> </tr> <tr> <td height="27" class="projectboldtxt"><div align="left">Leave Type</div></td> <td><label> <select name="cmbleavetype" id="cmbleavetype"> <option>LWOS</option> </select> </label></td> <td> </td> </tr> <tr> <td height="34" class="projectboldtxt"> </td> <td class="projectboldtxt"><label class="projectboldtxt"> Date of Leave </label></td> <td> </td> </tr> <tr> <td height="36" class="projectboldtxt"><div align="left">Starting date</div></td> <td><label> <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> <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> <input name="txtfromyy" type="text" id="txtfromyy" value="<?php if($fromdate_yy!="") echo $fromdate_yy;?>" size="2" maxlength="4" /> </label></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="21" class="projectboldtxt"><div align="left">Ending date</div></td> <td><select name="cmbtodd" id="cmbtodd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$todate_dd==$i) { echo "selected='selected'"; } ?> ><?php echo $i ?></option> <?php } ?> </select> <select name="cmbtomm" id="cmbtomm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$todate_mm==$i) { echo "selected='selected'"; } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select> <input name="txttoyy" type="text" id="txttoyy" value="<?php if($todate_yy!="") echo $todate_yy;?>" size="2" maxlength="4" /></td> <td> <span class="valText"><?php if(isset($error['year_to_null'])) { echo $error['year_to_null']; } else if(isset($error['yearto_numeric'])) { echo $error['yearto_numeric']; } ?></span></td> </tr> <tr> <td height="47" class="projectboldtxt"><div align="left">Leve Count</div></td> <td><div align="center" class="projectboldtxt"> <div align="left">Half Day <label> <input type="radio" name="radio" id="radio" value="halfday" /> </label> Full Day <label> <input type="radio" name="radio" id="radio2" value="fullday" /> </label> </div> </div></td> <td> </td> </tr> <tr> <td height="47" class="projectboldtxt">Description</td> <td><label> <textarea name="txtdesc" id="txtdesc" cols="25" rows="5"><?php if($description!="") { echo $description; } ?> </textarea> </label></td> <td> </td> </tr> <tr> <td class="projectboldtxt"><div align="right"></div></td> <td><label> <label> <input type="submit" name="savebtn" id="savebtn" value="Submit" /> <a href="search_leave_entry.php" class="projectboldtxt style4">Search & Edit</a></label> <div align="left"></div> </label></td> <td><a href="leave_entry.php" class="projectboldtxt style5">Back</a></td> </tr> </table> </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>