// 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(); }
// 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); }
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250 protected override void View() { if (this.ispost) { if (this.action == "delete") { string @string = FPRequest.GetString("chkdel"); foreach (string str in @string.Split(new char[] { ',' })) { if (File.Exists(dbbackup.backuppath + "\\" + str)) { File.Delete(dbbackup.backuppath + "\\" + str); } } } else if (this.action == "restore") { string backupfile = dbbackup.backuppath + "\\" + FPRequest.GetString("restore"); string text = DbBll.RestoreDatabase(backupfile); } else if (this.action == "backup") { string text = DbBll.BackUpDatabase(); if (text == string.Empty) { this.ShowErr(text); return; } } } this.dbfilelist = this.GetDbFileList(); base.SaveRightURL(); }