using System;
using System.Data;

namespace Stat.web
{
    /// <summary>
    /// 
    /// </summary>
    public partial class IP : System.Web.UI.Page
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)       {

            
            //ServiceWcf.Service1Client sc = new Stat.web.ServiceWcf.Service1Client();

            //int i = 0;
            //string rString = sc.GetData(i);
            //Response.Write(rString);


            ////当前页面
            //object ly = Request.UrlReferrer;
            ////当前页面
            //object cucc = Request.ServerVariables["Http_Referer"];

            ////图片页面（完整）
            //object cucc2 = Request.Url;
            ////图片页面（部分）
            //object cucc3 = Request.ServerVariables["url"];


            //string ip = Plugin.Common.Rq("ip");
            //ip = ip == "" ? "127.0.0.1" : ip;

            //DataTable dt = BLL.IP.Get(ip);

            //if (dt != null && dt.Rows.Count > 0)
            //{
            //    string tep = "";
            //    tep += "IP： " + ip;
            //    tep += " 所在的地区是：" + dt.Rows[0]["IPinfo"];
            //    Response.Write(tep);
            //}
        }

    }
}
