0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: salary voucher.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>Salary voucher |online project financial management system for CWRDM</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:64px; height:37px; z-index:1; left: 851px; top: 313px; } #apDiv2 { position:absolute; width:556px; height:347px; z-index:2; left: 82px; top: 12px; } .style4 {color: #660000} .style5 { font-size: 16px } .style8 { font-size: 14; color: #853008; } .style9 {font-size: 14px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php require_once "salaryvoucher_ctrl.php"; include("include/first_userheader.php"); ?> </p> <p><span class="msgText"> <?php if (isset($message)) echo $message;?> </span> </p> </p> <p> </p> <p> </p> <p align="center" class="projectboldtxt style5">Salary Details Entry</p> <form action="salaryvoucher_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p> </p> <table width="507" align="center"> <tr> <th width="137" class="projectboldtxt" scope="row"><div align="left">Salary Voucher no:</div></th> <td width="230"><label> <input type="text" name="txtvoucher" id="txtvoucher" value="<?php if ($voucher!="") { echo $voucher; } ?>" /> </label></td> <td width="124"> <span class="valText"><?php if(isset($error['Voucher_number'])) { echo $error['Voucher_number']; } ?></span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Employee name</div></th> <td><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> </td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Date</div></th> <td><label> <select name="cmbsalarydd" id="cmbsalarydd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$sdate_dd==$i) { echo "selected='selected'"; } ?> ><?php echo $i ?></option> <?php } ?> </select> </label> <label> <select name="cmbsalarymm" id="cmbsalarymm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$sdate_mm==$i) { echo "selected='selected'"; } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select> </label> <label> <input name="txtsalaryyy" type="text" id="txtsalaryyy" size="2" value="<?php if($sdate_yy!="") echo $sdate_yy;?>" /> </label></td> <td><span class="valText"> <?php if(isset($error['salarydate_numeric'])) { echo $error['salarydate_numeric']; } if(isset($error['sdate_yy'])) { echo $error['sdate_yy']; } ?> </span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Salary Paid</div></th> <td><label> <input name="txtsalarypaid" type="text" id="txtsalarypaid" value="<?php if ($salarypaid!="")echo $salarypaid;?>" size="28" /> </label></td> <td><span class="valText"> <?php if(isset($error['salarypaid'])) { echo $error['salarypaid']; } else if(isset($error['salarypaid_numeric'])) { echo $error['salarypaid_numeric']; } ?> </span></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left">Description</div></th> <td><label> <textarea name="txtsalarydes" id="txtsalarydes" cols="22" rows="5"><?php if ($salarydesc!="") { echo $salarydesc; } ?></textarea> </label></td> <td><span class="valText"> <?php if(isset($error['salarydesc'])) { echo $error['salarydesc']; } ?> </span></td> </tr> <tr> <th scope="row"> </th> <td><label> <input type="submit" name="save" id="save" value="SAVE" /> <label class="projectboldtxt style8"><a href="search_salary.php">Search & Edit</a></label> </td> <td><a href="task.php" class="projectboldtxt style9">Back</a></td> </tr> </table> </form> <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>