Your IP : 216.73.216.170


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/biguo/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/biguo/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");
?><section class="content">
<section class="single">

<article>
<h1><?=$news[1]?></h1>
<p class="post-meta"><?=date("d",$news[6])?> <?=date("M",$news[6])?>, <?=date("Y",$news[6])?> </p>

<p><img src="https://<?=$imgprod?>/upload/big/<?=$news[2]?>" alt="<?=$news[1]?>"></p>
        
<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="list top_offset">
<?
$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><a href="<?=$db->turn_name($rstmp1[4])?>_newsview<?=$rstmp1[0]?>.html"><?=$lang['words'][162]?>: <?=$rstmp1[1]?></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><a href="<?=$db->turn_name($rstmp2[4])?>_newsview<?=$rstmp2[0]?>.html"><?=$lang['words'][163]?>: <?=$rstmp2[1]?></a></li><? } else { ?><? }?>
</ul>		
						

</section>   

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