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

@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="left">
            @{Html.RenderPartial("~/Views/School_Pre/Views/Module/Common/Menu.cshtml");}
            @{Html.RenderPartial("~/Views/School_Pre/Views/Module/CmsHire/_Part/Top10.cshtml");}
        </div>
        <div class="right">
            @{Html.RenderPartial("~/Views/School_Pre/Views/Module/Common/HeadPath.cshtml");}
            <div class="HeightTab clearfix"></div>
            <div class="main">
                <!--content start-->
                <div class="content">
                    <div class="title"><h3>@(data.F_Name.DefaultIsNullOrEmpty(""))</h3></div>
                    <div class="infos">
                        @(data.F_AddDate.ToShortDateString())&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点击：@(data.F_ViewNum.DefaultIsNullOrEmpty(0))
                    </div>
                    <div class="maincontent clearfix">
                        @Html.Raw(data.F_Info.DefaultIsNullOrEmpty(""))
                    </div>
                    <div class="prenext">
                        <ul>
                            @if (pre != null)
                            {
                                <li>
                                    上一篇：
                                    <a href="@("/CmsNews/"+pre.F_TypeId.ToString()+"/"+pre.F_Id.ToString()+".html")" title="@(pre.F_Name.DefaultIsNullOrEmpty(""))">@(pre.F_Name.DefaultIsNullOrEmpty(""))</a>
                                    <span class="ListDate">@(pre.F_AddDate.ToShortDateString())</span>
                                </li>
                            }
                            @if (next != null)
                            {
                                <li>
                                    下一篇：
                                    <a href="@("/CmsNews/"+next.F_TypeId.ToString()+"/"+next.F_Id.ToString()+".html")" title="@(next.F_Name.DefaultIsNullOrEmpty(""))">@(next.F_Name.DefaultIsNullOrEmpty(""))</a>
                                    <span class="ListDate">@(next.F_AddDate.ToShortDateString())</span>
                                </li>
                            }
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="HeightTab clearfix"></div>