<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.Marking.MarkingMark" %> <% if (this.UserCode != null) { var user = CreateInstance.UserDao.Get(this.UserCode); //if (user.ParentUserType.InstructorEnable == true) //{ %> <% if (this.MKType == (int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.推荐) { %> <%--是否推荐--%> <% } else if (this.MKType == (int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.置顶) { %> <%--是否置顶--%> <% } else { throw new Z.Core.Tools.ExceptionMessage("未定义MKType"); } %>
"> <%--<%="Marking"+this.MKType.ToString() %>--%> <% var push_count = CreateInstance.MarkingDao.Count(l => l.MKType == (int)AVA.ResourcesPlatform.Model.Pub.MarkingMKTypeEnum.推荐 && l.MKType == this.MKType && l.MKGuid == this.MKGuid); %> (<%= push_count %>)
<% //} } %>