zhudai/WebRoot/admin/login.jsp

(开头部分) 2KB

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

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="<%=path%>/css/index.css" />
  <link rel="stylesheet" href="<%=path%>/admin/component/style/components.css">
    <link rel="stylesheet" href="<%=path%>/admin/css/bootstrap.css">
    <link rel="stylesheet" href="<%=path%>/admin/css/plugins.css">
    <link rel="stylesheet" href="<%=path%>/admin/css/main.css">
    <link rel="stylesheet" href="<%=path%>/admin/css/themes.css">
    <script src="<%=path%>/admin/component/js/JQuery2.1.4.js"></script>
    <script src="<%=path%>/admin/component/plugins/layer/layer.js"></script> 
   
   <script type='text/javascript' src='<%=path %>/dwr/interface/loginService.js'></script>
 <script type='text/javascript' src='<%=path %>/dwr/engine.js'></script>
 <script type='text/javascript' src='<%=path %>/dwr/util.js'></script>
<title>助贷系统</title>
 <script language="javascript">
 function check1()
 {            
 	                                                                       
     if(document.ThisForm.userName.value=="")
	 {
	 	alert("请输入用户名");
		document.ThisForm.userName.focus();
		return false;
	 }
	 if(document.ThisForm.userPw.value=="")
	 {
	 	alert("请输入密码");
		document.ThisForm.userPw.focus();
		return false;
	 } 

	 loginService.login(document.ThisForm.userName.value,document.ThisForm.userPw.value,0,callback);
 }

 function callback(data)
 {

    if(data=="no")
    {
        alert("用户名或密码错误");
    }
    if(data=="yes")
    {
        alert("登录成功");
        window.location.href="<%=path %>/admin/index.jsp";
    }
 }
 </script>
后面还有 27 行代码,购买后查看完整代码

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

AI 解读 AI

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

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