<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Select.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Video.Select" %> <%= this.Title %> <%= Import.Theme() %> <%= Import.Script("/jquery.1.9.js")%>
<%# Define.Get("Video_状态").HtmlEncode() %>: <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "Status")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Eq)%> <%= new HtmlSelect("$FieldValue", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum) }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0)%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <%# Define.Get("Video_视频名称").HtmlEncode() %>: <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "Name")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Like)%> <%= new HtmlText("$FieldValue", null) { Width = 80 }%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <% if (!string.IsNullOrEmpty(ParentUser)) { %> <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_User")%> <%= new HtmlHidden("$Field", "Guid")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Eq)%> <%= new HtmlHidden("$FieldValue", this.ParentUser) %> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <% } %> <% if (!string.IsNullOrEmpty(this.Type) && !string.IsNullOrEmpty(this.TargetGuid)) { string expressionKey = ""; switch(this.Type) { case "Subject": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_SubjectVideo Pub_SubjectVideoTemp WHERE (VideoGuid = {_Alias}.Guid AND SubjectGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_Video_Select_Subject(); break; case "PublicClass": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_PublicClassVideo Pub_PublicClassVideoTemp WHERE (VideoGuid = {_Alias}.Guid AND PublicClassGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_Video_Select_PublicClass(); break; case "Album": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_AlbumVideo Pub_AlbumVideoTemp WHERE (VideoGuid = {_Alias}.Guid AND AlbumGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_Video_Select_Album(); break; case "STUser": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_STUserVideo Pub_STUserVideoTemp WHERE (VideoGuid = {_Alias}.Guid AND SubjectGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_Video_Select_STUser(); break; default: expressionKey = null; return; } %> <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "Guid")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", expressionKey)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Eq)%> <%= new HtmlHidden("$FieldValue", this.TargetGuid) { Width = 80 }%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <% } %> <%= new HtmlSubmit(null, null) { OnClick = "GoSearch(this);" }.Style(new { Display = "none" })%>
<%= new HtmlHidden("PageIndex", "1") %> <%= new HtmlHidden("PageSize", SettingGroup.ManagerDefine.SelectListCount)%> <%= new HtmlHidden("Orders", null)%> <%= new HtmlHidden("", null) { ID = "SearchParameter" }%>
<%= DefineEnum.查询.Define() %>
<%= DefineEnum.高级查询.Define() %>
<%= DefineEnum.列表项.Define() %>

<%= Title %>

<%= DefineEnum._总共__strong__span_id____pageRecord____span___strong__.Define() %>
<%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/Global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/VideoAjax.js")%> <%= Import.Script("js", "/Ajax/Sys/ManagerViewDefineAjax.js")%>