{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


foreach($rs6 as $v){


$aaurl=$v['uid'].'.html';

if($config['url_index']){

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

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

}




  ?>





 

  



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

	   <h2 class="entry-title"><a href="{$uurl}" target="_blank" title="{$v['title']}">{$v['title']}</a></h2>

        </header>

        <!-- .entry-header -->  

        <div class="entry-content">

          <div class="archive-content">{$v['cal']}</div><br />

          <span class="title-l"></span> <span class="entry-meta"  style=" left:30px;"> <span class="date" ><?php  echo $v['sj'];?></span></span>

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

        </div>

        <!-- .entry-content -->    

        <span class="entry-more"><a href="{$uurl}" target="_blank" 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>



      



       



</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



 







 



for($i=$ss;$i<$ss+$config['keys3'];$i++){  //count函数就是获取数组的长度的，长度为3 因为一行被识别为一个数组 有三行







$content=$cbody[$i];



$content=str_replace("\r\n","",$content);



$content=str_replace(" ","",$content);







 



 



		    ?> 



    



    <a href="<?php echo ccu($content,$config)?>" target="_blank">{$content}</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



      



     



      $ss3=1;



       foreach($rs3 as $v){



       



       



      ?>



      



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



        $ss3=$ss3+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"> 











<?php



foreach($cid as $vv){

$v=$vv['ntitle'];

?>



<div class="xl3 xm3">



<div class="cat-box">



<h3 class="cat-title">



<i class="fa fa-bars"></i>



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



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



<div class="cat-site">



<ul class="cat-list">



<?php



$r3=db('news')->where("cid='".$v."'")->order('id desc')->limit(6)->select();







 foreach($r3 as $vv){



?>







<span class="list-date"><?php echo date('m-d',strtotime($vv['sj']))?></span><li class="list-title"><a target="_blank" href="<?php echo murl($vv['uid'],$config)?>" rel="bookmark">{$vv['title']}</a></li>







<?php



 }



?>



</ul></div></div></div>







<?php



}



?>















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



</div>











<div class="clear"></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-container"  >



        <ul id="menu" class="menu"  >



          <?php



 

 



for($i=$ss;$i<$ss+$config['keys3'];$i++){  //count函数就是获取数组的长度的，长度为3 因为一行被识别为一个数组 有三行







$content=$cbody[$i];



$content=str_replace("\r\n","",$content);



$content=str_replace(" ","",$content);







 



 



		    ?> 



    



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



    <?php



    



    }



    ?>



                  </ul>



      </div>



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



    </aside>



   



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



  </div>



</div>



{include file='foot'}