|
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\companydynamic.aspx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "460F8B4243ED647BF96A18BCDA4B1681613DC1F0"
#line 1 "D:\wwwroot\mhkguanlin\wwwroot\companydynamic.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.DBUtility;
using Maticsoft.BLL;
using System.Data;
public partial class companydynamic : System.Web.UI.Page
{
public string showtitle, showcontent, showlaiyuan, showdianji, showtime;
private LX_Service lx_service_bll = new LX_Service();
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("4");
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 = "醇珍记";
}
DataSet ds = lx_service_bll.GetList("istype='1'");
if (ds.Tables[0].Rows.Count > 0)
{
showtitle = ds.Tables[0].Rows[0]["LX_Service_Title"].ToString();
showlaiyuan = ds.Tables[0].Rows[0]["LX_Service_Image"].ToString();
showtime = ds.Tables[0].Rows[0]["LX_Service_Time"].ToString();
int al = Convert.ToInt32(ds.Tables[0].Rows[0]["LX_Service_ClassId"].ToString());
int newal = al + 1;
DbHelperOleDb.Exists("update LX_Service set LX_Service_ClassId='"+newal.ToString()+"' where istype='1'");
showdianji = ds.Tables[0].Rows[0]["LX_Service_ClassId"].ToString();
showcontent=ds.Tables[0].Rows[0]["LX_Service_Content"].ToString();
}
}
}
}
#line default
#line hidden