Пример #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        string colid = Parameters["ColId"];
        //读取网站参数
        SysConfigBiz biz = new SysConfigBiz();
        gssitename = biz.GetKeyValue("SiteName", "SITE");
        string stylename = biz.GetKeyValue("SiteStyle", "SITE");
        gssitestyle = "css/" + stylename + "/style.css";
        gsheadertemplatepath = "template/" + stylename + "/header.ascx";

        //读取当前页站点描述和关键词
        if (!string.IsNullOrEmpty(colid))
        {

        }
        if (string.IsNullOrEmpty(gssitedesc))
        {
            gssitedesc = "\"" + biz.GetKeyValue("SiteDesc", "SITE") + "\"";
        }
        if (string.IsNullOrEmpty(gssitekey))
        {
            gssitekey = "\"" + biz.GetKeyValue("SiteKey", "SITE") + "\"";
        }
    }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     gsmenu = GetMenu();
     SysConfigBiz biz = new SysConfigBiz();
     gslogourl = biz.GetKeyValue("WebLogo", "SITE");
 }