0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
USER
/
[
Home
]
File: search_ledger_description.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 ledger| 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"> <!-- .style3 {font-size: 16px} --> </style> </head> <body> <p> <!--<div id="headerbg"> <div id="headerblank">--> <?php include("include/userheader.php"); include("search_ledger_description_ctrl.php"); @$_SESSION['sl_no']=0; ?> </p> <p> </p> <p> </p> <p align="center" class="projectboldtxt style3">Enter Description </p> <form action="search_ledger_description.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="343" align="center"> <tr> <td width="36"><img src="../images/xmag.png" alt="search" width="30" height="30" /></td> <td width="144"><label> <input type="text" name="txtsearch" id="txtsearch" /> </label></td> <td width="68"><label> <input type="submit" name="search" id="search" value="SEARCH" /> </label></td> <td width="202"><div align="center"><a href="#" onclick="window.print()"></a><a href="#" onclick="window.print()"><strong><img src="../images/print_icon.gif" alt="print" width="53" height="44" /></strong></a></div></td> </tr> </table> <?php if(isset($_POST['search'])) { $description=@$_POST['txtsearch']; $u_id=@$_SESSION['user_id']; $sql1="select * from ledger where user_id='$u_id' and description LIKE '%$description%' ORDER BY description"; userSearch::printLedgerDetails($sql1); } ?> </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>