Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\VideoApply\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoApply.Edit" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <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="gCnta"> <div class="gCnta-cont"> <div class="g-title-2"> <div class="ico-loading right hidden"> </div> <div title="<%= DefineEnum.?????????.Define().ToScriptTag() %>" class="ico-question right"> </div> <h3 class="txt-14"> <%= Title %></h3> <span class="txt-info">[<a href="#" onclick="GoList();return false;"><%= DefineEnum.???.Define() %></a>]</span> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmVideoApply" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("VideoApply_???????").ToScriptTag() %>"> <%= Define.Get("VideoApply_???????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("VideoApply_ApplyStatus_????????????").ToScriptTag()%>"> <%= new HtmlSelect("ApplyStatus", "Value", "Key") { Disabled = true, Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoApplyApplyStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_VideoApply.ApplyStatus"])%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= 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("#frmVideoApply [name=ParentUser]","Edit");" }%> <%= new HtmlHidden("ParentUser", this.ParentUser == null ? "" : this.ParentUser.Guid)%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmVideoApply [name=ParentUser]','#frmVideoApply [name=ParentUser_TrueName_UserName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentUser") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ApplyTime", this.ViewData["_VideoApply.ApplyTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("UserName", this.User == null ? this.ViewData["_VideoApply.UserName"] : this.User.UserName, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("VideoParentUser",this.User == null ? "" : this.User.Guid)%> <a href="#selectUser" class="decoration-none" onclick="return SelectUser('#frmVideoApply [name=VideoParentUser]','#frmVideoApply [name=UserName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("UserName") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CategoryName", this.Category == null ? this.ViewData["_VideoApply.CategoryName"] : this.Category.Name, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ParentCategory",this.Category == null ? "" : this.Category.Guid)%> <a href="#selectCategory" class="decoration-none" onclick="return SelectCategoryLast('#frmVideoApply [name=ParentCategory]','#frmVideoApply [name=CategoryName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("CategoryName") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("GradeName", this.Grade == null ? this.ViewData["_VideoApply.GradeName"] : this.Grade.Name, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ParentGrade",this.Grade == null ? "" : this.Grade.Guid)%> <a href="#selectGrade" class="decoration-none" onclick="return SelectGrade('#frmVideoApply [name=ParentGrade]','#frmVideoApply [name=GradeName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("GradeName") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("LessionName", this.Lesson == null ? this.ViewData["_VideoApply.LessionName"] : this.Lesson.Name, 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ParentLesson",this.Lesson == null ? "" : this.Lesson.Guid)%> <a href="#selectLesson" class="decoration-none" onclick="return SelectLesson('#frmVideoApply [name=ParentLesson]','#frmVideoApply [name=LessionName]',$('#frmVideoApply [name=ParentCategory]').val())"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("LessionName") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("PressName", this.Press == null ? this.ViewData["_VideoApply.PressName"] : this.Press.Name, 256) { ReadOnly = true, Class = "ipt-t ipt-t-dft"}%> <%= new HtmlHidden("ParentPress", this.Press == null ? "" : this.Press.Guid)%> <a href="#selectPress" class="decoration-none" onclick="return SelectPress('#frmVideoApply [name=ParentPress]','#frmVideoApply [name=PressName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("PressName") %> </td> </tr> <tr> <th title="????<%= Define.Get("Client_???")%>"> ????<%= Define.Get("Client_???")%>?? </th> <td> <%= new HtmlText("AlbumName", this.Album == null ? "":this.Album.Name) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("PushNo", this.Album == null ? "" : this.Album.Guid)%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Name", this.ViewData["_VideoApply.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("FileName", this.ViewData["_VideoApply.FileName"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("FileName") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ApplicationTitle", this.Application == null ? this.ViewData["_VideoApply.ApplicationTitle"] : this.Application.Title, 200) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlHidden("ParentApplication", this.Application == null ? "" : this.Application.Guid)%> <a href="#selectApplication" class="decoration-none" onclick="return SelectApplication('#frmVideoApply [name=ParentApplication]','#frmVideoApply [name=ApplicationTitle]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_???").ToScriptTag() %>"> <%= Define.Get("VideoApply_???").HtmlEncode() %>?? </th> <td> <%= new HtmlHidden("Cover", ViewData["_VideoApply.Cover"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%> <br /> <a href="#deleteCover" class="delete-image decoration-none hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#uploadCover" class="decoration-none" onclick="return UploadFile('#frmVideoApply [name=Cover]','<%= Define.Get("VideoApply_Cover_?????????????????")%>','0','<%= SettingGroup.VideoApplyUploadPath %>','','290','230')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_????").ToScriptTag() %>"> <%= Define.Get("VideoApply_????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Summary", this.ViewData["_VideoApply.Summary"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("FileType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoApplyFileTypeEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_VideoApply.FileType"])%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("FileSize", this.ViewData["_VideoApply.FileSize"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("FileSize") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Period", this.ViewData["_VideoApply.Period"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Period") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_???").ToScriptTag() %>"> <%= Define.Get("VideoApply_???").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_VideoApply.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("RecTime", this.ViewData["_VideoApply.RecTime"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("RecTime") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_VideoApply.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("VideoConvertStatus", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoApplyVideoConvertStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_VideoApply.VideoConvertStatus"])%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_????????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasDownload", this.ViewData["_VideoApply.HasDownload"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("TeacherRatio", this.ViewData["_VideoApply.TeacherRatio"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("TeacherRatio") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("StudentRatio", this.ViewData["_VideoApply.StudentRatio"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("StudentRatio") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("TransferRatio", this.ViewData["_VideoApply.TransferRatio"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("TransferRatio") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("TeachingType", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.VideoApplyTeachingTypeEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_VideoApply.TeachingType"])%> <%= new HtmlYKTip("TeachingType") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_??????").ToScriptTag() %>"> <%= Define.Get("VideoApply_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CaptionsFile", this.ViewData["_VideoApply.CaptionsFile"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <%-- <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("HDURL", this.ViewData["_VideoApply.HDURL"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("NRURL", this.ViewData["_VideoApply.NRURL"], 256) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoFileName", this.ViewData["_VideoApply.VideoFileName"], 1000) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoAttachment", this.ViewData["_VideoApply.VideoAttachment"], 2000) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoTimeInfo", this.ViewData["_VideoApply.VideoTimeInfo"], 16) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoTimeInfoOther", this.ViewData["_VideoApply.VideoTimeInfoOther"], 16) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoSW", this.ViewData["_VideoApply.VideoSW"], 16) { Class = "ipt-t ipt-t-dft " }%> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_???????????").ToScriptTag() %>"> <%= Define.Get("VideoApply_???????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoSWPattern", this.ViewData["_VideoApply.VideoSWPattern"], 16) { Class = "ipt-t ipt-t-dft " }%> </td> </tr>--%> <%--<tr> <th title="<%= Define.Get("VideoApply_???????").ToScriptTag() %>"> <%= Define.Get("VideoApply_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("PushNo", this.ViewData["_VideoApply.PushNo"], 50) { Class = "ipt-t ipt-t-dft " }%> </td> </tr>--%> <tr> <th title="<%= Define.Get("VideoApply_????????Guid").ToScriptTag() %>"> <%= Define.Get("VideoApply_????????Guid").HtmlEncode() %>?? </th> <td> <%= new HtmlText("SubDomainCode", this.ViewData["_VideoApply.SubDomainCode"], 32) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("SubDomainCode") %> </td> </tr> <tr> <th title="<%= Define.Get("VideoApply_?????").ToScriptTag() %>"> <%= Define.Get("VideoApply_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("VideoApply_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_VideoApply.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_VideoApply"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_VideoApply"])%></span></div> <div onclick="Apply(this);" class="btn btn-dft btn-dft-impt"> <span> ??????</span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html> <%= 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/VideoApplyAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmVideoApply" }); //????? $("#frmVideoApply [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("VideoApply_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("VideoApply_SortNumber_???????????").ToScriptChar() %>" } }); //????? $("#frmVideoApply [name=UserName]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("VideoApply_UserName_?????????").ToScriptChar() %>" } }); //?????? $("#frmVideoApply [name=CategoryName]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("VideoApply_CategoryName_???????????").ToScriptChar() %>" } }); //???????? //$("#frmVideoApply [name=LessionName]").formValidator({ // validatorGroup: "Edit", // rules: // { // required: null // }, // message: // { // required: "<%= Define.Get("VideoApply_LessionName_????????????").ToScriptChar() %>" // } //}); //???????? //$("#frmVideoApply [name=PressName]").formValidator({ // validatorGroup: "Edit", // rules: // { // required: null // }, // message: // { // required: "<%= Define.Get("VideoApply_PressName_????????????").ToScriptChar() %>" // } //}); //?????? //$("#frmVideoApply [name=GradeName]").formValidator({ // validatorGroup: "Edit", // rules: // { // required: null // }, // message: // { // required: "<%= Define.Get("VideoApply_GradeName_???????????").ToScriptChar() %>" // } //}); //?????? $("#frmVideoApply [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("VideoApply_Name_???????????").ToScriptChar() %>" } }); //?????? $("#frmVideoApply [name=FileName]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("VideoApply_FileName_???????????").ToScriptChar() %>" } }); //?????? $("#frmVideoApply [name=FileSize]").formValidator({ validatorGroup: "Edit", rules: { regex: "num1" }, message: { regex: "<%= Define.Get("VideoApply_FileSize_???????????").ToScriptChar() %>" } }); //???????? $("#frmVideoApply [name=Period]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("VideoApply_Period_????????").ToScriptChar() %>", regex: "<%= Define.Get("VideoApply_Period_???????????").ToScriptChar() %>" } }); //??? //$("#frmVideoApply [name=Copyright]").formValidator({ // validatorGroup: "Edit", //rules: //{ // required: null //}, //message: //{ // required: "<%= Define.Get("VideoApply_Copyright_????????").ToScriptChar() %>" //} //}); //?????? //$("#frmVideoApply [name=Share]").formValidator({ // validatorGroup: "Edit", //rules: //{ // required: null //}, //message: //{ // required: "<%= Define.Get("VideoApply_Share_???????????").ToScriptChar() %>" //} //}); //?????? $("#frmVideoApply [name=RecTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "date" }, message: { required: "<%= Define.Get("VideoApply_RecTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("VideoApply_RecTime_??????????????").ToScriptChar() %>" } }); //?????? $("#frmVideoApply [name=CreateTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("VideoApply_CreateTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("VideoApply_CreateTime_??????????????").ToScriptChar() %>" } }); //?????? $("#frmVideoApply [name=TeacherRatio]").formValidator({ validatorGroup: "Edit", rules: { regex: "num1" }, message: { regex: "<%= Define.Get("VideoApply_TeacherRatio_????????????").ToScriptChar() %>" } }); //?????? $("#frmVideoApply [name=StudentRatio]").formValidator({ validatorGroup: "Edit", rules: { regex: "num1" }, message: { regex: "<%= Define.Get("VideoApply_StudentRatio_????????????").ToScriptChar() %>" } }); //????? $("#frmVideoApply [name=TransferRatio]").formValidator({ validatorGroup: "Edit", rules: { regex: "num1" }, message: { regex: "<%= Define.Get("VideoApply_TransferRatio_???????????").ToScriptChar() %>" } }); //?????? $("#frmVideoApply [name=TeachingType]").formValidator({ validatorGroup: "Edit", rules: { regex: "num1" }, message: { regex: "<%= Define.Get("VideoApply_TeachingType_????????????").ToScriptChar() %>" } }); //?????? $("#frmVideoApply [name=ParentUser]").formValidator({ targetFocus: "#frmVideoApply [name=ParentUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "???????????" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { VideoApplyAjax.Insert($("#frmVideoApply"), send, function (json) { document.getElementById("frmVideoApply").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { VideoApplyAjax.Update($("#frmVideoApply"), send, function (json) { document.getElementById("frmVideoApply").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmVideoApply").KEY.value; VideoApplyAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??? $("#frmVideoApply [name=Cover]").siblings("img").attr("src", Global.Site + "<%= SettingGroup.VideoApplyUploadPath %>" + $("#frmVideoApply [name=Cover]").val()); //??????????? </script> <script type="text/javascript"> //?????? function Apply(send) { VideoApplyAjax.Apply($("#frmVideoApply"), send, function (json) { document.getElementById("frmVideoApply").KEY.value = json.Key; alert("?????????"); GoList(); }); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de