JumboTCMS_src/JumboTCMS.WebFile/admin/admin_add.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_add.aspx.cs" Inherits="JumboTCMS.WebFile.Admin._admin_add" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html   xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta   http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta   name="robots" content="noindex, nofollow" />
<meta   http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>添加管理员</title>
<script type="text/javascript" src="../_libs/jquery.tools.pack.js"></script>
<script type="text/javascript" src="../_data/global.js"></script>
<link type="text/css" rel="stylesheet" href="../_data/global.css" />
<link type="text/css" rel="stylesheet" href="../statics/admin/css/common.css" />
<script type="text/javascript" src="../statics/admin/js/common.js"></script>


<script type="text/javascript">
$(document).ready(function(){
	$.formValidator.initConfig({onError:function(msg){alert(msg);}});
	$("#txtAdminName").formValidator({tipid:"tipAdminName",onshow:"请输入登录名",onfocus:"6-14个字符"}).InputValidator({min:6,max:14,onerror:"6-14个字符"}).RegexValidator({regexp:"username",datatype:"enum",onerror:"汉字或字母开头,不支持符号"})
		.AjaxValidator({
		type : "get",
		data:		"id=0",
		url:		"admin_ajax.aspx?oper=checkadminname&clienttime="+Math.random(),
		datatype : "json",
		success : function(d){	
			if(d.result == "1")
				return true;
			else
				return false;
		},
		buttons: $("#btnSave"),
		error: function(){alert("服务器繁忙,请稍后再试");},
		onerror : "该登录名已经存在",
		onwait : "正在校验登录名..."
	});
	$("#txtAdminPass1").formValidator({tipid:"tipAdminPass1",onshow:"请输入密码",onfocus:"密码6-14位"}).InputValidator({min:6,max:14,onerror:"密码6-14位,请确认"});
	$("#txtAdminPass2").formValidator({tipid:"tipAdminPass2",onshow:"请输入重复密码",onfocus:"密码必须一致"}).InputValidator({min:6,max:14,onerror:"密码6-14位,请确认"}).CompareValidator({desID:"txtAdminPass1",operateor:"=",onerror:"两次密码不一致"});
});
/*最后的表单验证*/
function CheckFormSubmit(){
	if($.formValidator.PageIsValid('1'))
	{
	    JumboTCMS.Loading.show("正在处理,请等待...");
		return true;
	}else{
		return false;
	}
}
    </script>
</head>
<body>
<form id="form1" runat="server" onsubmit="return CheckFormSubmit()">
	<table class="formtable mrg10T">
		<tr>
			<th> 管理登陆名 </th>
			<td><asp:TextBox ID="txtAdminName" runat="server" Width="120px" MaxLength="20" CssClass="ipt"></asp:TextBox>
				<span id="tipAdminName" style="width:200px;"> </span></td>
		</tr>
		<tr>
			<th> 密&nbsp; 码 </th>
后面还有 20 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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