|
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/a94d487b/c2585c4e/ |
?#pragma checksum "D:\wwwroot\mhkguanlin\wwwroot\index.aspx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DE0E73C673B356A846916D790FA7A96FE642ACE7"
#line 1 "D:\wwwroot\mhkguanlin\wwwroot\index.aspx.cs"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Maticsoft.BLL;
using Maticsoft.DBUtility;
using Maticsoft.Model;
using System.Data;
public partial class index : System.Web.UI.Page
{
private Maticsoft.BLL.LX_Banner lx_banner_bll = new Maticsoft.BLL.LX_Banner();
private Maticsoft.BLL.LX_Case lx_case_bll = new Maticsoft.BLL.LX_Case();
public string showtitle = "";
private Maticsoft.BLL.LX_Seo lx_seo_bll = new Maticsoft.BLL.LX_Seo();
public static string tit = "";
public static string key = "";
public static string des = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Maticsoft.Model.LX_Seo seo = lx_seo_bll.GetModelSeo("0");
Maticsoft.Model.LX_Seo seo1 = lx_seo_bll.GetModelSeo("1");
if (seo != null)
{
tit = seo.LX_Seo_Title.ToString();
key = seo.LX_Seo_KeyWord.ToString();
des = seo.LX_Seo_Description.ToString();
}
else if (seo1 != null)
{
tit = seo1.LX_Seo_Title.ToString();
key = seo1.LX_Seo_KeyWord.ToString();
des = seo1.LX_Seo_Description.ToString();
}
else
{
tit = "醇珍记";
key = "醇珍记";
des = "醇珍记";
}
GetDataBind();
DataSet ds = lx_case_bll.GetList("LX_Case_Images='1'");
if (ds.Tables[0].Rows.Count > 0)
{
showtitle= ds.Tables[0].Rows[0]["LX_Case_Title"].ToString();
}
}
}
protected void GetDataBind()
{
this.BannerShow.DataSource = lx_banner_bll.GetList("LX_Banner_Content='1'");
this.BannerShow.DataBind();
this.Repeater1.DataSource = lx_case_bll.GetList("LX_Case_Images='1'");
this.Repeater1.DataBind();
}
}
#line default
#line hidden