clzb/WebRoot/admin/system/add.jsp
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<jsp:useBean id="cb" scope="page" class="com.bean.ComBean" />
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>后台操作区</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link href="<%=basePath %>admin/images/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
font-family: "宋体";
font-size: 12px;
color: #333333;
background-color: #2286C2;
}
-->
</style>
</head>
<SCRIPT language=javascript>
//检验表单的合法性
function check() {
if (document.form1.username.value.replace(/\s+$|^\s+/g,"").length<=0) {
alert("\请填写登录帐号名!");
document.form1.username.focus();
return false;
}
if (document.form1.password.value.replace(/\s+$|^\s+/g,"").length<=0) {
alert("\请填写登录密码!");
document.form1.password.focus();
return false;
}
if (document.form1.realname.value.replace(/\s+$|^\s+/g,"").length<=0) {
alert("\请填写真实姓名!");
document.form1.realname.focus();
return false;
}
if (document.form1.age.value.replace(/\s+$|^\s+/g,"").length<=0) {
alert("\请填写年龄!");
document.form1.age.focus();
return false;
}
if (document.form1.address.value.replace(/\s+$|^\s+/g,"").length<=0) {
alert("\请填写联系地址!");
document.form1.address.focus();
return false;
}
if (document.form1.tel.value.replace(/\s+$|^\s+/g,"").length<=0) {
alert("\请填写联系电话!");
document.form1.tel.focus();
return false;
}
}
</SCRIPT>
后面还有 113 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
