918博天堂

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/54f3ceba/6be944cd/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : D:/tmp_aspnet/root/54f3ceba/6be944cd/App_Web_otmpembf.3.cs
?#pragma checksum "D:\wwwroot\klbttc\wwwroot\leader.aspx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A32E1DD980B478387FF572D5A1E00EACE1DFD772"

#line 1 "D:\wwwroot\klbttc\wwwroot\leader.aspx.cs"
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class leader : System.Web.UI.Page
{
    C c = new C();
    DataSet ds = new DataSet();

    public int mid = 0;
    public string webSite, webSite1, layer, zzjg = string.Empty;
    public string[] aboutvars = new string[15];

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {

            if (Request.Url.AbsolutePath.Length > 30)
            {
                Response.End();
            }
            if (Request.Url.Query.Length > 15)
            {
                Response.Redirect("/");
            }
            else
            {
                if (Request.QueryString["mid"].ToString().Length > 4)
                {
                    Response.Redirect("/");
                }
                else
                {
                    mid = int.Parse(SqlKey.ReplaceUrlBadChar(Request.QueryString["mid"].ToString()));
                }
            }
        }
        catch
        {
            Response.Redirect("/");
        }

        ds = MyFunction.Query("SELECT MenuSys_1.MenuSys1 AS Expr1, MenuSys.*,MenuSys_1.MenuSys0 AS Expr3 FROM MenuSys INNER JOIN     MenuSys MenuSys_1 ON     MenuSys.MenuSys3 = MenuSys_1.MenuSys0 WHERE  (MenuSys.MenuSys0 =@mid)", new SqlParameter[] { new SqlParameter("@mid", mid) });
        if (ds.Tables.Count > 0)
        {
            if (ds.Tables[0].Rows.Count > 0)
            {
                webSite = ds.Tables[0].Rows[0]["MenuSys1"].ToString();
            }
        }

        string sql = @"select * from project where project9 = @mid order by project10";
        ds = MyFunction.Query(sql, new SqlParameter[] { new SqlParameter("@mid", mid) });
        if (ds.Tables.Count > 0)
        {
            if (ds.Tables[0].Rows.Count > 0)
            {
                this.rep_zizhi.DataSource = ds.Tables[0];
                this.rep_zizhi.DataBind();
            }
        }


        this.Title = webSite + " - " + Application["sysset1"].ToString();
    }
}

#line default
#line hidden