0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: search_project.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>Index | OFMSP</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-size: 14px } --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/first_userheader.php"); include("search_project_ctrl.php"); @$_SESSION['sl_no']=0; ?></p> <p> </p> <form action="search_project.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> <table width="475" align="center"> <tr> <td width="81" height="45"><span class="projectboldtxt">Project Name</span></td> <td width="148"><label> <input type="text" name="txtproject_code" id="txtproject_code" /> </label></td> <td width="63"><label> <input type="submit" name="search" id="search" value="SEARCH" /> </label></td> <td width="44"><a href="#" class="projectboldtxt style2" onclick="window.print()"><strong>Print</strong></a></td> <td width="115"><div align="center"><a href="create_project.php"><img src="../images/back_button_up.jpg" alt="back" width="61" height="35" /></a></div></td> </tr> </table> <?php if(isset($_POST['search'])) { $Projectcode=@$_POST['txtproject_code']; //$u_name=@$_SESSION['username']; $p_id=@$_SESSION['project_id']; $u_id=@$_SESSION['user_id']; $sql1="select * from addproject where user_id='$u_id' and project_id='$p_id' and project_code LIKE '%$Projectcode%' ORDER BY project_code"; ProjectSearch::printProjectDetails($sql1,$fund_array); } ?> </form> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>