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_qt5s3gu5.3.cs
?#pragma checksum "D:\wwwroot\klbttc\wwwroot\ourProduct.aspx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "34CE91203F922CF6E47B558A1809C7BDCB438B52"

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

public partial class ourProduct : System.Web.UI.Page
{
    C c = new C();
    DataSet ds = new DataSet();
    public int mid, cid = 0;
    public string webSite, tagTitle, webTitle, contText, contImages, banner_url = "";

    protected void Page_Load(object sender, EventArgs e)
    {
        var reqParam = Request.QueryString;
        foreach (var item in reqParam.AllKeys)
        {
            if (item == "mid")
            {
                var midStr = Request.QueryString["mid"].ToString();
                var isTrySuccess = int.TryParse(midStr, out mid);
                if (!isTrySuccess)
                {
                    Response.Redirect("/");
                }

	if (midStr=="1008")
                {
                    Response.Redirect("/ourProduct.aspx?mid=1007");
                }
            }
        }

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

        //介绍
        ds = MyFunction.Query("SELECT * FROM about WHERE about5=1005", null);
        if (ds.Tables.Count > 0)
        {
            if (ds.Tables[0].Rows.Count > 0)
            {
                webTitle = ds.Tables[0].Rows[0]["about1"].ToString();
                contText = ds.Tables[0].Rows[0]["about4"].ToString();
            }
        }

        //产品列表
        ds = MyFunction.Query("SELECT * FROM product WHERE product9 = @mid ORDER BY isnull(product10,0) desc", new SqlParameter[] { new SqlParameter("@mid", mid) });
        if (ds.Tables.Count > 0)
        {
            if (ds.Tables[0].Rows.Count > 0)
            {
                Repeater1.DataSource = ds.Tables[0];
                Repeater1.DataBind();
            }
        }

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

}

#line default
#line hidden