Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\Video\PushVideoList.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PushVideoList.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Video.PushVideoList" %> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gIbx"> <div class="mContent"> <div id="dvToolbar_inbox" class="g-toolbar"> <div class="btngrp"> <div style="margin-top: 5px;"> <form id="frmSearch" action="" onSubmit="return false;"> <%# 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("Client_???")%> <%= 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", "EXISTS (SELECT VideoGuid FROM Pub_AlbumVideo WHERE AlbumGuid = {value} AND VideoGuid = {alias}.Guid)")%> --%> <%--MySql?--%> <%= new HtmlHidden("$ExpressionKey", AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_Video_PushVideoList_ExpressionKey())%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Eq)%> <%= new HtmlSelect("$FieldValue", "Name", "Guid", "Guid") { Option = CreateInstance.AlbumDao.Where(l => 1 == 1).ToList() }.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_UserTrueName_??????").HtmlEncode() %>?? <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_User")%> <%= new HtmlHidden("$Field", "TrueName")%> <%= 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")%> <%# Define.Get("Video_UserUserName_?????").HtmlEncode() %>?? <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_User")%> <%= new HtmlHidden("$Field", "UserName")%> <%= 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")%> <%# 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")%> <%= new HtmlSubmit(null, null) { OnClick = "GoSearch(this);" }.Style(new { Display = "none" })%> </form> <form id="frmQuery" action="" onSubmit="return false;"> <%= new HtmlHidden("PageIndex", "1") %> <%= new HtmlHidden("PageSize", 30)%> <%= new HtmlHidden("Orders", null)%> <%= new HtmlHidden("", null) { ID = "SearchParameter" }%> </form> </div> </div> <div class="btngrp"> <div onClick="GoSearch(this);" class="btn btn-dft btn-dft-gl" style="margin-left:10px;"> <span> <%= DefineEnum.???.Define() %></span> </div> <div class="s_NoF_and_MT" style="float:left;"> <span style="margin-left:10px;">??????????<%= Define.Get("Client_???")%>?? <%= new HtmlSelect("PushNo", "Name", "Guid", "Guid") { Option = this.ListMasterAlbum }.InsertOption("::" + DefineEnum.???.Define() + "::", "", 0)%> </span> </div> <div class="btn btn-dft btn-dft-gl" title="?????????????" onClick="PushVideoData(this);"> <span> ???????</span> </div> <div class="btn btn-dft btn-dft-gr" title="??????????" onClick="GoPushRemark(this);"> <span> ??????????</span> </div> </div> <div class="btngrp btngrp-ext"> <div title="" onClick="GoColumn()" class="btn btn-dft"> <span> <%= DefineEnum.?????.Define() %></span> </div> </div> </div> <div style="clear: both"> </div> <div class="ln-thin ln-c-mid"> </div> <div id="dvTitleinbox"> <div class="g-title-1"> <div class="fn-fle"> <h2> <%= Title %> </h2> <span class="txt-info"> <%= DefineEnum._???__strong__span_id____pageRecord____span___strong__.Define() %></span> </div> <div class="title-ext"> <a id="pageFirst" hidefocus="true"> <%= DefineEnum.???.Define() %></a> <a id="pagePrev" hidefocus="true"> <%= DefineEnum.?????.Define()%></a> <a id="pageNext" hidefocus="true"> <%= DefineEnum.?????.Define()%></a> <a id="pageLast" hidefocus="true"> <%= DefineEnum.???.Define()%></a> <select id="pageList"> </select> </div> </div> </div> <div class="gIbx-tablayout"> <div class="txt-12 listContainer" id="list" style="overflow-y:hidden;overflow-x:auto; padding-bottom:10px"> </div> </div> </div> </div> </div> <div style="clear: both"> </div> <div id="divViewDefine" class="gSys-msg-win" style="display: none; right: 10px; top: 45px;"> <div class="fn-bgx bg-main-2 hd" style="cursor: default"> <h4> <%= DefineEnum.????????????????????????.Define() %> </h4> <a title="<%= DefineEnum.???.Define() %>" hidefocus="true" class="fn-bg Aclose" href="#close" onclick="this.parentNode.parentNode.style.display='none';return false;"> <%= DefineEnum.???.Define() %></a> </div> <div class="cont bdr-c-dark"> <div class="gSys-inner-dict"> <form id="frmViewDefine" action="" onSubmit="return false;"> <div class="result bdr-c-mid"> <div class="inside"> <%= new HtmlHidden("KEY",KEY) %> <ul id="ulViewDefine"> <% Type t = typeof(AVA.ResourcesPlatform.AdminUI.Pub.Video.List1); var list = UserControlDefine.GetListViewDefine(UserCode, t.FullName, AVA.ResourcesPlatform.AdminUI.Pub.Video.List1.LISTRPT); foreach (var item in list) { %> <li> <%= new HtmlHidden("Column", item.ColumnName)%> <%= new HtmlCheckBox() { Name = "Sel", Checked = item.Selected, Value=1, UnValue=0, Disabled = item.Require }%> <%= new HtmlHidden() { Name = "Sort", Value=item.SortNumber }%> <%= item.ColumnDescription %> </li> <% } %> </ul> </div> </div> <div class="ft bdr-c-dark bg-cont"> <div class="sup"> </div> <div class="opt"> <div onClick="ViewDefine(this);" class="btn btn-dft btn-dft-impt"> <span> <%= DefineEnum.????.Define() %></span> </div> <div onClick="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display='none';return false;" class="btn btn-dft"> <span id="txtMsgBoxOk"> <%= DefineEnum.????.Define() %></span> </div> </div> </div> </form> </div> </div> </div> <div style="clear: both"> </div> <div id="divSearch" class="gSys-msg-win search" style="display: none; top: 72px; margin: 0 auto;"> <div id="dvMsgHead" class="fn-bgx bg-main-2 hd"> <h4> <%= DefineEnum.????????.Define() %></h4> <a title="<%= DefineEnum.????.Define() %>" hidefocus="true" class="fn-bg Aclose" id="A1" href="#close" onClick="this.parentNode.parentNode.style.display='none';return false;"> <%= DefineEnum.???.Define() %></a> </div> <div class="cont bdr-c-dark"> <div class="gSys-inner-dict"> <form id="frmAdvancedQuery" action="" onSubmit="return false;"> <div class="result bdr-c-mid"> <div class="inside"> <div> <table style="width: 100%" cellpadding="0px" cellspacing="0px" class="g-table-comm"> <tr class="thead"> <th style="border-left-width: 0px;">??? </th> <th>??? </th> <th>??? </th> <th>???? </th> <th>??? </th> <th>??? </th> <th align="left" style="width: 120px; text-align: left;"> <div title="" onClick="AddQueryParameter(this);" class="btn btn-dft"> <span> <%= DefineEnum.???.Define() %></span> </div> </th> </tr> </table> </div> </div> </div> <div class="ft bdr-c-dark bg-cont"> <div class="sup"> </div> <div class="opt"> <%= new HtmlSubmit("Send", null, "AdvancedSearch(this);") { Class = "hidden" }%> <div title="" onClick="AdvancedSearch(this);" class="btn btn-dft btn-dft-impt"> <span> <%= DefineEnum.????.Define() %></span> </div> <div id="Div2" title="" onClick="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display='none';return false;" class="btn btn-dft"> <span id="Span1"> <%= DefineEnum.????.Define() %></span> </div> </div> </div> </form> </div> </div> </div> </div></div></div></div></body> </html> <%= 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")%> <script type="text/javascript"> //?????? </script> <script type="text/javascript"> function GetAdvancedQueryParams(send) { $("#frmSearch [name='$FieldValue']").val(""); $("#SearchParameter").val(Global.GetFormValue($("#frmAdvancedQuery"))); Search(); } function AddQueryParameter(send) { Global.HtmlControl("/Pub/Video/QueryParameterContainer", null, send, function (result) { $(send).parent().parent().after(result.Html); }); } function GetQueryParamter(send) { Global.HtmlControl("/Pub/Video/QueryParameter", "Key=" + encodeURIComponent(send.value), send, function (result) { $(send).parent().find("div").html(result.Html); Global.HtmlControl("/QueryTypeContainer", "Key=" + encodeURIComponent($(send).parent().find("div [name='$FieldType']").val()), send, function (resultFieldType) { $(send).parent().parent().find(".queryTypeContainer").html(resultFieldType.Html); }); var dicKey = $(send).find("option:selected").attr("lang"); if (typeof (dicKey) != "undefined" && dicKey != "") { Global.HtmlControl("/Pub/Video/QueryParameterDictionary", "Key=" + encodeURIComponent(dicKey), send, function (resultDictionary) { $(send).parent().parent().find(".fieldContainer").html(resultDictionary.Html); }); } else { $(send).parent().parent().find(".fieldContainer").html("<input type=\"text\" name=\"$FieldValue\" />"); } }); } function DeleteQueryParameter(send) { $(send).parent().parent().remove(); } </script> <script type="text/javascript"> //??????AJAX??? //??? function GoSearch(send) { $("#SearchParameter").val(Global.GetFormValue($("#frmSearch"))); Search(send); } function AdvancedSearch(send) { $("#frmSearch [name='$FieldValue']").val(""); $("#SearchParameter").val(Global.GetFormValue($("#frmAdvancedQuery"))); Search(); } function Search(send) { $("#divSearch").hide(); var params = $("#SearchParameter").val(); if (params != null && params != "") { params += "&"; } params += Global.GetFormValue($("#frmQuery")); $("#list").html(Global.LodingHtml); Global.UserControl("/Pub/Video/PushVideoList", params, send, function (result) { $("#list").html(result.Html); YKPage(result.Data); ListInit(); }); }; //??? function Delete(send) { var key = send.getAttribute("key"); VideoAjax.Delete(key, send, function () { Search(); }); }; //?????? function BatchDelete(send, key) { VideoAjax.BatchDelete(key, null, function () { Search(); }); }; //?????? function BatchExamine(send, key) { VideoAjax.BatchExamine(key, null, function () { Search(); }); }; //?????? function BatctVideoConvert(send, key) { VideoAjax.BatctVideoConvert(key, null, function () { Search(); }); }; function GoBatctVideoConvert() { var items = null; if (typeof (arguments[0]) != "undefined") { items = $("#" + arguments[0] + " .trsel:checked"); } else { items = $("#list .trsel:checked"); } var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { if (confirm("????????????????") == true) { if (typeof (arguments[1]) != "undefined") { var result = eval(arguments[1] + "(this, key)"); } else { var result = BatctVideoConvert(this, key); } } } else { alert("???????????????"); } }; function GoBatchExamine() { var items = null; if (typeof (arguments[0]) != "undefined") { items = $("#" + arguments[0] + " .trsel:checked"); } else { items = $("#list .trsel:checked"); } var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { if (confirm("????????????????") == true) { if (typeof (arguments[1]) != "undefined") { var result = eval(arguments[1] + "(this, key)"); } else { var result = BatchExamine(this, key); } } } else { alert("???????????????"); } }; </script> <script type="text/javascript"> //?????? </script> <script type="text/javascript"> //?????? //?????????? function GoPushRemark() { window.location.href = "/Pub/PushRemark/List.aspx?muid=95401325e50c4eb7934b96f33b73f43e"; } //????????????? function PushVideoData(send) { //var pushNo = $("input[name='PushNo']").val(); var items = $("#list .trsel:checked"); var key = ""; for (var i = 0; i <= items.length - 1; i++) { key += "pkid=" + encodeURIComponent(items[i].value); if (i != items.length - 1) { key += "&"; } } if (key != "") { var pushNo = $("select[name='PushNo']").val(); if (pushNo == "1") { alert($("select[name='PushNo']").find("option:selected").text()); return; } if (confirm("?????????????????????????????????????????????????")) { //if (pushNo == "") { // if (confirm("???????????????????")) { // PushVideo(send, key, pushNo); // } // else { // $("input[name='PushNo']").focus(); // } //} //else { PushVideo(send, key, pushNo); //} } } else { alert("????????????????"); } } //???????? function PushVideo(send, key, pushNo) { $.ajax({ cache: false, type: "POST", url: Global.Site + "/Pub/Video/PushVideoList.aspx?info=PushVideoData&" + key + "&pushNo=" + pushNo, async: true, dataType: 'json', success: function (result) { $(send).children("span").html("???????"); alert(result); Global.Disabled(send, false); window.location.href = "/Pub/PushRemark/List.aspx?muid=95401325e50c4eb7934b96f33b73f43e"; }, beforeSend: function () { $(send).children("span").html("?????..."); Global.Disabled(send, true); }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).children("span").html("???????"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } //???????? //var GOSEARCHDEFINE = true; </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de