0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: search_stockusage_entry.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>Search item | 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/userheader.php"); include("search_stockusage_entry_ctrl.php"); @$_SESSION['sl_no']=0; ?> </p> <p> </p> <p> </p> <p> </p> <form action="search_stockusage_entry.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="429" align="center"> <tr> <td width="99"><div align="center"><span class="projectboldtxt">Item name</span></div></td> <td width="144"><label> <input type="text" name="txtitemname" id="txtitemname" /> </label></td> <td width="63"><label> <input type="submit" name="search" id="search" value="SEARCH" /></label></td> <td width="50"><div align="center" ><a href="#" class="projectboldtxt" onclick="window.print()">Print</a></div></td> <td width="51" class="projectboldtxt style2"><a href="stockusage_entry.php" class="projectboldtxt style2">Back</a></td> </tr> </table> <p> </p> <p> <?php if(isset($_POST['search'])) { $itemname=@$_POST['txtitemname']; //$p_id=@$_SESSION['project_id']; $u_id=@$_SESSION['user_id']; $sql1="select * from stockusage_entry where user_id='$u_id' and item_name LIKE '%$itemname%' and date ORDER BY date DESC"; SearchStockusageentry::printStockusageentryDetails($sql1); } ?> </p> </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> </p> <p> </div> <?php include "include/footer.php"; ?> </p> </body> </html>