|
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/ |
?#pragma checksum "D:\wwwroot\klbttc\wwwroot\cooperation.aspx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BB2BDBC9325B5D5C9670FB516E27F712076FA548"
#line 1 "D:\wwwroot\klbttc\wwwroot\cooperation.aspx.cs"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class cooperation : System.Web.UI.Page
{
C c = new C();
DataSet ds = new DataSet();
public int mid = 180;
public string webSite, webTitle, banner_url = string.Empty;
public string[] abouts = new string[18];
protected void Page_Load(object sender, EventArgs e)
{
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)
{
webSite = ds.Tables[0].Rows[0]["Expr1"].ToString();
webTitle = ds.Tables[0].Rows[0]["MenuSys1"].ToString();
banner_url = ds.Tables[0].Rows[0]["link2"].ToString();
}
}
//合作需要
string sql = "SELECT * FROM about WHERE about5 = @mid;";
SqlParameter[] ps = new SqlParameter[] { new SqlParameter("@mid", mid) };
ds = MyFunction.Query(sql, ps);
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
abouts[0] = ds.Tables[0].Rows[0][0].ToString();
abouts[1] = ds.Tables[0].Rows[0][1].ToString();
abouts[2] = ds.Tables[0].Rows[0][2].ToString();
abouts[3] = ds.Tables[0].Rows[0][3].ToString();
abouts[4] = ds.Tables[0].Rows[0][4].ToString();
abouts[5] = ds.Tables[0].Rows[0][5].ToString();
}
}
//战术合作 2001
ds = MyFunction.Query("SELECT * FROM link WHERE link5 = @mid and link7 = 2001 ORDER BY ISNULL(link6, 9999),link4 DESC", new SqlParameter[] { new SqlParameter("@mid", 116) });
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
Rep_Link_116.DataSource = ds.Tables[0];
Rep_Link_116.DataBind();
}
}
//商务合作 2002
ds = MyFunction.Query("SELECT * FROM link WHERE link5 = @mid and link7 = 2002 ORDER BY ISNULL(link6, 9999),link4 DESC", new SqlParameter[] { new SqlParameter("@mid", 116) });
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
Rep_Link_116_2002.DataSource = ds.Tables[0];
Rep_Link_116_2002.DataBind();
}
}
this.Title = webTitle + " - " + Application["sysset1"].ToString();
}
}
#line default
#line hidden