Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\Themes\DefaultTheme\Control\My\MySkin.ascx
??<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySkin.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySkin" %> <div id="style_wrap"> <div id="style"> <form id="frmSkin" method="post" action="" onsubmit="return false;"> <div class="setting"> <div class="setting-tool"> <div class="tabbody"> <h3 class="caption"> ??????</h3> <div class="setting-style"> <div class="options"> <strong>??????</strong> <div class="base"> <ul id="skinSet"> <li class="items" skinid="1"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/default.gif"))%></a></li> <li class="items" skinid="2"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/1.gif"))%> </a></li> <li class="items" skinid="3"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/2.gif"))%></a></li> <li class="items" skinid="4"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/3.gif"))%></a></li> <li class="items" skinid="5"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/4.gif"))%></a></li> <li class="items" skinid="6"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/5.gif"))%></a></li> <li class="items" skinid="7"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/6.gif"))%></a></li> <li class="items" skinid="8"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/7.gif"))%></a></li> <li class="items" skinid="9"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/8.gif"))%></a></li> <li class="items" skinid="10"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/9.gif"))%></a></li> <li class="items" skinid="11"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/10.gif"))%></a></li> <li class="items" skinid="12"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/11.gif"))%></a></li> <li class="items" skinid="13"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/12.gif"))%></a></li> <li class="items" skinid="14"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/13.gif"))%></a></li> <li class="items" skinid="15"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/14.gif"))%></a></li> <li class="items" skinid="16"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/15.gif"))%></a></li> <li class="items" skinid="17"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/16.gif"))%></a></li> <li class="items" skinid="18"><a href="javascript:void(0);"> <%= new HtmlImg(Import.CSSFile("skins/17.gif"))%></a></li> </ul> <%= new HtmlHidden("Skin", this.UserStyle.Skin)%> </div> <script type="text/javascript"> $.map($("#skinSet a"), function (item) { if ($(item).parent().attr("skinid") == $("#frmSkin [Name=Skin]").val()) { $(item).parent().addClass("current"); } else { $(item).parent().removeClass("current"); } $(item).bind("click", function () { $("#skinSet li").removeClass("current"); $(this).parent().addClass("current"); $("#frmSkin [Name=Skin]").val($(this).parent().attr("skinid")); }); }); </script> <div class="showhandle"> ?????? </div> <div style="" id="advanced" class="advanced"> <div class="gm"> <div class="general"> <strong>???:</strong> <ul> <li> <label> ??????</label> <div class="value"> <div style="background: none repeat scroll 0% 0% rgb(255, 255, 255);" class="colorblock"> </div> <%= new HtmlText("Background", this.UserStyle.Background) { Class = "txt colorpicker" }%> </div> </li> </ul> </div> </div> <div class="picture"> <strong>??????:</strong> <ul> <li> <div> <%= new HtmlHidden("BackgroundImg", null)%> <div> <%= new SingleUploadInstance(this) { UploadTag = "BackgroundImg", Accept = "image/*", UploadControlName="?????????"}.ToHtml()%> <%-- <%= new SingleUploadInstance(this) { UploadTag = "BackgroundImg", InitParams = "FileFilter=??????(*.jpg;*.gif;*.png;)|*.jpg;*.gif;*.png,DefaultColor=#FFFFFFFF,SelectFiles=?????????,Upload=?????????" }.ToHtml()%> --%> <script type="text/javascript"> function UploadFinishedBackgroundImg(fileName, fileSize) { $("#frmSkin [Name=BackgroundImg]").val(fileName); } </script> </div> </div> <div> <%= new HtmlSelect("BgRepeat", "Value", "Key", "Key") { Option = this.ListBgRepeat, SelectedValue = this.UserStyle.BgRepeat }%> <%= new HtmlSelect("BgAttachment", "Value", "Key", "Key") { Option = this.ListBgAttachment, SelectedValue = this.UserStyle.BgAttachment }%> </div> <div class="notice"> *??????????????????????? </div> </li> </ul> </div> <div class="clear"> </div> </div> </div> <!--options end--> <div class="action"> <%= new HtmlSubmit("??????", null, "SkinClient(this);")%> </div> </div> </div> <!-- .tabbody --> </div> <!-- .setting-tool --> </div> <!-- .setting --> </form> </div> </div> <script type="text/javascript"> function SkinClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.Skin", data: Global.GetFormValue($("#frmSkin")), async: true, dataType: 'json', success: function (result) { $(send).val("??????"); alert("?????????"); Global.Disabled(send, false); }, beforeSend: function () { $(send).val("??????..."); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("??????"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); } }); } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de