Your IP : 216.73.216.34


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/biguo/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/biguo/product_index.php

<?php include("function.php");
$imgs=$db->selectarray("select img,title from ".$noe_version."_img where member_id=".$id." and product_id='".$_GET['pid']."'");
$imgs=$db->toarray($imgs);

$imgsnum = $db->selectone("select count(id) from ".$noe_version."_img where product_id=".$_GET['pid']);

$product = $db->selectone("select id,name,sn,content,picture,producttype_id,more,name2,price,now_price,member_price,member2_price from ".$noe_version."_products where member_id=".$id." and id= '".$_GET['pid']."'");

$product[3]= stripslashes($product[3]);

$product[3]=html_entity_decode($product[3]);
$product[6]=str_replace('&lt;','<',str_replace('&gt;','>',str_replace('&quot;','"',$product[6])));
$product[6]= stripslashes($product[6]);
$product[6]=html_entity_decode($product[6]);
$product[6]=html_entity_decode($product[6]);


$ptype=$db->selectone("select id,name,level,img,name2 from ".$noe_version."_producttypes where id='".$product[5]."'");

$aa='product.html';
$aaa=$lang['words'][72];


if($ptype[2]==0){
$bb=$db->turn_name($ptype[4]).'_supply'.$ptype[0].'.html';
$bbb=$ptype[1];	
}

else{
$cc=$db->turn_name($ptype[4]).'_supply'.$ptype[0].'.html';
$ccc=$ptype[1];

$puptybe=$db->selectone("select id,name,img,name2,level from ".$noe_version."_producttypes where id='".$ptype[2]."'");

$bb=$db->turn_name($puptybe[3]).'_supply'.$puptybe[0].'.html';
$bbb=$puptybe[1];	

if($puptybe[4]!=0){
$ptoptybe=$db->selectone("select id,name,img,name2,level from ".$noe_version."_producttypes where id='".$puptybe[4]."'");

	if(isset($ccc)){$ddd=$ccc;
	$dd=$cc;};
	if(isset($bbb)){$ccc=$bbb;
	$cc=$bb;};
	$bb=$db->turn_name($ptoptybe[3]).'_supply'.$ptoptybe[0].'.html';
	$bbb=$ptoptybe[1];
}
}
$purl=$db->turn_name($product[7]).'_product'.$product[0].'.html';

$keytit=$product[1];
$feedbacktit=$product[2].' - '.$product[1];

$pagekeyword=$keytit.', '.$lang['words'][1];
$pagekeyword2=$pagekeyword;
$pagekeyword3=$keytit.' '.$lang['words'][159].', '.$lang['words'][194].', '.$lang['words'][193].', '.$lang['words'][191].' '.$keytit.' '.$lang['words'][155].', '.$lang['words'][156].', '.$lang['words'][157];

include("head.php");
?><section class="content">

<h2 class="p-b-20 font-bold"><span><? if(isset($ccc))echo $ccc;elseif(isset($bbb))echo $bbb;else{?><?=$lang['words'][92]?><? }?></span></h2>

<article class="product" style="margin-top:0px; padding-top:0px;">
<p class="product-img"><img src="https://<?=$imgprod?>/upload/big/<?=$product[4]?>"  title="<?=$product[1]?>" alt="<?=$product[1]?>" ></p>
<div>

<h1 class="font-22px font-bold"><?=$product[1]?></h1>
<h3 class="font-18px" style="margin-top:0px;"><?=$product[1]?></h3>
                
<p class="goto-shop"><a href="#Feedback" class="button">Get Quote</a></p>
				
</div>
</article>

    



<div class="co-text clearfix p-t-50">
<p><?=str_replace("\n","<br>",str_replace(' ',' ',$product[3]))?></p>


<?=str_replace('&nbsp;',' ',str_replace('<table','<table id="mytable" class="table table-bordered co-text font-12px"',str_replace('src="/',' style="margin-bottom:10px;" class="img-responsive" src="https://us3.supplierlist.com/',str_replace('<p','<p class="mb-2"',$product[6]))))?>
</div>

<div class="margin-t-30">
<p class="margin-t-20"><div class="fa fa-tags" style="margin:5px 10px 0px 0px;"></div><? $sql = "select id,name,name3 from ".$noe_version."_keywords where product_id= '".$_GET['pid']."'";
$res=$db->selectarray($sql);$xx=0;
while(@$d=mysqli_fetch_row($res)){$xx++;if($xx!=1)echo ', ';
?><a href="<?=$d[2]?>_manufacturer.html" class="link2"><?=$d[1]?></a><? }?>
</p>
</div>
<ul class="list  margin-top-40 clearfix ">
<?
$sql1="select id,name,sn,name2 from ".$noe_version."_products where id<'".$_GET['pid']."' order by id desc limit 0,1";
$rstmp1=$db->selectone($sql1);
?><? if(!empty($rstmp1[0])) { ?>

<li class="template-bullet"><a href="<?=$db->turn_name($rstmp1[3])?>_product<?=$rstmp1[0]?>.html"><?=$lang['words'][162]?>: <?=$rstmp1[1]?></a></li>
<? } else { ?><? }?>
                
<?
$sql2="select id,name,sn,name2 from ".$noe_version."_products where id>'".$_GET['pid']."' order by id asc limit 0,1";
$rstmp2=$db->selectone($sql2);
?><? if(!empty($rstmp2[0])) { ?>

<li class="template-bullet"><a href="<?=$db->turn_name($rstmp2[3])?>_product<?=$rstmp2[0]?>.html"><?=$lang['words'][163]?>: <?=$rstmp2[1]?></a></li>
                    
                    
<? } else { ?><? }?>
</ul>                       


<? include("a_feedback.php");?>
 

</section>     
<? include("foot.php");?>