<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationApply.Edit" %> <%= this.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")%>
<% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %>
<% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %>
"> <%= Define.Get("ApplicationApply_申请状态").HtmlEncode() %>: "> <%= new HtmlSelect("ApplyStatus", "Value", "Key") { Disabled=true, Option = typeof(AVA.ResourcesPlatform.Model.Pub.ApplicationApplyApplyStatusEnum) }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_ApplicationApply.ApplyStatus"])%>
"> <%= Define.Get("ApplicationApply_确认用户").HtmlEncode() %>: <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ParentUser, this.ParentUser.TrueName + "[" + this.ParentUser.UserName + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmApplicationApply [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ParentUser == null ? "" : this.ParentUser.Guid)%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentUser") %>
"> <%= Define.Get("ApplicationApply_操作时间").HtmlEncode() %>: <%= new HtmlText("ApplyTime", this.ViewData["_ApplicationApply.ApplyTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%>
"> <%= Define.Get("ApplicationApply_平台编码").HtmlEncode() %>: <%= new HtmlText("DomainCode", this.ViewData["_ApplicationApply.DomainCode"], 256) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("DomainCode") %>
"> <%= Define.Get("ApplicationApply_推送子平台Guid").HtmlEncode() %>: <%= new HtmlText("SubDomainCode", this.ViewData["_ApplicationApply.SubDomainCode"], 32) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("SubDomainCode") %>
"> <%= Define.Get("ApplicationApply_设备名称").HtmlEncode() %>: <%= new HtmlText("RecordEquipmentName", this.ViewData["_ApplicationApply.RecordEquipmentName"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("RecordEquipmentName") %>
"> <%= Define.Get("ApplicationApply_用户名").HtmlEncode() %>: <%= new HtmlText("UserName", this.User == null ? "" : this.User.UserName, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ApplicationParentUser",this.User == null ? "" : this.User.Guid)%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("UserName") %>
"> <%= Define.Get("ApplicationApply_直播日期").HtmlEncode() %>: <%= new HtmlText("ApplicationDate", this.ViewData["_ApplicationApply.ApplicationDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("ApplicationDate") %>
"> <%= Define.Get("ApplicationApply_开始时间").HtmlEncode() %>: <%= new HtmlText("StartTime", this.ViewData["_ApplicationApply.StartTime"].ToDateTimeN().ToTime()) { Class = "ipt-t ipt-t-dft time " }%> <%= new HtmlYKTip("StartTime") %>
"> <%= Define.Get("ApplicationApply_结束时间").HtmlEncode() %>: <%= new HtmlText("EndTime", this.ViewData["_ApplicationApply.EndTime"].ToDateTimeN().ToTime()) { Class = "ipt-t ipt-t-dft time " }%> <%= new HtmlYKTip("EndTime") %>
"> <%= Define.Get("ApplicationApply_创建时间").HtmlEncode() %>: <%= new HtmlText("CreateTime", this.ViewData["_ApplicationApply.CreateTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_直播封面").HtmlEncode() %>: <%= new HtmlHidden("Cover", ViewData["_ApplicationApply.Cover"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%>
','0','<%= SettingGroup.ApplicationApplyUploadPath %>','','960','540')">[<%= DefineEnum.图片上传.Define() %>]
"> <%= Define.Get("ApplicationApply_申请说明").HtmlEncode() %>: <%= new HtmlTextArea("Description", this.ViewData["_ApplicationApply.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%>
"> <%= Define.Get("ApplicationApply_到场人数").HtmlEncode() %>: <%= new HtmlText("NumberOfPeople", this.ViewData["_ApplicationApply.NumberOfPeople"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("NumberOfPeople") %>
"> <%= Define.Get("ApplicationApply_主讲人").HtmlEncode() %>: <%= new HtmlText("Speaker", this.ViewData["_ApplicationApply.Speaker"], 200) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_主题").HtmlEncode() %>: <%= new HtmlText("Title", this.ViewData["_ApplicationApply.Title"], 200) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_是否对外公开").HtmlEncode() %>: "> <%= new HtmlRadio("Share", this.ViewData["_ApplicationApply.Share"].ToInt(-1) == 0, 0, null) { ID = "ApplicationApply_Share_0", Checked = (this.ViewData["_ApplicationApply.Share"].ToIntN() == 0 ? true : false) }.Style(new { Width = "auto" })%> <%= new HtmlRadio("Share", this.ViewData["_ApplicationApply.Share"].ToInt(-1) == 2, 2, null) { ID = "ApplicationApply_Share_2" , Checked = (this.ViewData["_ApplicationApply.Share"].ToIntN() == 2 ? true : false) }.Style(new { Width = "auto" })%> <%= new HtmlYKTip("Share") %> <%-- <%= new HtmlCheckBox("Share", this.ViewData["_ApplicationApply.Share"], 1, 0) { Class = ""}%>--%>
"> <%= Define.Get("ApplicationApply_年级名称").HtmlEncode() %>: <%= new HtmlText("GradeName", this.Grade == null ? "" : this.Grade.Name, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ParentGrade",this.Grade == null ? "" : this.Grade.Guid)%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("GradeName") %>
"> <%= Define.Get("ApplicationApply_视频归档任务").HtmlEncode() %>: <%= new HtmlCheckBox("DownloadAllRecord", this.ViewData["_ApplicationApply.DownloadAllRecord"], true, false) { Class = ""}%>
"> <%= Define.Get("ApplicationApply_归档任务添加时间").HtmlEncode() %>: <%= new HtmlText("DownloadDateTime", this.ViewData["_ApplicationApply.DownloadDateTime"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%>
"> <%= Define.Get("ApplicationApply_直播密码").HtmlEncode() %>: <%= new HtmlText("ViewPassword", this.ViewData["_ApplicationApply.ViewPassword"], 32) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_学科名称").HtmlEncode() %>: <% var categorys = this.ViewData["_ApplicationApply.CategoryName"] == null ? null : this.ViewData["_ApplicationApply.CategoryName"].ToString().Split(","); foreach (var category in this.ListCategory) { %> <% } %> <%--<%= new HtmlText("CategoryName", this.ViewData["_ApplicationApply.CategoryName"], 256) { Class = "ipt-t ipt-t-dft " }%>--%>
"> <%= Define.Get("ApplicationApply_专辑名称").HtmlEncode() %>: <%= new HtmlText("AlbumName", this.ViewData["_ApplicationApply.AlbumName"], 64) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_单元课名称").HtmlEncode() %>: <%= new HtmlText("LessionName", this.Lesson == null ? "" : this.Lesson.Name, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ParentLesson",this.Lesson == null ? "" : this.Lesson.Guid)%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("LessionName") %>
"> <%= Define.Get("ApplicationApply_课程频道名称").HtmlEncode() %>: <% var channles = this.ViewData["_ApplicationApply.ChannelName"] == null ? null : this.ViewData["_ApplicationApply.ChannelName"].ToString().Split(","); foreach (var channle in this.ListChannel) { %> <% } %> <%-- <%= new HtmlText("ChannelName", this.ViewData["_ApplicationApply.ChannelName"], 256) { Class = "ipt-t ipt-t-dft " }%>--%>
"> <%= Define.Get("ApplicationApply_第几节课").HtmlEncode() %>: <%= new HtmlText("Chatper", this.ViewData["_ApplicationApply.Chatper"], 256) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_需要登录观看").HtmlEncode() %>: <%= new HtmlCheckBox("NeetLoginToLive", this.ViewData["_ApplicationApply.NeetLoginToLive"], true, false) { Class = ""}%>
"> <%= Define.Get("ApplicationApply_是否发布高清视频").HtmlEncode() %>: <%= new HtmlCheckBox("IsHDVideo", this.ViewData["_ApplicationApply.IsHDVideo"], true, false) { Class = "", DefaultChecked = false}%>
"> <%= Define.Get("ApplicationApply_录播IP地址").HtmlEncode() %>: <%= new HtmlText("IPAddress", this.ViewData["_ApplicationApply.IPAddress"], 256) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_录播Web端口").HtmlEncode() %>: <%= new HtmlText("WebPort", this.ViewData["_ApplicationApply.WebPort"], 256) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_节目ID").HtmlEncode() %>: <%= new HtmlText("ProgramID", this.ViewData["_ApplicationApply.ProgramID"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("ProgramID") %>
"> <%= Define.Get("ApplicationApply_录播端口号").HtmlEncode() %>: <%= new HtmlText("RecordPort", this.ViewData["_ApplicationApply.RecordPort"], 256) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_录播登录名").HtmlEncode() %>: <%= new HtmlText("LoginName", this.ViewData["_ApplicationApply.LoginName"], 256) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_录播登录密码").HtmlEncode() %>: <%= new HtmlText("Password", this.ViewData["_ApplicationApply.Password"], 256) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_产品类别").HtmlEncode() %>: <%= new HtmlSelect("ProductVersion", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.ApplicationApplyProductVersionEnum) }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_ApplicationApply.ProductVersion"])%> <%= new HtmlYKTip("ProductVersion") %>
"> <%= Define.Get("ApplicationApply_是否转发高清").HtmlEncode() %>: <%= new HtmlCheckBox("IsAgentHD", this.ViewData["_ApplicationApply.IsAgentHD"], true, false) { Class = "", DefaultChecked = false}%>
"> <%= Define.Get("ApplicationApply_直播附件地址").HtmlEncode() %>: <%= new HtmlText("ApplicationAttachment", this.ViewData["_ApplicationApply.ApplicationAttachment"], 2000) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_推送批次").HtmlEncode() %>: <%= new HtmlText("PushNo", this.ViewData["_ApplicationApply.PushNo"], 50) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_直播文件存放地址").HtmlEncode() %>: <%= new HtmlText("ApplicationFileURL", this.ViewData["_ApplicationApply.ApplicationFileURL"], 1000) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("ApplicationApply_排序号")%>: "> <%= new HtmlText("SortNumber", this.ViewData["_ApplicationApply.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
<%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_ApplicationApply"])) { Class = "hidden" }%>
<%--<%= GetSubmitText(this.ViewData["_ApplicationApply"])%>--%>确认通过
<%= DefineEnum.返_回.Define() %>
<%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/XhEditor/xheditor-zh-cn.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/ApplicationApplyAjax.js")%>