@using GBLab.Common.Expand;
@using System.Text;
@{
    Layout = "~/Views/School_Pre/Shared/_Layout.cshtml";
    var data = ViewData["data"] as GBLab.Entities.T_CmsNewsPager;
    var top10data = ViewData["top10data"] as List<GBLab.Entities.T_CmsNews>;
}

@section HeadStyle{
    <link href="~/Resource/Skin/School_Pre/css/inner.css?v=@(ViewBag.Version)" rel="stylesheet" type="text/css" />
}

<div id="body">
    <div id="InnerBanner">
    </div>
    <div class="HeightTab clearfix"></div>
    <div class="inner">
        <div class="right" style="width:1080px;">
            <div class="Position">
                <span>
                    你的位置：
                    <a href="/default.html">首页</a> &gt;
                    <a href="/CmsNews/index.html">网站资讯</a>&gt;
                </span>
            </div>
            <div class="HeightTab clearfix"></div>
            <div class="main">
                <div class="ArticleList">
                    <table border="0" cellspacing="0" cellpadding="0" style="width:100%">
                        <tbody>
                            @foreach (var item in data.Data)
                            {
                                <tr>
                                    <td width="90%" class="fw_t">·<a href="@("/CmsNews/"+item.F_TypeId.ToString()+"/"+item.F_Id.ToString()+".html")" target="_blank">@(item.F_Name)</a></td>
                                    <td width="10%" class="fw_s">[@(item.F_AddDate.ToShortDateString())]</td>
                                </tr>
                            }
                            <tr>
                                <td colspan="3" height="10"></td>
                            </tr>
                        </tbody>
                    </table>
                    <div class="clearfix"></div>
                    @{
                        if (data.rowCount > 10)
                        {
                            <div class="t_page ColorLink">
                                @(Html.GetPagerPtAnfu(Html.TranPager(data.currentPage, data.resultPage, data.pageSize, data.rowCount), Url.Domain_RouteUrl("Site.CmsNews.ListPage", new { pageindex = "{page}" })))
                            </div>
                        }
                    }
                </div>
            </div>
        </div>
    </div>
</div>
<div class="HeightTab clearfix"></div>