0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS
/
ADMIN
/
[
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/adminheader.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="365" height="216" align="center" bgcolor="#F7E7BD"> <tr> <th width="116" class="projectboldtxt" scope="row"><div align="left" class="">Project Code</div></th> <td width="160"><label> <input type="text" name="txtprojectcode" id="txtprojectcode" value="<?php $p_code=@$_GET['pcode'];?><?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> <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> <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> <input name="txtLfromyy" type="text" id="txtLfromyy" value="<?php if($fromdate_yy!="") echo $fromdate_yy;?>" size="5" maxlength="4" /> <span class="valText"> <?php if(isset($error['fdate_yy'])) { echo $error['fdate_yy']; } if(isset($error['fdate_numeric'])) { echo $error['fdate_numeric']; } ?> </span> </label></td> </tr> <tr> <th height="34" class="projectboldtxt" scope="row"><div align="left" class="">To date</div></th> <td><label> <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> <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> <input name="txtLtoyy" type="text" id="txtLtoyy" value="<?php if($fromdate_yy!="") echo $fromdate_yy;?>" size="5" maxlength="4" /> <span class="valText"> <?php if(isset($error['fdate_yy'])) { echo $error['fdate_yy']; } if(isset($error['fdate_numeric'])) { echo $error['fdate_numeric']; } ?> </span> </label></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<=$i;$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" /> </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>