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

@section HeadStyle{
    <link href="~/App_Themes/Skin_Site/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="/CmsHire/index.html">学校相册</a>&gt;
                </span>
            </div>
            <div class="HeightTab clearfix"></div>
            <div class="main">
                <div class="ImageList">
                    @foreach (var item in data.Data)
                    {
                        <div class="ImageBlockBG">
                            <div class="ImageBlock">
                                <a href="@("/CmsImg/" + item.F_TypeId.ToString() + "/" + item.F_Id.ToString() + ".html")" title="@(item.F_Name)" target="_blank">
                                    <img src="@(item.F_Logo.DefaultIsNullOrEmpty("").ChangeToImageUrl(""))" alt="@(item.F_Name)">
                                </a>
                                <p><a href="@("/CmsImg/" + item.F_TypeId.ToString() + "/" + item.F_Id.ToString() + ".html")" title="@(item.F_Name)" target="_blank">@(item.F_Name)</a></p>
                            </div>
                        </div>
                    }
                    <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.CmsImg.ListPage", new { pageindex = "{page}" })))
                            </div>
                        }
                    }
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="HeightTab clearfix"></div>