Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ home/ bdapparelinfo/ www/ |
|
<?php /** * @link: http://www.Awcore.com/dev */ //connect to the database //include('paginator.class.php'); include_once ('config.php'); $i=1; $us=$_POST['key']; $sql="select * from add_list where active='1' and cat_name LIKE '%$us%' or company_name LIKE '%$us%' or company_name LIKE '%$us' or company_name LIKE '$us%' or dob LIKE '%$us%' or des LIKE '%$us%' or des LIKE '%$us' or des LIKE '$us%'"; $ssql = mysql_query($sql); $check = mysql_num_rows($ssql); $error = 0; ?> <!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>Garments Machinery, Textile Machinery, Sewing Machine, Garments Industry, Textiles Mills, Garments Accessories, Yellow Pages of Bangladesh</title> <meta name="keywords" content="Bdtrade" /> <meta name="description" content="Bdtrade" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <!--================pasignation===================--> <link href="pasignation/pagination.css" rel="stylesheet" type="text/css" /> <link href="pasignation/B_blue.css" rel="stylesheet" type="text/css" /> <!--================end link pasignation===================--> <!--slid bar --> <link href="slidbar/styles.css" rel="stylesheet" type="text/css"> <!--[if IE]> <![endif]--> <script type="text/javascript" src="slidbar/jquery.js"></script> <script type="text/javascript" src="slidbar/css_preview.js"></script> </head> <body> <?php //include 'top.php';?> <?php include 'header.php';?> <div id="main"><table><tr><td valign="top"> <?php include 'left_menu.php';?></td> <td valign="top"><div id="content"> <div class="conL" style="width:760px;"> <h5> Search Result <b><?php echo "$us"; ?></b> Total <b><?php echo "$check"; ?></b> Items Found! </h5> <table width="99%" align="center" cellpadding="2" cellspacing="0" style="border: solid 0px #064f99; vertical-align:middle"> <?php while($row=mysql_fetch_array($ssql)) {$id =$row['id']; $Image_Name =$row['image_name']; $Cat_Name =$row['cat_name']; $Company_Name =$row['company_name']; $Date =$row['dob']; $Des =$row['des']; if($i%2!=0) { ?><tr bgcolor="#ccdef2" > <?php } ?> <td align="center"> <table border="0" width="100%" id="add_box"> <tbody> <tr> <td width="23%" height="26" bgcolor="#FAD3D3"><?=$i++;?><div align="right"><strong>Title </strong></div></td> <td bgcolor="#FAD3D3" colspan="2"> <strong><?=$row[3];?></strong> </td> </tr> <?php if(!empty($row[7])){?> <tr> <td><div align="right"><strong>Address </strong></div></td> <td width="48%"> <?=$row[7];?> </td> <td width="20%" rowspan="5" align="center"> <a href="company_info.php?sq=<?=$row[5];?>" class="preview" path="<?=$bjmea_admin;?>/upload/<?=$row[1];?>" iid="css_<?=$row[5];?>"> <img src="<?=$bjmea_admin;?>/upload/<?=$row[1];?>" alt="<?=$row[1];?> image" width="75"></a> </td> </tr> <?php } if(!empty($row[8])){?> <tr> <td><div align="right"><strong>City </strong></div></td> <td> <?=$row[8];?> </td> </tr> <?php } if(!empty($row[9])){?> <tr> <td><div align="right"><strong>Country </strong></div></td> <td> <?=$row[9];?> </td> </tr> <?php } if(!empty($row[10])){?> <tr> <td><div align="right"><strong>Tel </strong></div></td> <td> <?=$row[10];?> </td> </tr> <?php } if(!empty($row[12])){?> <tr> <td><div align="right"><strong>Website </strong></div></td> <td> <?=$row[12];?> </td> </tr> <?php } if(!empty($row[3])){?> <tr> <td valign="top"><div align="right"><strong>Details </strong></div></td> <td colspan="2"> <?=$row[3];?> </td> </tr> <?php } if(!empty($row[5])){?> <tr> <td align="right"><a href=" "><img src="images/icon_email2.jpg" height="16" width="26" /></a></td> <td bgcolor="#E6E6E6" colspan="2" valign="top"><a href="send_inquery.php?id=<?=$row[0];?>"title="click here for Email"><strong>Send Email / Query</strong></a> <!--<a href="sub_index.php?sq=<? //=$row[5];?>" target="_blank" title="click here for details"> <a href="company_info.php?sq=<?=$row[0];?>" target="_blank" title="click here for details"> <img src="images/edit_address.gif" height="16" align="absmiddle" width="17" /><strong>Details</strong></a> --> </td> </tr> <?php } ?> </tbody> </table> </td> </tr> <?php } // } ?> <tr> <td align="center"><div class="pagination" align="center"><?php //$pagination?></div></td> </tr> </table> </div> <!--end conL--> <?php //include 'right.php';?> </div> <!--end content--></td></tr></table> </div> <!--end main--> <?php include 'footer.php';?>