WebRoot/backend/operator/add_operator.jsp
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/backend/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加操作员</title>
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/validate_form.js"></script>
<script type="text/javascript">
function isUsername(str){
var boo=1;
jQuery.ajax({
type: "POST",
url: 'UserServlet',
cache: false,
async: false,
data:{
method:"validate",
username:str
},
success: function(data){
boo=data;
}
});
return boo == 0 ? true : false;
}
</script>
<script type="text/javascript">
function v_username(username){
if (isNull(username.value)){
jQuery("#validate_username").text("*用户名不能为空").css("color","red");
return false;
}
if (!isUsername(username.value)){
jQuery("#validate_username").text("*此用户名已被注册").css("color","red");
return false;
}
else{
jQuery("#validate_username").text(" √此用户名可用").css("color","green");
}
jQuery("#validate_email").text("");
return true;
}
function v_password(password){
if (isNull(password.value)){
jQuery("#validate_password").text("*密码不能为空");
return false;
}
jQuery("#validate_password").text("");
return true;
}
function v_confirm_password(confirm_password){
后面还有 211 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
