| Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/newfinehome/ |
| Current File : /home/zqegovsj/www/us3web.haibo.com.cn/newfinehome/sectioncontent.php |
<?php
include("function.php");
$psid=$_GET['psid'];
$sid=$_GET['sid'];
$section=$db->selectone("select picture,title,content from ".$noe_version."_sectioncontents where id= '".$sid."'");
$section[2]= stripslashes($section[2]);
$section[2]=html_entity_decode($section[2]);
$imgsnum = $db->selectone("select count(id) from ".$noe_version."_img where sectioncontents_id= '".$sid."'");
$imgs=$db->selectarray("select img,title from ".$noe_version."_img where sectioncontents_id= '".$sid."'");
$section2=$db->selectone("select img,name from ".$noe_version."_newsection where id= '".$psid."'");
$aa='page_'.$psid.'_'.$db->turn_name($section2[1]).'.html';
$aaa=$section2[1];
$bb='subpage_'.$psid.'_'.$sid.'_'.$db->turn_name($section[1]).'.html';
$bbb=$section[1];
$pagekeyword=$section[1].','.$company['2'];
$pagekeyword2=$section[1].', '.$company['2'].', '.$company['1'].','.$company['12'];
$pagekeyword3=$section[1].', '.$company['2'].', '.$company['1'].','.$company['12'];
include("head.php");
?>
<section class="section-70 section-md-114">
<div class="shell">
<div class="range">
<div class="cell-sm-12">
<div class="offset-top-30 offset-sm-top-60">
<?=str_replace('src="/userfiles/','src="/userfiles/',$section[2])?>
</div>
</div>
</div>
<?php if ($imgsnum[0]!=0){?>
<div class="range top_offset_2">
<?php $i=1; while(@$a=mysql_fetch_row($imgs)){?>
<div class="cell-sm-3">
<a class="thumb top__767" href="upload/big/<?=$a[0]?>" data-fancybox-group="1">
<img src="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 }?>
</div>
</section>
<?php include("foot.php");
?>