0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: daybook.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>daybook|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"> <!-- #apDiv1 { position:absolute; width:378px; height:368px; z-index:1; left: 348px; top: 318px; } .style6 {font-size: 16px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/first_userheader.php"); require_once "daybook_ctrl.php"; // include("daybook_ctrl.php"); @$_SESSION['sl_no']=0; ?></p> <p> </p> <p> </p> <p align="center" class="projectboldtxt style6">Daybook</p> <form action="daybook_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="483" height="205" align="center" bgcolor="#F7E7BD"> <tr> <th width="112" class="projectboldtxt" scope="row"><div align="left" class="">Project Code</div></th> <td width="359"><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="checkcompletedays" type="checkbox" id="checkcompletedays" value="fullday" /> </label></td> </tr> <tr> <th height="42" class="projectboldtxt" scope="row"><div align="left" class="">From date</div></th> <td><label></label> <table width="359" border="0"> <tr> <td width="40"><select 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></td> <td width="40"><select 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></td> <td width="30"><input name="txtdayfromyy" type="text" id="txtdayfromyy" value="<?php if($fromdate_yy!="") echo $fromdate_yy;?>" size="5" maxlength="4" /></td> <td width="231"><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="37" class="projectboldtxt" scope="row"><div align="left" class="">To date</div></th> <td><label></label> <table width="355" border="0"> <tr> <td width="40"><select 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></td> <td width="40"><select 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></td> <td width="30"><input name="txtdaytoyy" type="text" id="txtdaytoyy" value="<?php if($todate_yy!="") echo $todate_yy;?>" size="5" maxlength="4" /></td> <td width="227"><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> </table></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> <p> </p> <p> </p> </form> <?php include "include/footer.php"; ?> </p> </body> </html>