{{extends file="../main.htm"}}
{{block name="title"}}{{$_site.name}}{{$cate.NAME}}_37游戏{{/block}}
{{block name="keywords"}}{{/block}}
{{block name="description"}}37游戏{{$_site.name}}网页游戏官网里的{{$cate.NAME}}{{/block}}
{{block name="config_page"}}list{{/block}}
{{block name="content"}}
<div class="body c-body">
    <div class="dark"></div>
    <div class="c-wrap wrap cls">
    <!--header-->
    <div class="header">
       {{include file="../header.htm"}}
    </div>
        <!--side-->
        <div class="side">
            {{include file="../side.htm"}}
            {{include file="../side2.htm"}}
            {{include file="../service.htm"}}
        </div>
        <!--main-->
        <div class="blink main">
            <div class="blink cont-text">
                <div class="cont-nav">
                    <div class="cont-tt">
                        <h1>{{$cate.NAME}}</h1>
                        <p class="cont-tt-sub"><a href="{{$smarty.env.cur_site_data.site_url}}">{{$smarty.env.cur_site_data.name}}</a> &gt; <a href="{{article_cate_link cate_id=$cate.ID}}">{{$cate.NAME}}</a></p>
                    </div>
                    <ul class="cont-nume" id="cont-nume">
                        <li><a href="http://www.37.com/potian/xinwen/">新闻</a></li>
                        <li><a href="http://www.37.com/potian/huodong/">活动</a></li>
                        <li><a href="http://www.37.com/potian/meiti/">媒体</a></li>
                        <li><a href="http://www.37.com/potian/gonglue/">攻略</a></li>
                    </ul>
                </div>
                <div class="cont-text-box">
                    <ul class="article-list">
                        {{foreach $article_list as $item}}
                        <li>
                            <span class="time">[{{$item.PUB_TIME|date_format:"%Y-%m-%d"}}]</span><a href="{{$item.URL}}" title="{{$item.TITLE}}" target="_blank">{{$item.TITLE}}</a>
                        </li>
                        {{/foreach}}
                    </ul>
                    <div class="pageNum">{{$pager}}</div>
                </div>
            </div>
        </div>
    </div>
    <!-- end wrap -->
</div>

{{/block}}
{{block name="add_footer_content" append}}
<script type="text/javascript">
    var type = '{{$cate.NAME}}',
        cate = {
            '新闻公告': 0,
            '活动资讯': 1,
            '媒体消息': 2,
            '游戏攻略': 3
        }
    if (type in cate) {
        $('#cont-nume li').eq(cate[type]).addClass('on').siblings().removeClass('on');
    }
</script>
{{/block}}