user/modinfo.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 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;
public partial class user_modinfo : System.Web.UI.Page
{
protected int serial;
protected bool sex;
protected bool IsPhoto = false;
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 (IsPostBack)
{
Regular regex = new Regular();
sex = r_man.Checked;
string qq = t_qq.Text.Trim();
string phone = t_phone.Text.Trim();
string mail = t_mail.Text.Trim();
string sign = t_sign.Text.Trim();
string author = txtAuthor.Text.Trim();
string address = txtAddress.Text.Trim();
string intro = txtIntro.Text.Trim();
string alipayname = t_alipay_name.Text.Trim();
string alipayaccounts = t_alipay_accounts.Text.Trim();
bool publish = ckbPublish.Checked;
if (intro!="" && (intro.Length < 100 || intro.Length > 300))
l_clew.Text = "作者简介字数范围(100-300)!";
if (l_clew.Text == "")
if (qq != "" && !regex.IsQQ(qq))
l_clew.Text = "QQ号码输入有误,请修正!";
if (l_clew.Text == "")
if (phone != "" && !regex.IsPhone(phone))
l_clew.Text = "电话号码输入有误,请修正!";
if (l_clew.Text == "")
if (!regex.IsMail(mail))
l_clew.Text = "电子邮箱输入有误,请修正!";
if (l_clew.Text == "")
if (sign.Length > 30)
l_clew.Text = "签名不得超出30字符,请修正!";
后面还有 45 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
