| Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/beirlaser/ |
| Current File : /home/zqegovsj/www/us3web.haibo.com.cn/beirlaser/search2.php |
<?php
include("function.php");
$productkey=$db->selectone("select name,name2,name3 from ".$noe_version."_keywords where member_id=".$id." and name3='".$_GET['searchkey']."' ");
$products=$db->selectarray("SELECT DISTINCT p.id,p.name,p.sn,p.picture,p.name2,p.price FROM ".$noe_version."_products as p left join ".$noe_version."_keywords as k on p.id=k.product_id WHERE p.member_id=".$id." and (p.name2 LIKE '%".$productkey[1]."%' or k.name2 LIKE '%".$productkey[1]."%') LIMIT 0,30");
$aa="product.html";
$aaa="Product";
$bb=$_GET['searchkey'].'_manufacturer.html';
$bbb=$productkey[0];
$purl=$bb;
$feedbacktit=$bbb;
$pagekeyword=$productkey[0].', '.$lang['words'][1];
$pagekeyword2=$pagekeyword;
$pagekeyword3=$productkey[0].' '.$lang['words'][159].', '.$lang['words'][194].', '.$lang['words'][193].', '.$lang['words'][191].' '.$productkey[0].' '.$lang['words'][155].', '.$lang['words'][156].', '.$lang['words'][157];
include("head.php");
?><div class="shell section-bottom-60">
<div class="range">
<div class="cell-md-8 text-xs-left">
<h1 class="p-b-20 text-italic"><?=$productkey[0]?></h1>
<div class="range offset-top-10">
<? $i=1; while(@$a=mysqli_fetch_row($products)){
?>
<div class="cell-md-4 cell-sm-6 cell-xs-6">
<div class="product reveal-inline-block">
<div class="product-media box__ins2"><a href="/<?=$db->turn_name($a[4])?>_product<?=$a[0]?>.html" title="<?=$a[1]?>"><img src="https://<?=$imgprod?>/upload/middle/<?=$a[3]?>" alt="<?=$a[1]?>" class="img-responsive"></a>
</div>
<div class="offset-top-10">
<p class="big"><?=$a[2]?></p>
<h3><a href="/<?=$db->turn_name($a[4])?>_product<?=$a[0]?>.html" title="<?=$a[1]?>" class="text-base font-16px"><?=$a[1]?></a></h3>
</div>
</div>
</div>
<? $i++;?>
<? }?>
</div>
</div>
<? include("a_right.php");?>
</div>
</div>
<? include("foot.php");?>