<fh-function>
mysqli_query($conn, "update sl_news set N_view=N_view+1 where N_id=".$id);
$sql="select * from sl_news,sl_nsort where N_sort=S_id and N_id=".$id;
  $result = mysqli_query($conn, $sql);
  $row = mysqli_fetch_assoc($result);
  if (mysqli_num_rows($result) > 0) {
    $S_id=$row["S_id"];
    $N_mid=$row["N_mid"];
    $N_author=$row["N_author"];
    $N_tag=$row["N_tag"];
    $N_shuxing=$row["N_shuxing"];
  }

</fh-function>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="https://gmpg.org/xfn/11">
<title>[N_title] - [fh_title]</title>
<link href="media/[fh_ico]" rel="shortcut icon" />
<meta name="description" content="[N_description]" />
<meta name="keywords" content="[N_keywords]" />

	<meta name='robots' content='max-image-preview:large' />
<link rel='stylesheet' id='app-css'  href='template/t15/wp-content/themes/fh/assets/css/app.css?ver=8.7.0' type='text/css' media='all' />
<link rel='stylesheet' id='ripro_chlid_style-css'  href='template/t15/wp-content/themes/fh2/diy.css?ver=5.7.2' type='text/css' media='all' />
<link rel='stylesheet' id='pure-highlightjs-style-css'  href='template/t15/wp-content/plugins/Pure-Highlightjs-master/highlight/styles/default.css?ver=0.9.2' type='text/css' media='all' />
<link rel='stylesheet' id='pure-highlightjs-css-css'  href='template/t15/wp-content/plugins/Pure-Highlightjs-master/assets/pure-highlight.css?ver=0.1.0' type='text/css' media='all' />
<link rel='stylesheet' id='external-css'  href='template/t15/wp-content/themes/fh/assets/css/external.css?ver=8.7.0' type='text/css' media='all' />
<link rel='stylesheet' id='sweetalert2-css'  href='template/t15/wp-content/themes/fh/assets/css/sweetalert2.min.css?ver=8.7.0' type='text/css' media='all' />
<link rel='stylesheet' id='diy-css'  href='template/t15/wp-content/themes/fh/assets/css/diy.css?ver=8.7.0' type='text/css' media='all' />
<link rel='stylesheet' id='fancybox-css'  href='template/t15/wp-content/themes/fh/assets/css/jquery.fancybox.min.css?ver=8.7.0' type='text/css' media='all' />
<script type='text/javascript' src='template/t15/wp-content/themes/fh/assets/js/jquery-2.2.4.min.js?ver=2.2.4' id='jquery-js'></script>
<script type='text/javascript' src='template/t15/wp-content/themes/fh/assets/js/plugins/sweetalert2.min.js?ver=8.7.0' id='sweetalert2-js'></script>

<style type="text/css">@media (min-width: 1200px) { .container,.container-lg,.container-md,.container-sm,.container-xl { max-width:1300px } }
.footer-links {
    text-align: center;
}</style>	<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
      <script src="template/t15/wp-content/themes/fh/assets/js/html5shiv.js"></script>
      <script src="template/t15/wp-content/themes/fh/assets/js/respond.min.js"></script>
    <![endif]-->
    <script>
	if(("standalone" in window.navigator) && window.navigator.standalone){
		var noddy, remotes = false;
		document.addEventListener('click', function(event) {
			noddy = event.target;
			while(noddy.nodeName !== "A" && noddy.nodeName !== "HTML") {
				noddy = noddy.parentNode;
			}
			if('href' in noddy && noddy.href.indexOf('http') !== -1 && (noddy.href.indexOf(document.location.host) !== -1 || remotes)){
				event.preventDefault();
				document.location.href = noddy.href;
			}
	
		},false);
	}
	</script>
</head>

<body class="post-template-default single single-post postid-309 single-format-standard  max_width navbar-sticky navbar-slide sidebar-right pagination-infinite_button">

<div class="site">
    
[fh_header]
<fh-function>
if($N_mid==0){
  $author_pic=pic($C["C_ico"]);
}else{
  $author_pic=pic(getrs("select * from sl_member where M_id=".$N_mid,"M_head"));
}
</fh-function>
<div class="header-gap"></div>    
    <div class="site-content">
    

<div class="container">
	<div class="breadcrumbs">
	当前位置：<a href="./">主页</a> <small>></small> <a href="?type=news&id=[S_subid]">[S_subtitle]</a> <small>></small> <a href="?type=news&id=[S_id]">[S_title]</a> <small>></small> [N_title]	</div>
	<div class="row">
		<div class="content-column col-lg-9">
			<div class="content-area">
				<main class="site-main">
					<article id="post-309" class="article-content">
    <div class="container">
  <div class="cao_entry_header">

  <header class="entry-header">          <div class="entry-meta">
                  <span class="meta-author">
            <a>
              <img alt='[N_author]' data-src='<fh-function>$api=$author_pic;</fh-function>' class='lazyload avatar avatar-40 photo qq' height='40' width='40' />[N_author]           </a>
          </span>
                  <span class="meta-category">
                          <a href="?type=news&id=[S_subid]" rel="category">
                  <i class="dot"></i>[S_subtitle]              </a>

                  <a href="?type=news&id=[S_id]" rel="category">
                  <i class="dot"></i>[S_title]              </a>
                      </span>
                  <span class="meta-date">
            <a href="">
              <time datetime="[N_date]">
                [N_date]              </time>
            </a>
          </span>
                    <span class="meta-edit"></span>
        
      </div>
    
    <h1 class="entry-title">[N_title]</h1>  </header></div></div>  <div class="container">
    <div class="entry-wrapper">
            <div class="entry-content u-text-format u-clearfix">[N_content]</div>
      <div id="pay-single-box"></div>
          <div class="entry-tags">


<fh-function>
  if($N_tag!=""){
$tag=explode(" ",$N_tag);
for($i=0;$i<count($tag);$i++){
  $api=$api.'<a href="?type=news&tag='.$tag[$i].'" rel="tag">'.$tag[$i].'</a>';
}
}
</fh-function>

      </div>


<div class="ripro_gg_wrap pc"></div>

<div class="article-footer">
    <div class="author-box">
    <div class="author-image">
      <img alt='' data-src='<fh-function>$api=$author_pic;</fh-function>' class='lazyload avatar avatar-96 photo qq' height='96' width='96' />    </div>
    <div class="author-info">
      <h4 class="author-name">
        <a href="javascript:;">[N_author]</a>
              
      </h4>
    </div>
  </div>

      <div class="xshare">
      <span class="xshare-title">分享到：</span>
                 <a href="javascript:;" title="收藏文章" etap="star" data-postid="news_[N_id]" class="ripro-star <fh-function>if(getrs('select * from sl_colletion where C_mid='.intval($_SESSION['M_id']).' and C_cid='.$id.' and C_type=1','C_id')!=''){$api='ok';}</fh-function>"><i class="fa fa-star-o"></i></a>
            <a href="" etap="share" data-share="qq" class="share-qq"><i class="fa fa-qq"></i></a>
      <a href="" etap="share" data-share="weibo" class="share-weibo"><i class="fa fa-weibo"></i></a>
              <a href="conn/poster.php?type=news&id=[N_id]&from=<fh-function>$api=intval($_SESSION['M_id']);</fh-function>" class="share-weixin" ><i class="fa fa-paper-plane"></i></a>
        </div>
   
</div>    </div>
  </div>
</article>


  <div class="entry-navigation">
    <nav class="article-nav">
        <span class="article-nav-prev">上一篇<br><a href="[N_Purl]" rel="prev">[N_Ptitle]</a></span>
        <span class="article-nav-next">下一篇<br><a href="[N_Nurl]" rel="next">[N_Ntitle]</a></span>
    </nav>
  </div>

				</main>
			</div>
		</div>
					<div class="sidebar-column col-lg-3">
				
<aside class="widget-area">
	<div id="cao_widget_pay-4" class="widget widget-pay"><div class="pay--content"><img src="[N_pic]" style="width: 100%"></div><div class="agent--contact">
    <ul class="list-paybody">

      <fh-function>
$shuxing=explode("\r\n",$N_shuxing);
for($i=0;$i<count($shuxing);$i++){
$api=$api.'<li><span>'.splitx($shuxing[$i],':',0).'</span><span>'.splitx($shuxing[$i],':',1).'</span></li>';
}
      </fh-function>

      <li><span>浏览</span><span>[N_view]</span></li>
      <li><span>最近更新</span><span>[N_date]</span></li>
    </ul


    ></div><div class="ac_qqhao"><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<fh-function>
$kefu=explode("|",$C_kefu);
for($i=0;$i<count($kefu);$i++){
  if(strpos($kefu[$i],"_qq_")!==false){
    $qq=splitx($kefu[$i],"_",0);
  }
}
$api=$qq;
</fh-function>&site=qq&menu=yes"><i class="fa fa-qq"></i> QQ咨询</a></div></div><div id="cao_widget_userstop-3" class="widget widget-userstop">
      <h5 class="widget-title">积分排行榜</h5><ul>

        <fh-function>
$i=1;
$sql="select * from sl_member where M_del=0 and not M_login='未登录帐号' order by M_fen desc limit 10";
$result = mysqli_query($conn,  $sql);
if (mysqli_num_rows($result) > 0) {
while($row = mysqli_fetch_assoc($result)) {
        $api=$api.'<li><span class="index num-'.$i.'">'.$i.'</span><span class="avatar"><img alt="" data-src="'.pic($row['M_head']).'" class="lazyload avatar avatar-96 photo qq" height="96" width="96" /></span><span class="name">'.$row['M_login'].'</span><span class="credits"><span class="num">'.$row['M_fen'].'</span>积分</span></li>';
        $i=$i+1;
    }
} 

        </fh-function>

      </ul></div>

      <div id="cao_widget_post-4" class="widget cao-widget-posts"><h5 class="widget-title">相关文章展示</h5><div class="posts">



<fh-function>

$sql="select * from sl_news where N_sh=1 and N_sort=$S_id and N_del=0 order by rand() limit 5";

$result = mysqli_query($conn,  $sql);
if (mysqli_num_rows($result) > 0) {
while($row = mysqli_fetch_assoc($result)) {
        $api=$api.'<div class="left">  <div class="entry-media">
    <div class="placeholder" style="padding-bottom: 60%;">
      <a  href="?type=newsinfo&id='.$row['N_id'].'" >
        <img class="lazyload" data-src="'.pic($row['N_pic']).'" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="'.$row['N_title'].'">  
      </a>
          </div>
      </div>
  <a href="?type=newsinfo&id='.$row['N_id'].'" rel="bookmark" title="'.$row['N_title'].'">'.$row['N_title'].'</a></div>';
    }
} 


</fh-function>

  </div></div>

  <div id="magsy_category_widget-2" class="widget widget_magsy_category_widget">        <ul>


<fh-function>
$sql="select * from sl_nsort where S_del=0 and S_sub>0 order by S_order,S_id desc";
          s[[

$count=getrs("select count(N_id) as N_count from sl_news where N_del=0 and N_sort=".$row["S_id"],"N_count");

$api=$api.'<li class="category-item">
            <a href="?type=news&id='.$row['S_id'].'" title="'.$row["S_title"].'">
              <span class="category-name">
                <i class="dot" style="background-color: #ff7473;"></i>
                '.$row["S_title"].'              </span>
              <span class="category-count">'.$count.'</span>
            </a>
          </li>';

          ]]

</fh-function>

        
        </ul> </div><div id="cao_widget_ads-7" class="widget widget-adss"></div></aside>			</div>
			</div>
</div>


</div><!-- end sitecoent --> 

[fh_footer]
</body>
</html>