out/artifacts/repair_Web_exploded/user_list.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>用户管理</title>
<%@ include file="include/head.jsp" %>
</head>
<body>
<div class="container-fluid">
<ul class="nav nav-tabs">
<li class="active"><a href="UserServlet?action=list">用户列表</a></li>
<c:if test="${loginUser.userType == '管理员'}"><li><a href="user_add.jsp">添加</a></li></c:if>
</ul>
<br/>
<form class="form-inline" id="searchForm" action="UserServlet?action=list" method="post">
<div class="form-group">
<input type="text" class="form-control" name="keyword" id="keyword" placeholder="姓名">
<input type="hidden" id="searchColumn" name="searchColumn" value="real_name"/>
</div>
<button class="btn btn-pill btn-line btn-warning btn-sm"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询
</button>
</form>
<br/>
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>用户名</th>
<th>姓名</th>
<th>性别</th>
<th>手机</th>
<th>备注</th>
<th>类型</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<c:forEach items="${list}" var="vo">
<tr>
<td>${vo.username}</td>
<td><a href="UserServlet?action=get&id=${vo.id}">${vo.realName}</a></td>
<td>${vo.userSex}</td>
<td>${vo.userPhone}</td>
<td title="${vo.userText}">
<c:choose>
<c:when test="${fn:length(vo.userText) > 19}">
<c:out value="${fn:substring(vo.userText, 0, 19)}..."/>
</c:when>
<c:otherwise>
<c:out value="${vo.userText}"/>
</c:otherwise>
</c:choose>
</td>
<td>${vo.userType}</td>
<td>
<button onclick="window.location.href='UserServlet?action=editPre&id=${vo.id}'"
class="btn btn-pill btn-line btn-warning btn-xs"
<c:if test="${loginUser.userType != '管理员' && vo.id != loginUser.id}">disabled="disabled" title="没有权限!!!"</c:if>
>
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
编辑
后面还有 16 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。