0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: delete_file.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>delete file |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:286px; height:92px; z-index:1; left: 253px; top: 241px; } .style1 { font-size: 14px } #apDiv2 { position:absolute; width:66px; height:42px; z-index:1; left: 754px; top: 328px; } --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/first_userheader.php"); include("delete_file_ctrl.php"); @$_SESSION['sl_no']=0; ?> </p> <p> </p> <p> </p> <form action="delete_file.php" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p><span class="msgText"><?php if(isset($_GET['message'])) { ?><blink> <?php echo $_GET['message']; ?></blink><?php } ?></span></p> <p> </p> <table width="423" height="32" align="center" bordercolor="#990000"> <tr> <th width="117" height="26" bordercolor="#990000" class="projectboldtxt style1" scope="row">File Name</th> <td width="159" bordercolor="#33FFFF"><input type="text" name="txtfilename" id="txtfilename" /></td> <td width="56" bordercolor="#33FFFF"><input type="submit" name="Search" id="Search" value="Search" /></td> <td width="32" bordercolor="#000000"><label></label> <label><a href="#" onclick="window.print()"><strong>Print</strong></a></label></td> <td width="35" bordercolor="#000000"><a href="fileshelf.php" class="projectboldtxt style2">Back</a></td> </tr> </table> <a href="delete_file.php"></a> <?php if(isset($_POST['Search'])) { $file_name=@$_POST['txtfilename']; //$u_name=@$_SESSION['username']; $p_id=@$_SESSION['project_id']; $u_id=@$_SESSION['user_id']; /*$sql="select user_id from user where user_name='$u_name'"; $sql=mysql_query($sql); while($row=mysql_fetch_array($sql)) { $filedb_id = $row['user_id']; }*/ $sql1="select * from fileshelf where user_id='$u_id' and project_id='$p_id' and filename LIKE '%$file_name%' ORDER BY filename"; FileSearch::printFileDetails($sql1); } ?> </form> <?php include "include/footer.php"; ?> </p> </body> </html>