918博天堂

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/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : D:/tmp_aspnet/root/a99112df/ca2a8923/App_Web_if_agwwx.17.cs
?#pragma checksum "D:\wwwroot\ldxynb\wwwroot\ascx\top.ascx.cs" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "68D57B85AC6B9866765EE6357A308CA5"

#line 1 "D:\wwwroot\ldxynb\wwwroot\ascx\top.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_top : 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";

    #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();
            //}



            //产品类别
            pubfun.Bind(Repeater1, "select * from class where channelid=1 and tid=0  order by ordernum asc");

            //新闻类别
            pubfun.Bind(Repeater2, "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