0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: leave_credit.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 Credit 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: 14px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php require_once "leave_credit_ctrl.php"; include("include/first_userheader.php"); ?> </p> <p> </p> <p> </p> <span class="msgText"><?php if (isset($message)) echo $message;?></span> <form action="leave_credit.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p align="center" class="projectboldtxt style1">Leave Credit Entry Form</p> <table width="200" height="149" border="1" align="center"> <tr> <td><table width="460" align="center"> <tr> <td width="97" class="projectboldtxt">Employee Name</td> <td width="186"><label> <select name="cmbempname" id="cmbempname"> <?php for($j=1;$j<=$i;$j++) {?> <option value="<?php echo $j; ?>"><?php echo $emp_name_array[$j]; ?></option> <?php } ?> </select> </label></td> <td width="161"> </td> </tr> <tr> <td height="27" class="projectboldtxt">Leave credit</td> <td><label> <input name="txtcredit" type="text" id="txtcredit" value="<?php if ($leavecredit!="") { echo $leavecredit; } ?>" size="2"/> </label></td> <td><span class="valText"> <?php if(isset($error['leave'])) { echo $error['leave']; } else if(isset($error['amount_numeric'])) { echo $error['amount_numeric']; } ?> </span></td> </tr> <tr> <td height="34" class="projectboldtxt">Year</td> <td class="projectboldtxt"><label> <input name="txtyear" type="text" id="txtyear" size="2" maxlength="4" value="<?php if ($year!="") { echo $year; } ?>" /> </label> <label class="projectboldtxt"></label></td> <td><span class="projectboldtxt"><span class="valText"> <?php if(isset($error['date_yy'])) { echo $error['date_yy']; } else if(isset($error['year_numeric'])) { echo $error['year_numeric']; } // else if(isset($error['details_exist'])) // { // echo $error['details_exist']; // } ?> </span></span></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_credit.php" class="projectboldtxt">Search & Edit</a></label> <a href="leavemanagement.php" class="projectboldtxt style4">Back</a> <div align="left"></div> </label></td> <td></td> </tr> </table></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>