user/manage.aspx.cs

(完整代码) 1KB

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;

public partial class user_manage : System.Web.UI.Page
{
    protected string info;
    protected string list;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session.Contents["username"] == null)
            Page.ClientScript.RegisterStartupScript(GetType(), "", "<script type='text/javascript'>alert('登陆超时,请重新登陆!');</script>");
        else
        {
            SqlStore sql = new SqlStore();
            string username = (string)Session.Contents["username"];
            if (sql.ScripExists(username))
                info = "<br /><br /><a href=\"/user/scrip.aspx\"><img src=\"/image/newscrip.gif\" />您有未读纸条</a><br />";
            list = Common.groupScrip;
            object author = sql.GroupJudgeAuthor(username);
            if (sql.GroupJudgeAuthor(username) != DBNull.Value)
                list = Common.groupScripSingle + list;
            if (list != "")
                list = "<br><br><br>&nbsp;<strong style=\"font-size:15px;color:green;\">系统纸条.</strong><br>" + list;
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。