Your IP : 216.73.216.170


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/beiresthetic/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/beiresthetic/news-index.php

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

$sql = "select id,title,picture,keywords,des,content,created,type_id,title2 from ".$noe_version."_companynewses where member_id=".$id." and id= '".$_GET['nid']."'";

$res=$db->selectarray($sql);

$res=$db->toarray($res);

$res[0][4]= stripslashes($res[0][4]);
$res[0][4]=html_entity_decode($res[0][4]);
$res[0][5]=str_replace('&lt;','<',str_replace('&gt;','>',str_replace('&quot;','"',$res[0][5])));
$res[0][5]= stripslashes($res[0][5]);
$res[0][5]=html_entity_decode($res[0][5]);

$news=$res[0];

$newstype=$db->selectone("select id,name,name2 from ".$noe_version."_newstypes where member_id=".$id." and id= '".$news[7]."'");


$aa='news.html';
$aaa=$lang['words'][73];
$bb=$db->turn_name($newstype[2]).'_newstype'.$newstype[0].'.html';
$bbb=$newstype[1];
$purl=$db->turn_name($news[8]).'_newsview'.$news[0].'.html';
$feedbacktit='Online inquire from website';

$pagekeyword=$news[1];
$pagekeyword2=$news[1].', '.$news[3];
$pagekeyword3=$news[1].', '.$news[3];
$pagekeyword4=$news[1].', '.$news[3];;

include("head.php");
?><div class="n_main">
<div class="container">
      
<? include("a_left.php");?>

<div class="n_right">

<div class="page_detail">
<div class="page">
<h1 class="list_title"><?=$news[1]?></h1>
<div class="blog-info"><i class="fa fa-calendar"></i><?=date("d",$news[6])?> <?=date("M",$news[6])?>, <?=date("Y",$news[6])?></div>

<div class="blog-post-media"><img src="https://<?=$imgprod?>/upload/big/<?=$news[2]?>" alt="<?=$news[1]?>" class="img-responsive"></div>

<div class="co-text">
<?=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"',$news[5]))))?>

</div>
                                               
<div class="margin-t-20">
<ul class="navigation clearfix">
<?
$sql1="select id,title,created,type_id,title2 from ".$noe_version."_companynewses  where type_id='".$news[7]."'  and id<'".$_GET['nid']."' order by id desc limit 0,1";
$rstmp1=$db->selectone($sql1);
?><? if(!empty($rstmp1[0])) { ?><li class="prev_post"><a href="<?=$db->turn_name($rstmp1[4])?>_newsview<?=$rstmp1[0]?>.html"><span class="meta_nav"><?=$lang['words'][162]?></span>
                                    <div class="post_title"><?=$rstmp1[1]?></div></a></li>
<? } else { ?><? }?>  

<?
$sql2="select id,title,created,type_id,title2 from ".$noe_version."_companynewses  where type_id='".$news[7]."'  and id>'".$_GET['nid']."' order by id asc limit 0,1";
$rstmp2=$db->selectone($sql2);
?><? if(!empty($rstmp2[0])) { ?><li class="next_post"><a href="<?=$db->turn_name($rstmp2[4])?>_newsview<?=$rstmp2[0]?>.html"> <span class="meta_nav"><?=$lang['words'][163]?>: /span>
                                    <div class="post_title"><?=$rstmp2[1]?></div></a></li><? } else { ?><? }?>
</ul>		
						
</div> 

</div>
</div>

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