PK-E孻畅 ? ##web.config婮婮
PK-E孻昽?360_ssp_verify.txt 813600780b4c26e8b691a54f4d7a25ebPK-E孻A\鷹404.aspx??锘?%@ Page Language="C#" AutoEventWireup="true" CodeFile="404.aspx.cs" Inherits="_404" %> PK-E孻K{ 404.aspx.csDD锘?* * Copyright 漏 2009-2012 涓囨埛缃戠粶鎶€鏈湁闄愬叕鍙? * 鏂?浠?鍚嶏細_404.aspx.cs * 鏂囦欢鎻忚堪锛氳嚜瀹氫箟404椤甸潰锛岀敤浜庡墠鍙伴潤鎬侀〉鍙戝竷 * * 鍒涘缓鏍囪瘑: lixin 2012-12-27 * * 淇敼鏍囪瘑锛? */ using System; using Whir.Framework; using Whir.Service; using Whir.Label.Static; public partial class _404 : System.Web.UI.Page { /// /// 璁块棶鐨勯敊璇〉闈? /// protected string AspxErrorPath { get; set; } protected void Page_Load(object sender, EventArgs e) { #region 涓轰簡涓嶅奖鍝峴eo锛屽凡缁廹lobal.asax鏂囦欢閲屽鐞嗚閫昏緫 //AspxErrorPath = RequestUtil.Instance.GetQueryString("aspxerrorpath"); //if (!AspxErrorPath.IsEmpty()) //{ // bool writeSuccess = StaticLabelHelper.Instance.Build(AspxErrorPath); // if (writeSuccess) // { // Response.Redirect(AspxErrorPath); // return; // } //} #endregion ph404.Visible = true; } }PK-E孻酰l ADClick.aspxaa锘?%@ Page Language="C#" AutoEventWireup="true" CodeFile="ADClick.aspx.cs" Inherits="ADClick" %>PK-E孻形?ADClick.aspx.cs锘?* * Copyright 漏 2009-2012 涓囨埛缃戠粶鎶€鏈湁闄愬叕鍙? * 鏂?浠?鍚嶏細ADClick.aspx.cs * 鏂囦欢鎻忚堪锛氬墠鍙板箍鍛婄偣鍑昏烦杞〉闈紝鐢ㄤ簬缁熻骞垮憡鐐瑰嚮璇︾粏 * * 鍒涘缓鏍囪瘑: liuyong 2013-01-16 * * 淇敼鏍囪瘑锛? */ using System; using Whir.Framework; public partial class ADClick : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string url = RequestUtil.Instance.GetQueryString("url"); Response.Redirect(url); } }PK-E孻Ajax/FileUpload/PK-E孻W]?'Ajax/FileUpload/JQueryUploadify.aspx.cs??锘縰sing System; using System.Web; using System.Web.UI; using Whir.Config; using Whir.Config.Models; using Whir.Domain; using Whir.Framework; using Whir.Service; using Whir.ezEIP.Web; public partial class Ajax_FileUpload_JQueryUploadify : Page { protected void Page_Load(object sender, EventArgs e) { Response.Clear(); Response.End();//瀹夊叏鎬ч棶棰樿繕娌¤В鍐筹紝v4.0.6鍐嶅紑鏀捐鍔熻兘 // new SysManagePageBase().IsHadLogin(); //鍒ゆ柇鏄惁鐧诲綍浜? try { HttpPostedFile uploadPostedFile = Request.Files["Filedata"]; if (Request.ApplicationPath != null) { string savePath = Request["folder"].Replace(Request.ApplicationPath, ""); var physicalPath = Server.MapPath("~/" + (AppSettingUtil.AppSettings["UploadFilePath"] + savePath).Replace("//", "/")); string saveFileName = ServiceFactory.UploadFilesService.UploadFile(uploadPostedFile, physicalPath, false); //涓婁紶鏂囦欢鍚嶇О鍜岀墿鐞嗗悕绉板埌鏁版嵁搴? var upload = new Upload(); upload.Name = uploadPostedFile.FileName; upload.RealName = saveFileName; upload.IsDel = false; upload.State = 0; upload.CreateDate = DateTime.Now; upload.UpdateDate = DateTime.Now; upload.UpdateUser = SysManagePageBase.CurrentUserName; upload.CreateUser = SysManagePageBase.CurrentUserName; ServiceFactory.UploadService.Save(upload); saveFileName = (savePath + "/" + saveFileName).Replace("\\", "/").Replace("//", "/"); saveFileName = saveFileName.TrimStart('/'); Response.Write(saveFileName); } } catch (Exception ex) { Response.Write(":" + ex.Message); //"An error occured" } } }PK-E孻App_Code/EWebEditor/PK-E孻犁记'App_Code/EWebEditor/EWebEditorBrowse.cs??锘?* * Copyright 漏 2009-2011 涓囨埛缃戠粶鎶€鏈湁闄愬叕鍙? * 鏂?浠?鍚嶏細EWebEditorUpload.aspx.cs * 鏂囦欢鎻忚堪锛欵WebEditor缂栬緫鍣ㄤ笂浼犳枃浠惰绠$悊鍛樼櫥褰曞悗鎵嶈兘娴忚宸蹭笂浼犳枃浠? * * 鍒涘缓鏍囪瘑: guoc 2013-05-27 * * 淇敼鏍囪瘑锛? */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Whir.ezEIP; using Whir.ezEIP.Web; namespace EWebEditor { public class EWebEditorBrowse : eWebEditorServer.browse_aspx { /// /// 绠$悊椤甸潰鐧诲綍楠岃瘉. /// /// protected override void OnInit(EventArgs e) { base.OnInit(e); //瑕佺鐞嗗憳鐧诲綍鍚庢墠鑳芥祻瑙? if (!SysManagePageBase.IsLoginUser) { Response.End(); } } } } PK-E孻Z1U'App_Code/EWebEditor/EWebEditorHelper.cs??锘? using System; using System.Web; using System.Text.RegularExpressions; using System.Runtime.CompilerServices; using System.IO; using Microsoft.VisualBasic; using Microsoft.VisualBasic.CompilerServices; /// ///EWebEditorHelper 鐨勬憳瑕佽鏄? /// public class EWebEditorHelper { public EWebEditorHelper() { } public static object sLicense; /// /// 鑾峰彇鍐呭,濡侺icense: 'License = "2:2323:2:2:1::web.gzwhir.com:c4828092ad389b22fcdd568e3dd11a06" /// /// /// public static string GetConfigString(string s_Key, string s_config) { string pattern = "'" + s_Key + " = \"(.*)\""; MatchCollection matchs = Regex.Matches(s_config, pattern, RegexOptions.IgnoreCase); string str3 = ""; foreach (Match match in matchs) { str3 = match.Groups[1].Value.ToString(); } return str3; } /// /// 璇诲彇style鍜宼oolbar /// /// /// public static object GetConfigArray(string s_Key, string s_config) { object[] objArray = null; string pattern = "'" + s_Key + " = \"(.*)\""; MatchCollection matchs = Regex.Matches(s_config, pattern, RegexOptions.IgnoreCase); object obj3 = 0; foreach (Match match in matchs) { obj3 = ObjectType.AddObj(obj3, 1);