<div class="tttop"> <div class="bm_h cl"> <?php if($_G['setting']['rssstatus'] && !$_GET['archiveid']) { ?><a href="portal.php?mod=rss&catid=<?php echo $cat['catid'];?>" class="y xi2 rss" target="_blank" title="RSS">我要订阅</a><?php } if(($_G['group']['allowpostarticle'] || $_G['group']['allowmanagearticle'] || $categoryperm[$catid]['allowmanage'] || $categoryperm[$catid]['allowpublish']) && empty($cat['disallowpublish'])) { ?> <a href="portal.php?mod=portalcp&ac=article&catid=<?php echo $cat['catid'];?>" class="y xi2 addnew">发布文章</a> <?php } ?> <h1 class="xs2"><?php echo $cat['catname'];?>列表</h1> </div> <?php if($cat['subs']) { ?> <div class="bm_c bbda"> 下级分类: <?php $i = 1;?><?php if(is_array($cat['subs'])) foreach($cat['subs'] as $value) { if($i != 1) { ?><span class="pipe">|</span><?php } ?><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" class="xi2"><?php echo $value['catname'];?></a><?php $i--;?><?php } ?> </div> <?php } ?> </div> <div class="bm_c xld zxlblb"> <?php $i = 1;?><?php if(is_array($list['list'])) foreach($list['list'] as $value) { $highlight = article_title_style($value);?><?php $article_url = fetch_article_url($value);?><?php if(isset($_G['cache']['plugin']['will_subnav'])) { $art_comment = get_commentnum($value[aid]);?><?php } else { $art_comment =0;?><?php } ?> <div class="top_new cl newss_<?php echo $i;?>"> <div class="box01 cl"> <?php if($value['pic']) { ?> <div class="new_pic pic02"> <a href="<?php echo $article_url;?>" target="_blank"><img src="<?php echo $value['pic'];?>" alt="<?php echo $value['title'];?>" class="tn" /></a> </div> <?php } ?> <div class="rig"> <h2><a href="<?php echo $article_url;?>" target="_blank" class="xi2" <?php echo $highlight;?>><?php echo cutstr($value['title'],70); ?></a> <?php if($value['status'] == 1) { ?>(待审核)<?php } ?></h2>
" class="xi2"><?php echo $value['catname']; ?> </a><?php $i--; } } ?> </div> <?php } ?> <div class="bm_c xld"><?php if (is_array($list['list'])) { foreach ($list['list'] as $value) { $highlight = article_title_style($value); $article_url = fetch_article_url($value); ?> <dl class="bbda cl"> <dt class="xs2"><a href="<?php echo $article_url; ?> " target="_blank" class="xi2" <?php echo $highlight; ?> ><?php echo $value['title']; ?> </a> <?php if ($value['status'] == 1) { ?>
<div class="bm"> <div class="bm_h cl"> <?php if($_G['setting']['rssstatus'] && !$_GET['archiveid']) { ?><a href="portal.php?mod=rss&catid=<?php echo $cat['catid'];?>" class="y xi2 rss" target="_blank" title="RSS">订阅</a><?php } if(($_G['group']['allowpostarticle'] || $_G['group']['allowmanagearticle'] || $categoryperm[$catid]['allowmanage'] || $categoryperm[$catid]['allowpublish']) && empty($cat['disallowpublish'])) { ?> <a href="portal.php?mod=portalcp&ac=article&catid=<?php echo $cat['catid'];?>" class="y xi2 addnew">发布文章</a> <?php } ?> <h1 class="xs2"><?php echo $cat['catname'];?></h1> </div> <?php if($cat['subs']) { ?> <div class="bm_c bbda"> 下级分类: <?php $i = 1;?><?php if(is_array($cat['subs'])) foreach($cat['subs'] as $value) { if($i != 1) { ?><span class="pipe">|</span><?php } ?><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" class="xi2"><?php echo $value['catname'];?></a><?php $i--;?><?php } ?> </div> <?php } ?> <!-- <div class="bm_c xld "> --> <div class="bm_c vk_xld "><?php if(is_array($list['list'])) foreach($list['list'] as $value) { $highlight = article_title_style($value);?><?php $article_url = fetch_article_url($value);?><!-- <dl class="bbda cl"> --> <dl class="bbs cl"> <?php if($value['pic']) { ?><div class="atc vk_list_pic"><a href="portal.php?mod=view&aid=<?php echo $value['aid'];?>" target="_blank"><img src="<?php echo $value['pic'];?>" alt="<?php echo $value['title'];?>" class="tn" /></a></div><?php } ?> <dt class="xs2"><a href="portal.php?mod=view&aid=<?php echo $value['aid'];?>" target="_blank" class="xi2" <?php echo $highlight;?>><?php echo $value['title'];?></a> <?php if($value['status'] == 1) { ?>(待审核)<?php } ?></dt> <dd class="xs2 cl"> <p class="xi3"><?php if($value['catname'] && $cat['subs']) { ?>分类: <label><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" class="xi3"><?php echo $value['catname'];?></a></label> <?php } ?><span class="xg1"> <?php echo $value['dateline'];?></span> </p> <?php echo $value['summary'];?> </dd> <dd>