<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('list_20');?><?php include template('common/header'); $list = array();?><?php $wheresql = category_get_wheresql($cat);?><?php $list = category_get_list($cat, $wheresql, $page);?><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css"></style>
<style>
.wp { width:1190px; margin:0 auto; } 
</style>

</div>
<div class="wk_list_box wk_list_box17">
    <?php if(($_G['group']['allowpostarticle'] || $_G['group']['allowmanagearticle'] || $categoryperm[$catid]['allowmanage'] || $categoryperm[$catid]['allowpublish']) && empty($cat['disallowpublish'])) { ?>
    <div class="bm_h">
        <a href="portal.php?mod=portalcp&amp;ac=article&amp;catid=<?php echo $cat['catid'];?>">发布文章</a>
    </div>
    <?php } ?>
</div>
<div class="wk_blog_tab">
<ul>
    <?php if($wk_menu) { ?>
        <?php if($cat['others']) { ?>
            <?php if(is_array($cat['others'])) foreach($cat['others'] as $value) { ?>                <li><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" title="<?php echo $value['catname'];?>" <?php if($value['catid'] == $cat['catid']) { ?>class="a"<?php } ?>><?php echo $value['catname'];?></a></li>
            <?php } ?>
        <?php } ?>
    <?php } else { ?>
        <?php if($cat['subs']) { ?>
            <?php if($cat['others']) { ?>
                <?php if(is_array($cat['others'])) foreach($cat['others'] as $value) { ?>                <?php if($value['catid'] == $cat['catid']) { ?>
                    <li><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" title="<?php echo $value['catname'];?>" class="a"><?php echo $week_lang['58'];?></a></li>
                <?php } ?>
                <?php } ?>
            <?php } ?>
            <?php if(is_array($cat['subs'])) foreach($cat['subs'] as $value) { ?>                <li><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" title="<?php echo $value['catname'];?>" <?php if($value['catid'] == $cat['catid']) { ?>class="a"<?php } ?>><?php echo $value['catname'];?></a></li>
            <?php } ?>
        <?php } else { ?>
            <?php if($cat['others']) { ?>
                <?php if(is_array($cat['ups'])) foreach($cat['ups'] as $value) { if($value['catid'] == $cat['upid']) { ?><li><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" title="<?php echo $value['catname'];?>"><?php echo $week_lang['58'];?></a></li><?php } } ?>
                <?php if(is_array($cat['others'])) foreach($cat['others'] as $value) { ?>                    <li><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" title="<?php echo $value['catname'];?>" <?php if($value['catid'] == $cat['catid']) { ?>class="a"<?php } ?>><?php echo $value['catname'];?></a></li>
                <?php } ?>
            <?php } ?>
        <?php } ?>
    <?php } ?>
    </ul>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="wk_ymbg">
<div id="wp" class="wp">

    <div class="wp">
        <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
    </div>

<div class="week-case"><?php echo adshow("articlelist/mbm hm/1");?><?php echo adshow("articlelist/mbm hm/2");?><!--[diy=listcontenttop]--><div id="listcontenttop" class="area"></div><!--[/diy]-->
        <div class="week-case_con">
            <?php if(is_array($list['list'])) foreach($list['list'] as $value) { ?>            <?php $highlight = article_title_style($value);?>            <?php $article_url = fetch_article_url($value);?>                <dl>
                    <dd style="background:url(<?php if($value['pic']) { ?><?php echo $value['pic'];?><?php } else { ?><?php echo $_G['style']['imgdir'];?>/nophoto.gif<?php } ?>) no-repeat center center;background-size:cover"><a href="<?php echo $article_url;?>" title="<?php echo $value['title'];?>" target="_blank"></a></dd>
                    <dt><h3><a href="<?php echo $article_url;?>" title="<?php echo $value['title'];?>" target="_blank"><?php echo $value['title'];?></a></h3></dt>
                    <dt><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>" target="_blank" class="xi2"><?php echo $value['catname'];?></a><span class="pipe"></span><?php echo $value['dateline'];?></dt>
                    <dt class="dt3"><?php echo $value['summary'];?></dt>
                </dl>
            <?php } ?>
            <div class="clear"></div>
        </div>
        <div class="clear"></div><?php echo adshow("articlelist/mbm hm/3");?><?php echo adshow("articlelist/mbm hm/4");?><?php if($list['multi']) { ?><div class="pgs cl"><?php echo $list['multi'];?></div><?php } ?>
<!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->
</div>
</div>

<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div><?php include template('common/footer'); ?>