Your IP : 216.73.216.170


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/newfinehome/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/newfinehome/new_section.php

<?php 

include("function.php");

$sid=$_GET['sid'];

$section=$db->selectone("select id,title,content,name,keyword,des from ".$noe_version."_newsection where id= '".$sid."'");

$imgsnum = $db->selectone("select count(id) from ".$noe_version."_img where section_id= '".$sid."'");

$imgs=$db->selectarray("select img,title from ".$noe_version."_img where section_id= '".$sid."'");

$section2num = $db->selectone("select count(id) from ".$noe_version."_sectioncontents where type_id= '".$sid."'");

$section2=$db->selectarray("select id,title,content,created,pic from ".$noe_version."_sectioncontents where type_id= '".$sid."'");

$section[2]=stripslashes($section[2]);
$section[2]=html_entity_decode($section[2]);

$pagekeyword=$section[1].','.$company['2']; 
$pagekeyword2=$section[1].', '.$company['2'].', '.$company['1'].','.$company['12']; 
$pagekeyword3=$section[1].', '.$company['2'].', '.$company['1'].','.$company['12'];

$aa='page_'.$section[0].'_'.$db->turn_name($section[1]).'.html';
$aaa=$section[1];
include("head.php");
?>

<section class="section-70 section-md-114">
          <div class="shell">
		  <h2><?=$section[1]?></h2>
            <div class="range">
              <div class="cell-sm-12">
                <div class="offset-top-5 offset-sm-top-5">
                <?=str_replace('<table','<table id="mytable" class="table table-bordered co-text font-12px"',str_replace('src="/',' style="margin-bottom:10px;" src="https://us3.supplierlist.com/',str_replace('<p','<p class="mb-2"',$section[2])))?>
    
                </div>
               
              </div>
            </div>
<?php if ($imgsnum[0]!=0){?>
<div class="range top_offset_2">
<?php $i=1; while(@$a=mysqli_fetch_row($imgs)){?>  
<div class="col-sm-3">
                        <a class="thumb top__767" href="https://<?=$imgprod?>/upload/big/<?=$a[0]?>" data-fancybox-group="1">
                            <img src="https://<?=$imgprod?>/upload/middle/<?=$a[0]?>" alt="<?=$a[1]?>"/>

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

                        </a>
                        <p><?=$a[1]?></p>
                    </div>
                    <?php $i++;?>
					<?php if(($i-1)%4==0){?></div><div  class="range top_offset_2"><?php }?><?php }?>
</div>

<?php }?>
<?php if ($section2num[0]!=0){?>

<div class="range">
<div class="cell-md-12">
 <ul class="list top_offset">
  <?php $i=1;while(@$rs2=mysqli_fetch_array($section2)){;?>
<li><a href="subpage_<?=$sid?>_<?=$rs2[0]?>_<?=$db->turn_name($rs2[1])?>.html"><?=$rs2[1]?></a></li>
  
  <?php $i++;}?>
</ul>
</div>
</div>
<?php }?>
			
          </div>
        </section>
		


<?php include("foot.php");


?>