0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
ADMIN
/
[
Home
]
File: fund.php
<?php $MAIN_HEADING = "Fund Summary - PI wise"; ?> <?php include("include/adminheader.php"); require_once "fund_ctrl.php"; // include("ledger_ctrl.php"); @$_SESSION['sl_no']=0;?> <script type="text/javascript"> function finYearSecond(str) { var xmlhttp; if (str.length==0) { document.getElementById("ajaxtext").innerHTML='<input class="form-control" name="txtfin2" type="text" id="txtfin2" value="" size="5" maxlength="4" readonly="readonly"/>'; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("ajaxtext").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","../ajax/gefinyear.php?q="+str,true); xmlhttp.send(); } </script> <p> </p> <form action="fund_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="577" height="121" align="center" bgcolor="#F7E7BD"> <tr> <th width="116" height="34" class="projectboldtxt" scope="row"><div align="left" class="">Financial Year</div></th> <td width="160"> <table width="349" border="0"> <tr> <td width="200"><input class="form-control" name="txtfin1" type="text" id="txtfin1" value="<?php if(isset($fin_year_1) && $fin_year_1!="") echo $fin_year_1;?>" size="5" maxlength="4" autocomplete="off" onkeyup="finYearSecond(this.value)" /></td> <td width="2"><strong>-</strong></td> <td width="200"><div id="ajaxtext"><input class="form-control" name="txtfin2" type="text" id="txtfin2" value="<?php if(isset($fin_year_2) && $fin_year_2!="") echo $fin_year_2;?>" size="5" maxlength="4" readonly="readonly"/> </div></td> <td width="259"><span class="valText"> <?php if(isset($error['year_numeric'])) { echo $error['year_numeric']; } ?> </span></td> </tr> </table></td> </tr> <tr> <th height="51" class="projectboldtxt" scope="row"><div align="left" class="">Principle Investigator</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> <th height="26" scope="row"><a href="reports.php"><< Back</a></th> <td> <input class="btn btn-success" type="submit" name="show" id="show" value="SHOW" /> </td> </tr> </table> </form> <p> </div> <?php include "include/footer.php"; ?>