{include file='head'}



<div id="content" class="site-content">



<div id="content" class="site-content">



<div class="clear"> </div>



<div id="primary" class="content-area">



<main id="main" class="site-main" role="main">



 







<?php







for($u=1;$u<count($a[1]);$u++){  







$qid=$a[1][$u];



 



 



//echo $web_key;



$aaurl=$qid;



$cid3=$qid;



$cid6=substr(md5($qid),0,$config['web_key']);



 



//echo $aaurl;



if($config['key_true']){







$aaurl=substr(md5($aaurl),0,$config['web_key']);



}else{







$aaurl=$aaurl.'.html';



}



 







if($config['url_index']){



$uurl="/read/".$aaurl;



}else{







$uurl="/index.php/read?q=".$aaurl;



}







$user=db('news');



$time=$v['time'];



 



 



 



$rs=$user->where('title',$t[1][$u])->find();







 



if(!$rs){



$add=$user->insert(['title'=>$t[1][$u],'sj'=>date('Y-m-d H:i:s'),'cid'=>$c,'uid'=>$cid3,'mid'=>$cid6,'h'=>0,'cont'=>$v['summary']]);



 







} 











  ?>





<article   class="post type-post status-publish format-standard hentry category-rszl">  <header class="entry-header">

	   <h2 class="entry-title"><a href="{$uurl}" title="{$t[1][$u]}">{$t[1][$u]}</a></h2>

        </header>

        <!-- .entry-header -->  

        <div class="entry-content">

          <div class="archive-content">{$cc3[1][$u]}</div><br />

          <span class="title-l"></span> <span class="entry-meta"  style=" left:30px;"> <span class="date" ><?php echo date('Y-m-d H:i:s')?></span></span>

          <div class="clear"></div>

        </div>

        <!-- .entry-content -->    

        <span class="entry-more"><a href="{$uurl}" rel="bookmark">阅读全文</a></span> </article>



 

   









<?php







}







?>











  <div class="clear"></div>







 <nav id="nav-below">



        <div class="nav-next"> </div>



        <div class="nav-previous"> </div>



      </nav>



      



          <nav class="navigation pagination" role="navigation">



      <div class="nav-links"><span class="prev"> </span>



      



      <?php 



      $jp=$p-1;

      if($config['url_index']){

      $uul='/'.$c.'/_'.$jp;



 }else{     

$uul='/index.php/page?c='.$c.'&p='.$jp;



}

      $upage='<a href="'.$uul.'">上一页</a>';



      



      if($p>1){



      echo $upage;



      



      }



      



      



            



      ?> <a title="当前页">&nbsp;<b>{$p}</b> </a>&nbsp;<?php



      $ap=$p+1;





  if($config['url_index']){

      $ppage='/'.$c.'/_'.$ap;



 }else{     

$ppage='/index.php/page?c='.$c.'&p='.$ap;



}

    



      



      ?><a href="{$ppage}">下一页</a>  </div>



    </nav>



    </main>











  



 











</div>



<div class="25941acbd32863cc"></div>



<div id="sidebar" class="widget-area">



 



 



  <aside id="cx_tag_cloud-6" class="widget widget_cx_tag_cloud">



    <h3 class="widget-title"> <i class="fa fa-bars"></i>热门标签</h3>



    <div id="tag_cloud_widget">



    

 <?php



 







 



 foreach($k2 as $v){







 



 



		    ?> 

    



    <a href="<?php echo ccu($v,$config)?>" target="_blank">{$v}</a>&nbsp;



    <?php



    



    }



    ?>



          <div class="clear"></div>



    </div>



    <div class="clear"></div>



  </aside>



  <aside id="recent_comments-27" class="widget widget_recent_comments">



    <h3 class="widget-title"> <i class="fa fa-bars"></i>最新文章</h3>



    <div id="message" class="message-widget">



      <ul>



       <?php



      



     



      $ss=1;



       foreach($rs6 as $v){



       



       



      ?>



      



        <li><span class='li-icon li-icon-{$ss}'>{$ss}</span><a target="_blank" href="<?php echo murl($v['uid'],$config)?>">{$v['title']}</a></li>  <?php



        $ss=$ss+1;



        }



        ?>     </ul>



    </div>



    <div class="clear"></div>



  </aside>



 

<aside id="recent_comments-27" class="widget widget_recent_comments">



    <h3 class="widget-title"> <i class="fa fa-bars"></i>热门文章</h3>



    <div id="message" class="message-widget">



      <ul>



       <?php



      



     



      $ss=1;



       foreach($rs3 as $v){



       



       



      ?>



      



        <li><span class='li-icon li-icon-{$ss}'>{$ss}</span><a target="_blank" href="<?php echo murl($v['uid'],$config)?>">{$v['title']}</a></li>  <?php



        $ss=$ss+1;



        }



        ?>     </ul>



    </div>



    <div class="clear"></div>



  </aside>

 



  <div class="sidebar-roll"></div>



</div>



<div class="clear"></div>







<div class="clear"></div>











<div class="line-tao">



  <div class="clear"></div>



</div>



<div class="line-big">











  <div class="clear"></div>



</div>











<div class="clear"></div>



 



</div>



<div id="footer-widget-box">



  <div class="footer-widget">



    <aside id="nav_menu-3" class="widget widget_nav_menu"  style="width:100%;">



      <div class="menu-%e9%a1%b5%e8%84%9a-container">



        <ul id="menu-%e9%a1%b5%e8%84%9a" class="menu">



         <?php



 







 



 foreach($k2 as $v){







 



 



		    ?> 



    



  <li>  <a href="<?php echo ccu($v,$config)?>" target="_blank">{$v}</a></li>



    <?php



    



    }



    ?>



                  </ul>



      </div>



      <div class="clear"></div>



    </aside>

    



    <div class="clear"></div>



  </div>



</div>



{include file='foot'}