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


<div class="wl_cat_style"><?=$category['catname']?></div>
<section class="w_wap_news8" style="border:none">

<?php if(!empty($data['list'])){ foreach ($data['list'] as $t){if(!empty($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 }}else{?>	
	<div style="padding:10px; color:#FF0000">暂无数据!</div>	
<?php } ?> 
     <div class="y_wap_page">  <?php $pages=str_replace($top_category['tablename'].'/lists/'.$category['id'].'/',$my_routes[$category['id']].'/',$pages);?>
       <?=$pages?>
      </div>
    
  </section>
 
<?php $this->load->view('wap/wap_foot')?>