@model COMCMS.Core.Article @{ ViewBag.title = "查看/编辑文章详情"; Admin my = Admin.GetMyInfo(); List aclist = new List(); if (my.Roles.IsSuperAdmin != 1 && !string.IsNullOrEmpty(my.Roles.AuthorizedArticleCagegory)) { aclist = Newtonsoft.Json.JsonConvert.DeserializeObject>(string.IsNullOrEmpty(my.Roles.AuthorizedArticleCagegory) ? "[]" : my.Roles.AuthorizedArticleCagegory); } }
@ViewBag.Title
@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "editArticleForm", @class = "form-horizontal m-t" })) {
@if (!string.IsNullOrEmpty(Model.Pic)) { } else { }
@if (!string.IsNullOrEmpty(Model.ItemImg)) { string[] arrimg = Model.ItemImg.Split(new string[] { "|||" }, StringSplitOptions.None); int i = 1; foreach (string s in arrimg) { if (!string.IsNullOrEmpty(s) && COMCMS.Common.Utils.IsImgFilename(s)) {
@if (!string.IsNullOrEmpty(s)) { } else { }
i++; } } }
}