0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: fileshelf.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>File shelf|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"> <!-- .style2 { font-family: Algerian; color: #FFFFFF; } #apDiv1 { position:absolute; width:64px; height:37px; z-index:1; left: 613px; top: 105px; } .style5 { font-weight: bold; color: #660000; font-family: Arial; } --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/first_userheader.php"); require_once "../lib/config.php"; ?> </div> </div> </p><form action="fileshelf_ctrl.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p align="center"> </p> <span class="msgText"><?php if (isset($message)) echo $message;?></span> <table width="236" align="center" background="../images/top.jpg"> <tr> <th scope="row"><span class="none style2">FILE SHELF</span></th> </tr> </table><br /> <table width="393" height="165" align="center" bordercolor="#990000"> <tr> <th width="103" bordercolor="#990000" class="projectboldtxt" scope="row"><div align="left">File Name</div></th> <td width="218"><label> <input type="text" name="txtfilename" id="txtfilename" value="<?php if($filename!="") echo $filename; ?>"/> <span class="valText"> <?php if(isset($error['filename_null'])) { echo $error['filename_null']; } if(isset($error['file_exist'])) { echo $error['file_exist']; } ?></span></label></td> </tr> <tr> <th bordercolor="#990000" class="projectboldtxt" scope="row"><div align="left">Select file</div></th> <td bordercolor="#33FFFF"> <label> <input type="file" name="ffshelf" id="ffshelf" /> <span class="valText"> <?php if(isset($error['fileformat'])) { echo $error['fileformat']; } if(isset($error['file_format'])) { echo $error['file_format']; } ?> </span> </label></td> </tr> <tr> <th bordercolor="#990000" class="projectboldtxt" scope="row"><div align="left">Date</div></th> <td bordercolor="#33FFFF"><label></label> <table width="271" border="0"> <tr> <td width="40"><select name="cmbfiledd" id="cmbfiledd"> <?php for ($i=1; $i<=31; $i++) { ?> <option value="<?php echo $i; ?>" selected="selected"<?php if(@$filedate_dd==$i) { echo "selected='selected'"; } ?> ><?php echo $i ?></option> <?php } ?> </select> </td> <td width="40"><select name="cmbfilemm" id="cmbfilemm"> <?php for($i=1; $i<=12; $i++) { ?> <option value="<?php echo $i; ?>"<?php if(@$filedate_mm==$i) { echo "selected='selected'"; } ?> ><?php echo $month[$i]; ?></option> <?php } ?> </select></td> <td width="31"><input name="txtfileyy" type="text" id="txtfileyy" value="<?php if($filedate_yy!="") echo $filedate_yy; ?>" size="5" maxlength="4"/></td> <td width="139"><span class="valText"> <?php if(isset($error['filedate_yy_null'])) { echo $error['filedate_yy_null']; } else if(isset($error['filedate_numeric'])) { echo $error['filedate_numeric']; } ?> </span></td> </tr> </table></td> </tr> <tr> <th bordercolor="#990000" class="projectboldtxt" scope="row"><div align="left">Description</div></th> <td bordercolor="#CC3300"><label> <textarea name="txtfiledesc" id="txtfiledesc" cols="22" rows="5"><?php if ($filedescription!="") { echo $filedescription; } ?></textarea> <span class="valText"> <?php if(isset($error['filedescription_null'])) { echo $error['filedescription_null']; } ?> </span></label></td> </tr> <tr> <th bordercolor="#990000" scope="row"><div align="left"></div></th> <td bordercolor="#CC3300"><input type="submit" name="button2" id="button2" value="SAVE" /> <a href="../USER/delete_file.php" class="style5">Search & Edit</a></td> </tr> </table> <div id="apDiv1"><a href="task.php"><img src="../images/back_button_up.jpg" alt="" width="61" height="35" /></a></div> <label></label> </form> <p> </p> <p> </p> <p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>