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


Current File : D:/tmp_aspnet/root/04556082/ecc0c5af/App_Web_tu03acor.5.cs
?#pragma checksum "d:\wwwroot\gzgunuo\wwwroot\about.aspx.cs" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "4BCAF20C3A7D88DEC858FBE889030329"

#line 1 "d:\wwwroot\gzgunuo\wwwroot\about.aspx.cs"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
public partial class about : System.Web.UI.Page
{

    private int Id { get { int d; int.TryParse(Request.QueryString["Id"], out d); return d; } }
   


    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {  //设置左边关于固诺分类列表;
            List<Gong> list = SqlManager.GetGong("about");
            this.repeater_list.DataSource = list;
            this.repeater_list.DataBind();
            Gong g = null;

            //加载固诺各分类信息;
            if (this.Id > 0)
            {
                g = new Gong();
                g = SqlManager.GetGong(this.Id);
                #region 404
                if (g == null)
                {
                    Response.StatusCode = 404;
                    Response.Write(@"<html><head><title>您所接见的页面可能已被删除或是沉定名</title>
                                <meta name="keywords" content="404谬误" />
                                <meta http-equiv='content-type' content='text/html'; charset='gb2312' />
                                <style type='text/css'>body {margin: 0px; background-color:#000000;color: #ffffff;font-family: comic sans ms;background-repeat: repeat;background-color: #d9d9d9;}
                                    td {color: #ffffff; font-family: comic sans ms}th {color: #ffffff; font-family: comic sans ms}.style6 {font-weight: bold; font-size: 12px}.style7 {font-size: 18px}.style8 {font-size: 12px}.style9 {font-size: 24px; font-family: '楷体_gb2312'}
                                    .style10 {color: #ff0000;}body,td,th {color: #666;}a {font-family: arial, helvetica, sans-serif;font-size: 18px;color: #666;}a:link {text-decoration: none;color: #06f;}a:visited {text-decoration: none;color: #09f;}
                                    a:hover {text-decoration: none;color: #09f;}a:active {text-decoration: none;color: #09f;}
                                </style>
                                <body><div align='center'><p align='left'><p align='center'> <img src='Images/Admin/404html.jpg' width='600' height='400' alt='404 error'></p><p><b><font size='5' face='黑体'>抱愧!404 error您所接见的网页无法显示</font></b></p></div><div class='style6' align='center'><p class='style7'></p><p class='style8'><span class='style10'> <img src='Images/Admin/tlbb200_039.png' width='30' height='30' alt='点击返回主页' > <a href='" + StringHelper.sy + @"' title='返回首页' >返回首页</a></span></p><p class='style8'>" + StringHelper.sy + @"</p></div></body></html>
                ");
                    Response.End();
                    return;
                }
                #endregion
            }
            else
            {
                g = new Gong();
                g = list[0];

            }

            this.literalTitle1.Text = g.Title;
            this.literalTitle2.Text = " > " + g.Title;
            this.literalContent.Text = g.Content;

            //设置网站标题
            (this.Master as MasterPage).webTitle = g.Title + " - 关于固诺 - " + StringHelper.webTitle;
            (this.Master as MasterPage).keywords = g.Title + " - 关于固诺 - " + StringHelper.webTitle;
            (this.Master as MasterPage).description = g.Title + " - 关于固诺 - " + StringHelper.ClearHtml(g.Content, true, 100);

            this.literalHF_xxk.Text = "<input id=\"HF_xxk\" type=\"hidden\" value=\"" + g.Id + "\"/>";


        }

    }
}

#line default
#line hidden