Your IP : 216.73.216.170


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/beirlaser/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/beirlaser/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");
?><div class="shell section-bottom-60">
<div class="range">
<div class="cell-md-8 text-xs-left">
<h1 class="p-b-20 text-italic"><? if(isset($ccc))echo $ccc;elseif(isset($bbb))echo $bbb;else{?><?=$lang['words'][92]?><? }?></h1>

<div class="range offset-top-10">
<div class="cell-lg-10 cell-md-12 cell-sm-12">
<div class="range">

<div class="cell-lg-2 cell-sm-2 cell-md-3">
<div class="slider-nav">
<div><img src="https://<?=$imgprod?>/upload/small/<?=$product[4]?>"  title="<?=$product[1]?>" alt="<?=$product[1]?>" ></div>
<? if ($imgsnum[0]!=0){?><? for($i=0;$i<count($imgs);$i++){?>
<div><img src="https://<?=$imgprod?>/upload/small/<?=$imgs[$i][0]?>"  title="<?=$imgs[$i][1]?>" alt="<?=$imgs[$i][1]?>"></div>
<? }?>
<? }?>
</div>
</div>

<div class="cell-lg-10 cell-md-9 cell-sm-8 offset-top-20 offset-sm-top-0">
<div data-lightbox="gallery" class="slider-for">

<div>
<div class="thumbnail-variant-2 box__ins1"><img src="https://<?=$imgprod?>/upload/big/<?=$product[4]?>"  alt="<?=$product[1]?>" class="img-responsive">
<div class="caption-variant-1"><a data-lightbox="image" href="https://<?=$imgprod?>/upload/big/<?=$product[4]?>"  title="<?=$product[1]?>" class="icon icon-base icon-circle fl-line-icon-set-magnification3"></a></div>
</div>
</div>

<? if ($imgsnum[0]!=0){?>
<? for($i=0;$i<count($imgs);$i++){?>
<div>
<div class="thumbnail-variant-2 box__ins1"><img src="https://<?=$imgprod?>/upload/big/<?=$imgs[$i][0]?>" alt="<?=$imgs[$i][1]?>" class="img-responsive">
<div class="caption-variant-1"><a data-lightbox="image" href="https://<?=$imgprod?>/upload/big/<?=$imgs[$i][0]?>"  title="<?=$imgs[$i][1]?>" class="icon icon-base icon-circle fl-line-icon-set-magnification3"></a></div>
</div>
</div>
<? }?><? }?>                 
</div>
</div>
</div>
</div>
</div>

<h2 class="product-details-heading  offset-top-30 font-22px"><?=$product[1]?></h2>
<h3 class="product-details-heading text-italic"><?=$product[2]?></h3>

<div><a href="#Feedback" class="btn btn-primary btn-icon btn-icon-left"><span class="icon mdi  mdi-contact-mail"></span><span class="btn-text"><?=$lang['words'][135]?></span></a></div>
<hr class="divider divider-iron divider-dotted divider-offset-sm">
<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 class="margin-t-20">
<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="margin-t-20">
<?
$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><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><a href="<?=$db->turn_name($rstmp2[3])?>_product<?=$rstmp2[0]?>.html"><?=$lang['words'][163]?>: <?=$rstmp2[1]?></a></li>
                    
                    
<? } else { ?><? }?>
</ul>                       



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

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