Backup/WebApp/Admin/Group_Manage.aspx.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using RM.Common;
namespace RM.WebApp.Admin
{
public partial class Group_Manage : AdminBasic
{
protected DataTable Dview;
protected Hashtable tbRS;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.IsAuthority(0);
}
}
protected void bindRights()
{
RM.BLL.Module ModuleBLL = new RM.BLL.Module();
dlRoot.DataSource = ModuleBLL.GetRootList();
dlRoot.DataBind();
}
protected string getChild(object mName, object mRoot)
{
int root = Convert.ToInt32(mRoot);
RM.BLL.Module ModuleBLL = new RM.BLL.Module();
Dview = ModuleBLL.GetList("Depth =1 AND RootID=" + root);
string name = mName.ToString();
name = "<b>" + name + "</b>";
return name;
}
protected string showRights(object mUrl)
{
string url = mUrl.ToString().ToLower();
int[] RS ={ 0, 0, 0, 0 };
if (tbRS.Count > 0)
{
RS = (int[])tbRS[url];
}
string result = "";
string[] txt = {"查看","新增","修改","删除"};
for (int i = 0; i < 4; i++)
{
if (RS == null || RS[i] == 0)
{
result += txt[i] + "<input type=\"checkbox\" name=\"" + url + "\" value=\"" + i + "\" /> ";
后面还有 132 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。