Your IP : 216.73.216.34


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/newfinehome/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/newfinehome/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 member_id=".$id." and  product_id=".$_GET['pid']."");

$product = $db->selectone("select id,name,sn,content,picture,producttype_id,more,name2,price,now_price,member_price,member2_price,features,beizu_youtube 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,titdes from ".$noe_version."_producttypes where id='".$product[5]."'");

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

if($ptype[2]==0){
$bb=$db->turn_name($ptype[4]).'_supply'.$ptype[0].'.html';
$bbb=$ptype[1];	
$pcateid=$ptype[0];
$pcatetit=$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,des from ".$noe_version."_producttypes where id='".$ptype[2]."'");

$bb=$db->turn_name($puptybe[3]).'_supply'.$puptybe[0].'.html';
$bbb=$puptybe[1];	
$pcateid=$puptybe[0];
$pcatetit=$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';


$pcatedes=html_entity_decode($pcatedes);

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

$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="section-70 section-md-114">
            <div class="shell">
                <div class="range">
                
                <div class="cell-sm-4 text-lg-left">
                
                <div class="product_show  box__ins2">

<table width="100%" border="0" cellpadding="0" cellspacing="0" style="min-height:300px;">
  <tr>
    <td align="center" valign="middle">
    
    
<a class="thumb top__767" href="https://<?=$imgprod?>/upload/big/<?=$product[4]?>" data-fancybox-group="1">
                            <img src="https://<?=$imgprod?>/upload/big/<?=$product[4]?>"  alt="<?=$product[1]?>, <?=$product[2]?>" title="<?=$product[1]?>, <?=$product[2]?>"  style="max-width:300px; max-height:300px;"/>

                            <span class="thumb_overlay"></span>

                  </a></td>
  </tr>
</table>
                  </div>

       
<h5  class="top_offset_2"><?=$lang['words'][166]?></h5>           

<ul class="inline-list2">
<li>
<a class="fa fa-facebook" href="http://www.facebook.com/share.php?u=http://<?=$company2[13]?>/product_<?=$product[0]?>_<?=$db->turn_name($product[1])?>.html?&t=<?=$product[1]?>"></a>
</li>

<li><a class="fa fa-twitter"  href="http://www.twitter.com/share?url=http://<?=$company2[13]?>/product_<?=$product[0]?>_<?=$db->turn_name($product[1])?>.html&text=<?=$product[1]?>"></a></li>
<li><a class="fa fa-linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=http://<?=$company2[13]?>/product_<?=$product[0]?>_<?=$db->turn_name($product[1])?>.html?&title=<?=$product[1]?>&source=Add to linkedin"></a>
</li>
<li>
<a class="fa fa-pinterest" href="javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());"></a>
</li>

<li>
<a class="fa fa-google-plus"  href="https://plus.google.com/share?url=http://<?=$company2[13]?>/product_<?=$product[0]?>_<?=$db->turn_name($product[1])?>.html"></a>
</li>

<li>
<a class="fa fa-vk"  href="http://vk.com/share.php?url=http://<?=$company2[13]?>/product_<?=$product[0]?>_<?=$db->turn_name($product[1])?>.html&title=<?=$product[1]?>"></a>
</li>

</ul>
            
            
      <a href="contact.html?prod=<?=$product[1]?>, <?=$product[2]?>" class="btn btn-ellipse btn-primary btn-icon btn-icon-left">
                                    <?=$lang['words'][135]?>
                  </a>      
                       
                  </div>
                    
                    
                    <div class="cell-sm-8 text-left">
                    
                    <h4 class="text-left"><?=$product[1]?></h4>
                    <h5 class="text-left"><?=$product[2]?></h5>
                    
                      <?=str_replace("\n","<br>",str_replace(' ',' ',$product[3]))?><br/><br/>
					   
					   <?=str_replace('src="/userfiles/','src="/userfiles/',$product[6])?>


<p class="top_offset_2"><div class="fa fa-tags" style="margin:5px 10px 0px 0px;"></div><?php $sql = "select id,name 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="manufacturer_<?=$db->turn_name($d[1])?>_<?=$d[0]?>.html" class="link2"><?=$d[1]?></a><?php }?>
</p>

<ul class="range ">
<?php 
$sql1="select id,name,sn from ".$noe_version."_products where member_id=".$id." and  id<'".$_GET['pid']."' order by id desc limit 0,1";
$rstmp1=$db->selectone($sql1);
?><?php if(!empty($rstmp1[0])) { ?>

<li class="cell-sm-12">
                        <!--Box-->
                        <div class="box-md top_offset_2">
                            <div class="box_cnt">
                                <h5><a href="product_<?=$rstmp1[0]?>_<?=$db->turn_name($rstmp1[1])?>.html"><?=$lang['words'][162]?>: <?=$rstmp1[1]?></a></h5>

                            </div>
                        </div>
                        <!--END box-->
                    </li>
<?php } else { ?><?php }?>
                
<?php 
$sql2="select id,name,sn from ".$noe_version."_products where member_id=".$id." and  id>'".$_GET['pid']."' order by id asc limit 0,1";
$rstmp2=$db->selectone($sql2);
?><?php if(!empty($rstmp2[0])) { ?>

<li class="cell-md-12">
                        <!--Box-->
                        <div class="box-md top_offset_2">
                           <div class="box_cnt">
                                <h5><a href="product_<?=$rstmp2[0]?>_<?=$db->turn_name($rstmp2[1])?>.html"><?=$lang['words'][163]?>: <?=$rstmp2[1]?></a></h5></div>
                        </div>
                        <!--END box-->
                    </li>
                    
                    
<?php } else { ?><?php }?>
</ul>                       
                    </div>
                    
                    
                </div>
            </div>
        </section>    
		
<?php include("foot.php");?>