<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('list_10');?><?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>

</div>
<div class="wk_list_box wk_list_box15">
    <?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="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 id="ct" class="ct2 wp cl">
<div class="mn">
    	<div class="wk_c_right_name">
            <div class="wk_c_right_name_r">
                <ul>
                	<li>
                        <img src="<?php echo $_G['style']['styleimgdir'];?>/portal/right_wz.png" alt="" />
                    </li>
                    <li>
                        <span><?php echo $week_lang['8'];?></span>
                        <span><a href="<?php echo $_G['setting']['navs']['1']['filename'];?>"><?php echo $_G['setting']['navs']['1']['navname'];?></a></span>
                        <span><?php echo $week_lang['17'];?></span>
                        <?php if(is_array($cat['ups'])) foreach($cat['ups'] as $value) { ?><span><a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>"><?php echo $value['catname'];?></a></span><span><?php echo $week_lang['17'];?></span><?php } ?>
                        <span><?php echo $cat['catname'];?></span>
                    </li>
                </ul>
            </div>
        </div><?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="wk_content_right_m">
        	<div class="wk_tidings_m">
                <?php if(is_array($list['list'])) foreach($list['list'] as $value) { ?>                <?php $highlight = article_title_style($value);?>                <?php $article_url = fetch_article_url($value);?>                <div class="wk_tidings_main">
                    <div class="wk_tidings_img">
                      <a href="<?php echo $article_url;?>" target="_blank" title="<?php echo $value['title'];?>"><?php if($value['pic']) { ?><img src="<?php echo $value['pic'];?>" alt="<?php echo $value['title'];?>"/><?php } else { ?><img src="<?php echo $_G['style']['imgdir'];?>/nophoto.gif" alt="<?php echo $value['title'];?>"/><?php } ?></a>	
                    </div>
                    <div class="wk_tidings_main_name">
                        <span class="wk_tidings_main_name2"><a href="<?php echo $article_url;?>" target="_blank" title="<?php echo $value['title'];?>"><?php echo $value['title'];?></a></span>
                    </div>
                    <div class="wk_tidings_main_cnt">
                        <span class="wk_tidings_main_cnt2"><?php echo $value['summary'];?></span>
                    </div>
                    <div class="wk_tidings_main_more"><a target="_blank" title="more" href="<?php echo $article_url;?>">more>></a> </div>
                </div>
                <?php } ?>
            </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 class="sd pph">
    	<div class="wk_c_left_t">
            <span class="wk_c_left_t1"><?php echo $week_lang['68'];?></span> <span class="wk_c_left_t2"><?php echo $week_lang['69'];?></span>
        </div>
        <div class="wk_c_left_cnt">
            <ul>
            <?php if($wk_menu) { ?>
            	<?php if($cat['others']) { ?>
                    <?php if(is_array($cat['others'])) foreach($cat['others'] as $value) { ?>                        <li class="wk_menu1_cur"><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(is_array($cat['subs'])) foreach($cat['subs'] as $value) { ?>                        <li class="wk_menu1_cur"><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['others'])) foreach($cat['others'] as $value) { ?>                            <li class="wk_menu1_cur"><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>
        <div class="clear"></div>
        <!--[diy=wk_zcyl1]--><div id="wk_zcyl1" class="area"></div><!--[/diy]-->
        <div class="clear"></div>
<?php if($wk_contact) { include template('portal/contact'); ?>    	<?php } ?>
        <div class="clear"></div>
<!--[diy=wk_zcyl2]--><div id="wk_zcyl2" class="area"></div><!--[/diy]-->
        <div class="clear"></div>
    </div>
</div>
</div>

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