@using System.Data @using ZoomLa.Model @using ZoomLa.Common @using ZoomLa.BLL @using ZoomLa.BLL.Helper @model ZoomLaCMS.Models.Bar.VM_PClass @{ Layout = "_PostBar.cshtml"; DataTable userDT = new B_User().SelectUserByIds(Model.cateMod.BarOwner); M_UserInfo mu = ViewBag.mu; } @section head{ @(Model.cateMod.CateName)_@(Call.SiteName)贴吧 } @section content{
返回社区列表
@Model.cateMod.CateName 主题总数:@Model.tiecount回复数:@Model.recout
@Model.cateMod.Desc
@DateTime.Now.ToString("MM月dd日")
未签到
@if (Model.childCateDT.Rows.Count > 0) {
子版块
@foreach (DataRow dr in Model.childCateDT.Rows) { }
@dr["CateName"] @dr["ItemCount"]/@dr["ReCount"]
最新帖子:@dr["Title"]
回复时间:@DateHelper.ToDate(dr["CDate"])
} @if (Model.setting.itemCount < 1) {
当前还没有内容,快点发一条吧
} else {
@Html.Partial("PClass_PostList", Model)
} @if (Model.auth_send) {
共有主题数@Model.setting.itemCount个,共@Model.setting.pageCount
发表贴子 @if (Model.mu.UserID <= 0) {[匿名发帖模式]}
@if (DeviceHelper.GetAgent(Context.Request.UserAgent()) == DeviceHelper.Agent.PC) {
@MvcHtmlString.Create(Call.GetUEditor("MsgContent_T", 4)) } else { @Html.Partial("Comp/MBEditor",new C_MBEditor() { Title = "发表贴子",ValueControlId="MsgContent_T" }) }
} else {
@if (mu.IsNull) {您未登录,没有发贴权限[点此登录] } else {您没有发贴权限 }
}
@if (Model.auth_barowner) {
@*Bar_Btn_Click*@
取消
} } @section script{ }