/******************************************************************************* * iNethinkCMS - 网站内容管理系统 * Copyright (C) 2012-2013 inethink.com * * @author jackyang <69991000@qq.com> * @website http://cms.inethink.com * @version 1.3.6.0 (2013-08-14) * * This is licensed under the GNU LGPL, version 3.0 or later. * For details, see: http://www.gnu.org/licenses/gpl-3.0.html *******************************************************************************/ using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using iNethinkCMS.Command; using iNethinkCMS.Web.UI; namespace iNethinkCMS.Web.admin { public partial class _main_top : Admin_BasePage { protected void Page_Load(object sender, EventArgs e) { CheckUserPower("login"); string vTopInfo = "" + "返回桌面" + "  |  " + "清空缓存" + "  |  " + "版权声明" + ""; vTopInfo += "当前登录:" + SysLoginUserName + "(利亚方舟科技)  " + "[退出登录]"; this.topinfo.InnerHtml = vTopInfo; string vTopMenuInfo = ""; if (CheckUserPower("a", "bool") == true) { vTopMenuInfo += "内容管理"; } if (CheckUserPower("b", "bool") == true) { vTopMenuInfo += "栏目&专题"; } if (CheckUserPower("c", "bool") == true) { vTopMenuInfo += "扩展模块"; } if (CheckUserPower("d", "bool") == true) { vTopMenuInfo += "标签&页面"; } if (CheckUserPower("e", "bool") == true) { vTopMenuInfo += "系统管理"; } this.menuinfo.InnerHtml = vTopMenuInfo; } } }