<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<!--banner end-->
<div class="clear"></div>
<!--main_content star-->
<div class="main_content_bg">
    <div class="page_content">
       
       <?php include template("content","lefter"); ?>
       
       <div class="page_content_right r">
           <h2><?php echo $CATEGORYS[$catid]['catname'];?><span>您现在所在的位置：<a href="/">网站首页</a>><?php echo $CATEGORYS[$catid]['catname'];?></span></h2>
           <div class="content_text">
            <ul class="news_list">
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=83e86dbe8e634be99f241427bdc4f45f&action=lists&catid=%24catid&num=20&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 20;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>$catid,'order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>$catid,'order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
			<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
               <li><a href="<?php echo $r['url'];?>"><?php echo $r['title'];?> </a><span><?php echo date('Y-m-d',$r[inputtime]);?></span></li>
			<?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>

            </ul>
            <div class="dede_pages"> <?php echo $pages;?></div>
           </div>
       </div>
    </div>
</div>
<!--main_content end-->
<div class="clear"></div>

<?php include template("content","footer"); ?>

