0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: ledger.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>Ledger |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"> <!-- .style6 {font-size: 16px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/first_userheader.php"); require_once "ledger_ctrl.php"; // include("ledger_ctrl.php"); @$_SESSION['sl_no']=0;?> </div> </div> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p align="center" class="projectboldtxt style6">Ledger</p> <form action="ledger_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="537" height="216" align="center" bgcolor="#F7E7BD"> <tr> <th width="148" class="projectboldtxt" scope="row"><div align="left" class="">Project Code</div></th> <td width="377"><label> <input type="text" name="txtprojectcode" id="txtprojectcode" value="<?php $p_code=@$_SESSION['project_code_s'];?><?php echo $p_code; ?>" readonly="readonly"/> </label></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left" class="">Complete Days</div></th> <td><label> <input name="checkcompleteday" type="checkbox" id="checkcompleteday" value="fullday" /> </label></td> </tr> <tr> <th height="38" class="projectboldtxt" scope="row"><div align="left" class="">From date</div></th> <td><label></label> <table width="363" border="0"> <tr> <td width="39"><select name="cmbLfromdd" class="moreproject" id="cmbLfromdd"> <?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 width="40"><select name="cmbLformmm" id="cmbLformmm"> <?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 width="30"><input name="txtLfromyy" type="text" id="txtLfromyy" value="<?php if($fromdate_yy!="") echo $fromdate_yy;?>" size="5" maxlength="4" /></td> <td width="236"><span class="valText"> <?php if(isset($error['fdate_yy'])) { echo $error['fdate_yy']; } if(isset($error['fdate_numeric'])) { echo $error['fdate_numeric']; } ?> </span></td> </tr> </table></td> </tr> <tr> <th height="34" class="projectboldtxt" scope="row"><div align="left" class="">To date</div></th> <td><label></label> <table width="374" border="0"> <tr> <td width="39"><select name="cmbLtodd" class="moreproject" id="cmbLtodd"> <?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></td> <td width="40"><select name="cmbLtomm" id="cmbLtomm"> <?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></td> <td width="30"><input name="txtLtoyy" type="text" id="txtLtoyy" value="<?php if($fromdate_yy!="") echo $fromdate_yy;?>" size="5" maxlength="4" /></td> <td width="247"><span class="valText"> <?php if(isset($error['fdate_yy'])) { echo $error['fdate_yy']; } if(isset($error['fdate_numeric'])) { echo $error['fdate_numeric']; } ?> </span></td> </tr> </table></td> </tr> <tr> <th class="projectboldtxt" scope="row"><div align="left" class="">Account name</div></th> <td><label> <select name="cmbaccname" id="cmbaccname"><?php for($j=1;$j<=$ac_name_count;$j++) {?> <option value="<?php echo $j; ?>"><?php echo $acc_name_array[$j]; ?></option><?php }?> </select> </label></td> </tr> <tr> <th height="26" scope="row"> </th> <td><label> <input type="submit" name="show" id="show" value="SHOW" /> <a href="task.php" class="projectboldtxt style2">Back</a></label></td> </tr> </table> </form> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>