Пример #1
0
 // Token: 0x06000009 RID: 9 RVA: 0x000028D0 File Offset: 0x00000AD0
 protected override void View()
 {
     this.dbconfig = DbConfigs.GetDbConfig();
     this.dbsize   = FPUtils.FormatBytesStr(DbBll.GetDbSize());
     if (this.ispost)
     {
         DbBll.ShrinkDatabase();
     }
     base.SaveRightURL();
 }
Пример #2
0
        // Token: 0x0600004E RID: 78 RVA: 0x00006AA4 File Offset: 0x00004CA4
        protected override void View()
        {
            long sysSize = SysBll.GetSysSize();

            this.websize  = FPUtils.FormatBytesStr(sysSize);
            this.dbconfig = DbConfigs.GetDbConfig();
            this.dbsize   = FPUtils.FormatBytesStr(DbBll.GetDbSize());
            if (this.role.desktop == "")
            {
                this.role.desktop = "0";
            }
            SqlParam sqlParam = DbHelper.MakeAndWhere(string.Format("([hidden]=0 AND [uid]={0}) OR ([hidden]=0 AND [system]=1 AND [id] IN({1}))", this.userid, this.role.desktop), WhereType.Custom, "");

            this.desktoplist = DbHelper.ExecuteList <DesktopInfo>(OrderBy.ASC, new SqlParam[]
            {
                sqlParam
            });
            base.SaveRightURL(this.pagename);
        }