Your IP : 216.73.216.170


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/beirlaser/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/beirlaser/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="shell section-bottom-60">
<div class="range">

<div class="cell-md-8 text-xs-left">

<h1 class="p-b-20 text-italic"><?=$bbb?></h1>

<div class="blog-post">
                <div class="blog-post-meta unit unit-xs-horizontal unit-sm-horizontal unit-md-horizontal unit-lg-horizontal">
                  <div class="unit-left">
                    <div class="center-block blog-post-meta-date"><span class='blog-post-meta-date-big reveal-block'><?=date("d",$news[6])?></span> <?=date("M",$news[6])?></div>
                  </div>
                  <div class="unit-body">
                    <h3 class="blog-post-meta-title"><?=$news[1]?></h3>
                  <p><?=date("d",$news[6])?> <?=date("M",$news[6])?>, <?=date("Y",$news[6])?>  </p></div>
                </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="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>		
						
</div> 

</div>
</div>

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