|
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\about.aspx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7FF37E1D5557248FD0127F9C9B2D4A685C38DE6D"
#line 1 "D:\wwwroot\klbttc\wwwroot\about.aspx.cs"
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
C c = new C();
DataSet ds = new DataSet();
public int mid = 0;
public int id = 0;
public int menuid = 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();
menuid = int.Parse(ds.Tables[0].Rows[0][4].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)
{
aboutvars[1] = ds.Tables[0].Rows[0][1].ToString();
aboutvars[0] = ds.Tables[0].Rows[0][5].ToString();
aboutvars[3] = ds.Tables[0].Rows[0][3].ToString();
aboutvars[4] = ds.Tables[0].Rows[0][4].ToString();
}
}
// 企业文化
sql = "select * from about where about5=@mid";
ps = new SqlParameter[]{
new SqlParameter("@mid",156),
};
ds = MyFunction.Query(sql, ps);
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
aboutvars[6] = ds.Tables[0].Rows[0][1].ToString();
aboutvars[7] = ds.Tables[0].Rows[0][2].ToString();
aboutvars[8] = ds.Tables[0].Rows[0][3].ToString();
aboutvars[9] = ds.Tables[0].Rows[0][4].ToString();
aboutvars[10] = ds.Tables[0].Rows[0][6].ToString();
}
}
this.Title = webSite + " - " + Application["sysset1"].ToString();
}
}
#line default
#line hidden