|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/db077941/683ac232/ |
?#pragma checksum "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "34DA627AF3437714B9A9C244BB6F4080"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具天生。
// 运行时版本:2.0.50727.9066
//
// 对此文件的更改可能会导致不正确的行为,并且若是
// 沉新天生代码,这些更改将会迷失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ASP {
#line 285 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Web.Profile;
#line default
#line hidden
#line 280 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Text.RegularExpressions;
#line default
#line hidden
#line 282 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Web.Caching;
#line default
#line hidden
#line 278 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Configuration;
#line default
#line hidden
#line 277 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Collections.Specialized;
#line default
#line hidden
#line 3 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
using System.Web.UI.WebControls.WebParts;
#line default
#line hidden
#line 289 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Web.UI.HtmlControls;
#line default
#line hidden
#line 3 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
using System.Web.UI.WebControls;
#line default
#line hidden
#line 3 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
using System.Web.UI;
#line default
#line hidden
#line 276 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Collections;
#line default
#line hidden
#line 275 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System;
#line default
#line hidden
#line 284 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Web.Security;
#line default
#line hidden
#line 281 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Web;
#line default
#line hidden
#line 283 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Web.SessionState;
#line default
#line hidden
#line 279 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
using System.Text;
#line default
#line hidden
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
public class controls_imageuploadctrl_imageupload_ascx : global::Controls_ImageUploadCtrl_ImageUpload {
private static bool @__initialized;
private static object @__stringResource;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public controls_imageuploadctrl_imageupload_ascx() {
((global::Controls_ImageUploadCtrl_ImageUpload)(this)).AppRelativeVirtualPath = "~/Controls/ImageUploadCtrl/ImageUpload.ascx";
if ((global::ASP.controls_imageuploadctrl_imageupload_ascx.@__initialized == false)) {
global::ASP.controls_imageuploadctrl_imageupload_ascx.@__stringResource = this.ReadStringResource();
global::ASP.controls_imageuploadctrl_imageupload_ascx.@__initialized = true;
}
}
protected System.Web.Profile.DefaultProfile Profile {
get {
return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
}
}
protected System.Web.HttpApplication ApplicationInstance {
get {
return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private global::System.Web.UI.WebControls.Panel @__BuildControldefaultimgboxDiv() {
global::System.Web.UI.WebControls.Panel @__ctrl;
#line 9 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__ctrl = new global::System.Web.UI.WebControls.Panel();
#line default
#line hidden
this.defaultimgboxDiv = @__ctrl;
@__ctrl.ApplyStyleSheetSkin(this.Page);
#line 9 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__ctrl.ID = "defaultimgboxDiv";
#line default
#line hidden
return @__ctrl;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private global::System.Web.UI.WebControls.Panel @__BuildControlPanelUpload() {
global::System.Web.UI.WebControls.Panel @__ctrl;
#line 3 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__ctrl = new global::System.Web.UI.WebControls.Panel();
#line default
#line hidden
this.PanelUpload = @__ctrl;
@__ctrl.ApplyStyleSheetSkin(this.Page);
#line 3 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__ctrl.ID = "PanelUpload";
#line default
#line hidden
global::System.Web.UI.WebControls.Panel @__ctrl1;
#line 3 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__ctrl1 = this.@__BuildControldefaultimgboxDiv();
#line default
#line hidden
System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
#line 3 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__parser.AddParsedSubObject(@__ctrl1);
#line default
#line hidden
@__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__RenderPanelUpload));
return @__ctrl;
}
private void @__RenderPanelUpload(System.Web.UI.HtmlTextWriter @__w, System.Web.UI.Control parameterContainer) {
@__w.Write("\r\n <div class=\"imageUploadCtrl");
#line 4 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(UsedSkin?"":"2" );
#line default
#line hidden
@__w.Write("\">\r\n <iframe class=\"imageUploadCtrlFrame");
#line 5 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(UsedSkin?"":"2" );
#line default
#line hidden
@__w.Write("\" name=\"");
#line 5 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_myFrame\" src=\"/Controls/ImageUploadCtrl/ImageUploadEngine.aspx\" size=\"1px\" \r\n " +
" width=\"218px\" height=\"28px\" scrolling=\"no\" frameborder=\"0\" marginwidth=" +
"\"0px\" marginheight=\"0px\" \r\n onload=\"window.frames[\'");
#line 7 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_myFrame\'].onSelectFile = ");
#line 7 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_uploadProductImg;\" ></iframe>\r\n </div><div class=\"clear\"></div>\r\n ");
parameterContainer.Controls[0].RenderControl(@__w);
@__w.Write("\r\n <input type=\"hidden\" name=\"");
#line 10 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_HidImgUrl\" />\r\n");
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void @__BuildControlTree(controls_imageuploadctrl_imageupload_ascx @__ctrl) {
global::System.Web.UI.WebControls.Panel @__ctrl1;
#line 1 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__ctrl1 = this.@__BuildControlPanelUpload();
#line default
#line hidden
System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
#line 1 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__parser.AddParsedSubObject(@__ctrl1);
#line default
#line hidden
@__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__Render__control1));
}
private void @__Render__control1(System.Web.UI.HtmlTextWriter @__w, System.Web.UI.Control parameterContainer) {
parameterContainer.Controls[0].RenderControl(@__w);
@__w.Write("\r\n<script language=\"javascript\" type=\"text/javascript\">\r\n function ");
#line 13 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_uploadProductImg(file) {\r\n var imgFormat_ = \"");
#line 14 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ImgFormat );
#line default
#line hidden
this.WriteUTF8ResourceString(@__w, 1756, 495, false);
#line 25 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_myFrame\'];\r\n \r\n obj.imgWidth = \"");
#line 27 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ImgWidth );
#line default
#line hidden
@__w.Write("\";\r\n obj.imgHeight = \"");
#line 28 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ImgHeight );
#line default
#line hidden
@__w.Write("\";\r\n obj.imgPrefix = \"");
#line 29 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ImgPrefix );
#line default
#line hidden
@__w.Write("\";\r\n obj.imgFormat = imgFormat_;\r\n obj.imgSavePath = \"");
#line 31 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.SavePath );
#line default
#line hidden
@__w.Write("\";\r\n obj.imgMaxLength = parseInt(\"");
#line 32 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ImgMaxLength );
#line default
#line hidden
@__w.Write("\");\r\n \r\n showPageLoading(true, \"在上传....\");\r\n window.setTime" +
"out(function() { obj.upload(\"");
#line 35 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_thisUploadCallBackFun\"); }, 1000);\r\n }\r\n function ");
#line 37 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_thisUploadCallBackFun(file, errorInfo, filename) {\r\n switch (errorInfo) {" +
"\r\n case \"0\":\r\n var hid = document.getElementsByName(\"" +
"");
#line 40 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_HidImgUrl\");\r\n if (hid.value == \"\")\r\n hid.valu" +
"e = file;\r\n else\r\n hid.value += \"|\" + file;\r\n " +
" \r\n var callBackFunName_ = \"");
#line 46 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.CallBackFunName );
#line default
#line hidden
@__w.Write("\";\r\n eval(callBackFunName_ + \".call(window,\'\" + file + \"\',\'\" + fil" +
"ename + \"\');\");\r\n break;\r\n case \"1\":\r\n " +
"alert(\"*请选择");
#line 50 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ImgFormat );
#line default
#line hidden
@__w.Write("中的一种体式的图片进行上传。\");\r\n break;\r\n case \"2\":\r\n " +
" alert(\"*本站不支持您上传的文件类型,请选择");
#line 53 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ImgFormat );
#line default
#line hidden
@__w.Write("中的一种图片体式文件。\");\r\n break;\r\n case \"3\":\r\n al" +
"ert(\"*上传的图片文件不能超");
#line 56 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ImgMaxLength );
#line default
#line hidden
this.WriteUTF8ResourceString(@__w, 2251, 350, false);
#line 67 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.ClientID );
#line default
#line hidden
@__w.Write("_defaultCallBackFun(file, filename) {\r\n var add_img = document.createEleme" +
"nt(\"img\");\r\n add_img.src = file;\r\n document.getElementById(\"");
#line 70 "D:\wwwroot\gxkylaw218\wwwroot\Controls\ImageUploadCtrl\ImageUpload.ascx"
@__w.Write(this.defaultimgboxDiv.ClientID );
#line default
#line hidden
@__w.Write("\").appendChild(add_img);\r\n }\r\n</script>");
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void FrameworkInitialize() {
base.FrameworkInitialize();
this.SetStringResourcePointer(global::ASP.controls_imageuploadctrl_imageupload_ascx.@__stringResource, 0);
this.@__BuildControlTree(this);
}
}
}