|
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/a99112df/ca2a8923/ |
?#pragma checksum "D:\wwwroot\ldxynb\wwwroot\ascx\diannaomen.ascx.cs" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "E54380FB3D6436A1CEE32564C1FD36A8"
#line 1 "D:\wwwroot\ldxynb\wwwroot\ascx\diannaomen.ascx.cs"
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using CoreClass;
public partial class ascx_diannaomen : System.Web.UI.UserControl
{
#region 界说
yingshi bs = new yingshi();
public string newsHtml;
public DBCommon DB = new DBCommon();
public PublicFunction pubfun = new PublicFunction();
yingshi dy = new yingshi();
public int classid = 0;
public int channelid = 0;
public string Yearsss = "";
public string top_pic = "images/index_05.jpg";
public string namew = "";
#endregion
protected void Page_Load(object sender, EventArgs e)
{
////Label1.Text = System.DateTime.Now.ToString("yyyy年MM月dd日") + " " + "星期" + DateTime.Now.ToString("ddd", new System.Globalization.CultureInfo("zh-cn")); ;
if (!IsPostBack)
{
//Yearsss = System.DateTime.Now.ToShortDateString().ToString();
////顶部大图--告白更换
//DataSet dtt_tup = bs.chaxun("select top 1 * from ggao where tp_id=7");
//if (dtt_tup.Tables[0].Rows.Count > 0)
//{
// top_pic = dtt_tup.Tables[0].Rows[0]["tp_url"].ToString();
//}
if (Session["delddl"] != null)
{
namew = "当前用户:<span style='color: red'>" + Session["delddl"].ToString() + "<span style='color:#cccccc; font-size:12px;'>(幼我中心)</span></span></span>";
}
else
{
namew ="登录/注册";
}
//懒得取名文化类别
pubfun.Bind(Repeater1, "select * from class where channelid=7 and tid=0 order by ordernum asc");
// 主交易务类别
pubfun.Bind(Repeater2, "select * from class where channelid=1 and tid=0 order by ordernum asc");
// 成功案例类别
pubfun.Bind(Repeater3, "select * from class where channelid=16 and tid=0 order by ordernum asc");
// 平台信息类别
pubfun.Bind(Repeater4, "select * from class where channelid=2 and tid=0 order by ordernum asc");
}
}
//protected void Image1_ServerClick(object sender, ImageClickEventArgs e)
//{
// if (this.sousuo.Value != "")
// {
// string strsse = "select * from Info where title like '%" + sousuo.Value.Replace("'", "") + "%' ";
// Session["dt_sou"] = strsse;
// }
// Response.Redirect("news.aspx");
//}
}
#line default
#line hidden