<?php $this->load->view('wap/wap_head')?>


<section class="w_wap_news8">
<div class="news_jryw">今日热点</div>
     <?php foreach($this->p->get_list(6,'news') as $t){ ?>
     <?php if($t['image']){?>
	     <a href="<?=base_url()?><?=$my_routes[$t['catid']]?>/<?=$t['id']?>.html" class="w_wap_news_a" target="_self">
      <p class="w_wap_news_img"><img src="<?=$t['image']?>" alt="<?=$t['title']?>"></p>
      <p class="w_wap_news_des"> <strong><?=$t['title']?></strong> 
      <span>发布时间：<?=date('Y-m-d H:i',$t['uptime'])?></span> </p>
      </a>
	 <?php }else{?>
	    <a href="<?=base_url()?><?=$my_routes[$t['catid']]?>/<?=$t['id']?>.html" class="w_wap_news_b" target="_self">
        <p class="w_wap_news_des"> <strong><?=$t['title']?></strong> <span>发布时间：<?=date('Y-m-d H:i',$t['uptime'])?></span> </p>
      </a>
	 <?php }?>

     <?php }?>
     
    
  </section>
 
 <!--栏目新闻循环开始-->
<?php  foreach ($cat as $v){ ?>
   <section class="waplist1">
    <h2><i></i><em><a href="/<?=$my_routes[$v['id']]?>/" title="<?=$v['catname']?>">更多</a></em><?=$v['catname']?></h2>
     <?php $n=1;  foreach($this->p->get_list(6,'news',$v['id']) as $t){ ?>
         <a href="<?=base_url()?><?=$my_routes[$t['catid']]?>/<?=$t['id']?>.html" class="lb_box" target="_self"><i <?php if($n<3){echo 'class="ys"';}?>><?=$n?></i><?=$t['title']?></a>
     <?php $n++; }?>
     <a class="waplist1_more" href="<?=$my_routes[$v['id']]?>/">查看更多&gt;&gt;</a>
</section>
<?php }?> 


<?php $this->load->view('wap/wap_foot')?>