Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\DomainInfo\EditIFrame.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditIFrame.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.DomainInfo.EditIFrame" %> <!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.Script("/jquery.1.9.js")%> </head> <body> <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">[????????????????????????????????</span> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmDomainInfo" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style="display: none;"> <th title="<%= Define.Get("DomainInfo_???????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentDomain_Name", IN(this.Domain, this.Domain.Name)) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmDomainInfo [name=ParentDomain]","Edit");" }%> <%= new HtmlHidden("ParentDomain", IN(this.Domain, this.Domain.Guid))%> <a href="#selectDomain" class="decoration-none" onclick="return SelectDomain('#frmDomainInfo [name=ParentDomain]','#frmDomainInfo [name=ParentDomain_Name]')"><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("ParentDomain") %> </td> </tr> <tr> <th title="<%= Define.Get("DomainInfo_?????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("AutoVerify", this.ViewData["_DomainInfo.AutoVerify"], true, false) { Class = ""}%> </td> </tr> <% if (SettingGroup.HasDomain == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_???????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_???????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasDomain", this.ViewData["_DomainInfo.HasDomain"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasSubject == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasSubject", this.ViewData["_DomainInfo.HasSubject"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasMeeting == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasMeeting", this.ViewData["_DomainInfo.HasMeeting"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasLive == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_?????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasLive", this.ViewData["_DomainInfo.HasLive"], true, false) { Class = ""}%> </td> </tr> <% } %> <tr style="display: none;"> <th title="<%= Define.Get("DomainInfo_?????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasAlbum", this.ViewData["_DomainInfo.HasAlbum"], true, false) { Class = ""}%> </td> </tr> <% if (SettingGroup.HasBook == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasBook", this.ViewData["_DomainInfo.HasBook"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasVideoMonitoring == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_?????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasVideoMonitoring", this.ViewData["_DomainInfo.HasVideoMonitoring"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasTeacherSpace == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_??????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasTeacherSpace", this.ViewData["_DomainInfo.HasTeacherSpace"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasWeike == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_?????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasWeike", this.ViewData["_DomainInfo.HasWeike"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasLiveListen == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_?????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasLiveListen", this.ViewData["_DomainInfo.HasLiveListen"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasPublicClass == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_???????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_???????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasPublicClass", this.ViewData["_DomainInfo.HasPublicClass"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasVoiceComment == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasVoiceComment", this.ViewData["_DomainInfo.HasVoiceComment"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasAPP == true) { %> <tr> <th title="<%= Define.Get("DomainInfo_????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasAPP", this.ViewData["_DomainInfo.HasAPP"], true, false) { Class = ""}%> </td> </tr> <% } %> <% if (SettingGroup.HasInstructor) { %> <tr> <th title="<%= Define.Get("DomainInfo_??????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_??????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasInstructor", this.ViewData["_DomainInfo.HasInstructor"], true, false) { Class = ""}%> </td> </tr> <% } %> <tr style="display: none;"> <th title="<%= Define.Get("DomainInfo_?????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasAlbum", this.ViewData["_DomainInfo.HasAlbum"], true, false) { Class = ""}%> </td> </tr> <% if (SettingGroup.HasAPP) { %> <tr> <th title="<%= Define.Get("DomainInfo_????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("HasAPP", this.ViewData["_DomainInfo.HasAPP"], true, false) { Class = ""}%> </td> </tr> <% } %> <tr style="display:none;"> <th title="<%= Define.Get("DomainInfo_??????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_??????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("DomainInfo_Agreement_?????TML?????????????????").ToScriptTag()%>"> <%= new HtmlTextArea("Agreement", this.ViewData["_DomainInfo.Agreement"]) { Class = "ipt-t ipt-t-dft width400 height200" }.Style(new { Width = "600px" })%> </td> </tr> <tr style="display:none;"> <th title="<%= Define.Get("DomainInfo_??????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_??????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("DomainInfo_Copyright_?????TML?????????????????").ToScriptTag()%>"> <%= new HtmlTextArea("Copyright", this.ViewData["_DomainInfo.Copyright"]) { Class = "ipt-t ipt-t-dft width400 height200" }.Style(new { Width = "600px" })%> </td> </tr> <tr> <th>??????LOGO?? <br /> 400*95 </th> <td> <%= new HtmlHidden("MaxLogo", ViewData["_DomainInfo.MaxLogo"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%> <%--<%= new HtmlYKTip("MaxLogo") %>--%> <br /> <a href="#deleteMaxLogo" class="delete-image decoration-none hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a><a href="#uploadMaxLogo" class="decoration-none" onclick="return UploadFile('#frmDomainInfo [name=MaxLogo]','<%= Define.Get("DomainInfo_MaxLogo_???????????ogo???")%>','0','<%= SettingGroup.DomainInfoUploadPath %>','','0','0')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a></td> </tr> <%--<tr> <th>??????LOGO?? <br /> 943*101????? </th> <td>--%> <%--<%= new HtmlHidden("MinLogo", ViewData["_DomainInfo.MinLogo"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%>--%> <%--<%= new HtmlYKTip("MinLogo") %>--%> <%--<br /> <a href="#deleteMinLogo" class="delete-image decoration-none hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a><a href="#uploadMinLogo" class="decoration-none" onclick="return UploadFile('#frmDomainInfo [name=MinLogo]','<%= Define.Get("DomainInfo_MinLogo_???????????ogo???")%>','0','<%= SettingGroup.DomainInfoUploadPath %>','','0','0')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a></td> </tr>--%> <tr style="display:none;"> <th title="<%= Define.Get("DomainInfo_????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("SearchKey", this.ViewData["_DomainInfo.SearchKey"], 256) { Class = "ipt-t ipt-t-dft " }.Style(new { Width = "600px" })%> </td> </tr> <tr style="display:none;"> <th title="<%= Define.Get("DomainInfo_????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("DomainInfo_MaxFooter_?????TML???????????????").ToScriptTag()%>"> <%= new HtmlTextArea("MaxFooter", this.ViewData["_DomainInfo.MaxFooter"]) { Class = "ipt-t ipt-t-dft width400 height200" }.Style(new { Width = "600px" })%> </td> </tr> <tr style="display:none;"> <th title="<%= Define.Get("DomainInfo_????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("DomainInfo_MinFooter_?????TML???????????????").ToScriptTag()%>"> <%= new HtmlTextArea("MinFooter", this.ViewData["_DomainInfo.MinFooter"]) { Class = "ipt-t ipt-t-dft width400 height200" }.Style(new { Width = "600px" })%> </td> </tr> <tr> <th title="<%= Define.Get("DomainInfo_????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("UploadFileType", this.ViewData["_DomainInfo.UploadFileType"], 2000) { Class = "ipt-t ipt-t-dft width400" }%> ??????*.doc,*.docx,*.zip,*.7z,*.pdf,*.ppt,*.pptx,*.xls,*.xlsx,*.rar </td> </tr> <tr> <th title="<%= Define.Get("DomainInfo_????????????").ToScriptTag() %>"> <%= Define.Get("DomainInfo_????????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("UploadVideoType", this.ViewData["_DomainInfo.UploadVideoType"], 2000) { Class = "ipt-t ipt-t-dft width400" }%> ??????*.asf,*.wmv,*.flv,*.rm,*.rmvb,*.mp4,*.avi,*.mpg,*.3gp </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["_DomainInfo"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_DomainInfo"])%></span> </div> <div title="" onclick="GoDomainList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span> </div> </td> </tr> </table> </form> </div> </div> </div> </div> </body> <%= 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/DomainInfoAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmDomainInfo" }); //??????? $("#frmDomainInfo [name=ParentDomain]").formValidator({ targetFocus: "#frmDomainInfo [name=ParentDomain_Name_Code]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("DomainInfo_DomainGuid_????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { DomainInfoAjax.Insert($("#frmDomainInfo"), send, function (json) { document.getElementById("frmDomainInfo").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "EditIframe.aspx?DomainGuid=<%= this.Domain.Guid %>"; }); }; //??? function Update(send) { DomainInfoAjax.Update($("#frmDomainInfo"), send, function (json) { document.getElementById("frmDomainInfo").KEY.value = json.Key alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "EditIframe.aspx?DomainGuid=<%= this.Domain.Guid %>"; }); }; //??? function Delete(send) { var key = document.getElementById("frmDomainInfo").KEY.value; DomainInfoAjax.Delete(key, send, function (json) { window.location.href = "EditIframe.aspx?DomainGuid=<%= this.Domain.Guid %>"; }); }; </script> <script type="text/javascript"> //?????? //??????????? //?????ogo $("#frmDomainInfo [name=MaxLogo]").siblings("img").attr("src", Global.Site + "<%= SettingGroup.DomainInfoUploadPath %>" + $("#frmDomainInfo [name=MaxLogo]").val()); //?????ogo $("#frmDomainInfo [name=MinLogo]").siblings("img").attr("src", Global.Site + "<%= SettingGroup.DomainInfoUploadPath %>" + $("#frmDomainInfo [name=MinLogo]").val()); //??????????? </script> <script type="text/javascript"> //?????? function GoDomainList() { window.parent.location.href = "/Pub/Domain/List.aspx"; } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de