0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
ADMIN
/
[
Home
]
File: daybook.php
<?php $MAIN_HEADING = "Daybook"; ?> <?php @session_start(); require_once "daybook_ctrl.php"; include("include/adminheader.php"); @$_SESSION['sl_no']=0; ?></p> <form action="daybook_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <br /> <table width="389" height="151" align="center" bgcolor="#F7E7BD"> <tr> <th width="110" height="34" class="projectboldtxt" scope="row"><div align="left" class="">Complete Days</div></th> <td width="179"> <input class="flat" name="checkcompletedays" type="checkbox" id="checkcompletedays" value="fullday" /> </td> </tr> <tr> <th height="42" class="projectboldtxt" scope="row"><div align="left" class="">From date</div></th> <td> <select class="form-control" name="cmbdayfromdd" id="cmbdayfromdd"> <?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="cmbdayfrommm" id="cmbdayfrommm"> <?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="txtdayfromyy" type="text" id="txtdayfromyy" 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="37" class="projectboldtxt" scope="row"><div align="left" class="">To date</div></th> <td> <select class="form-control" name="cmbdaytodd" id="cmbdaytodd"> <?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="cmbdaytomm" id="cmbdaytomm"> <?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="txtdaytoyy" type="text" id="txtdaytoyy" value="<?php if(isset($todate_yy) && $todate_yy!="") echo $todate_yy;?>" size="5" maxlength="4" /> <span class="valText"> <?php if(isset($error['todate_yy'])) { echo $error['todate_yy']; } else if(isset($error['todate_numeric'])) { echo $error['todate_numeric']; } ?> </span> </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" /> <a href="reports.php">Back</a></td> </tr> </table> </form> <?php include "include/footer.php"; ?> </p> </body> </html>