0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
ADMIN
/
[
Home
]
File: ledger.php
<?php $MAIN_HEADING = "Ledger"; ?> <?php include("include/adminheader.php"); require_once "ledger_ctrl.php"; // include("ledger_ctrl.php"); @$_SESSION['sl_no']=0;?> <script src="../gentelella-1.3.0/vendors/iCheck/icheck.min.js"></script> <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"> <input class="flat" type="text" name="txtprojectcode" id="txtprojectcode" value="<?php $p_code=@$_GET['pcode'];?><?php echo $p_code; ?>" readonly="readonly"/> </td> </tr> <tr><td><br/></td></tr> <tr> <th class="projectboldtxt" scope="row"><div align="left" class="">Complete Days</div></th> <td> <input name="checkcompleteday" type="checkbox" id="checkcompleteday" value="fullday" /> </td> </tr> <tr><td><br/></td></tr> <tr> <th height="38" class="projectboldtxt" scope="row"><div align="left" class="">From date</div></th> <td> <select class="form-control" 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 class="form-control" 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 class="form-control" name="txtLfromyy" type="text" id="txtLfromyy" value="<?php if(isset($fromdate_yy) && $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> </td> </tr> <tr><td><br/></td></tr> <tr> <th height="34" class="projectboldtxt" scope="row"><div align="left" class="">To date</div></th> <td> <select class="form-control" 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 class="form-control" 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 class="form-control" name="txtLtoyy" type="text" id="txtLtoyy" value="<?php if(isset($fromdate_yy) && $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> </td> </tr> <tr><td><br/></td></tr> <tr> <th class="projectboldtxt" scope="row"><div align="left" class="">Account name</div></th> <td> <select class="form-control" 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> </td> </tr> <tr><td><br/></td></tr> <tr> <th height="26" scope="row"> </th> <td> <input class="btn btn-success" type="submit" name="show" id="show" value="SHOW" /> </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>