📄 illegallog.jsp
字号:
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ page language="java" pageEncoding="UTF-8"%>
<jsp:include page="../cp_header.jsp" />
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
<tr><td><a href="#" onclick="parent.menu.location='admincp.jsp?action=menu'; parent.main.location='admincp.jsp?action=home';return false;">系统设置首页</a> » 密码错误记录</td></tr>
</table>
<br />
<table width="100%" border="0" cellpadding="0" cellspacing="0"
class="tableborder">
<tr class="header">
<td colspan="3">
密码错误记录
</td>
</tr>
<form method="post" action="admincp.jsp?action=illegallog">
<input type="hidden" name="caction" value="lpp">
<tr class="altbg2">
<td width="25%">
每页显示记录数量
</td>
<td width="55%">
<input type="text" name="lpp" size="40" maxlength="40" value="${lpp}">
</td>
<td width="20%">
<input class="button" type="submit" value="提 交">
</td>
</tr>
</form>
<form method="post" action="admincp.jsp?action=illegallog">
<input type="hidden" name="caction" value="keyword">
<tr class="altbg2">
<td>
记录全文搜索
</td>
<td>
<input type="text" name="keyword" size="40" value="${keys}">
</td>
<td>
<input class="button" type="submit" value="提 交">
</td>
</tr>
</form>
</table>
<br />
<table width="100%" border="0" cellpadding="0" cellspacing="0"
class="tableborder">
<tr class="header">
<td>
尝试用户名
</td>
<td>
尝试密码
</td>
<td>
安全提问
</td>
<td>
IP 地址
</td>
<td>
时间
</td>
</tr>
<!-- ***************下面显示分页内容************************* -->
<c:if test="${logpage.totalSize > lpp}">
<div class="pages">
<em> ${logpage.totalSize} </em>
<!-- 如果当前页不是第一页面,且大于10页时,且当前页大于4时则显示1 ... -->
<c:if test="${logpage.totalPage>10 && logpage.currentPage>=4}">
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=1"
class="first">1 ...</a>
</c:if>
<!-- 如果当前页不是第一页面,则显示<< -->
<c:if test="${logpage.currentPage != logpage.prePage}">
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${logpage.prePage}" class="prev">‹‹</a>
</c:if>
<c:choose>
<c:when
test="${logpage.totalPage>10 && logpage.currentPage>=4 && logpage.totalPage-(logpage.currentPage-2)>=10}">
<!-- 显示滚动的页码信息 -->
<c:forEach var="num" begin="${logpage.currentPage-2}"
end="${(logpage.currentPage-2)+9}" step="1">
<c:choose>
<c:when test="${logpage.currentPage == num}">
<strong>${logpage.currentPage}</strong>
</c:when>
<c:otherwise>
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${num}">${num}</a>
</c:otherwise>
</c:choose>
</c:forEach>
</c:when>
<c:otherwise>
<c:choose>
<c:when
test="${logpage.totalPage>10 && logpage.currentPage>=4}">
<!-- 显示后半部分信息 -->
<c:forEach var="num" begin="${logpage.totalPage-9}"
end="${logpage.totalPage}" step="1">
<c:choose>
<c:when test="${logpage.currentPage == num}">
<strong>${logpage.currentPage}</strong>
</c:when>
<c:otherwise>
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${num}">${num}</a>
</c:otherwise>
</c:choose>
</c:forEach>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${logpage.totalPage>10}">
<!-- 显示前半部分值 -->
<c:forEach var="num" begin="1" end="10" step="1">
<c:choose>
<c:when test="${logpage.currentPage == num}">
<strong>${logpage.currentPage}</strong>
</c:when>
<c:otherwise>
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${num}">${num}</a>
</c:otherwise>
</c:choose>
</c:forEach>
</c:when>
<c:otherwise>
<!-- 如果不够10页则显示 -->
<c:forEach var="num" begin="1" end="${logpage.totalPage}"
step="1">
<c:choose>
<c:when test="${logpage.currentPage == num}">
<strong>${logpage.currentPage}</strong>
</c:when>
<c:otherwise>
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${num}">${num}</a>
</c:otherwise>
</c:choose>
</c:forEach>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<!-- 如果当前页不是最后页面,则显示 《 《-->
<c:if test="${logpage.currentPage != logpage.nextPage}">
<a
href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${logpage.nextPage}"
class="next">››</a>
</c:if>
<!-- 如果超过一定范围则显示... -->
<c:if test="${logpage.totalPage>10 && (logpage.totalPage-logpage.currentPage)>7}">
<a
href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${logpage.totalPage}"
class="last">... ${logpage.totalPage}</a>
</c:if>
<!-- 如果页数大于10则显示此框-->
<c:if test="${logpage.totalPage>10}">
<kbd>
<input type="text" name="custompage" size="3"
onkeydown="if(event.keyCode==13) {window.location='admincp.jsp?action=illegallog&lpp=${lpp}&page='+this.value; return false;}" />
</kbd>
</c:if>
</c:if>
<!-- ******************************分页结束********************************* -->
<c:forEach items="${illegaloglist}" var="illelog">
<tr align="center">
<td class="altbg1">
<b>${illelog.username}</b>
</td>
<td class="altbg2">
${illelog.pssword}
</td>
<td class="altbg1">
${illelog.aiquwenda}
</td>
<td class="altbg2">
${illelog.ipAddress}
</td>
<td class="altbg1">
${illelog.datetimes}
</td>
</tr>
</c:forEach>
</table>
<!-- ***************下面显示分页内容************************* -->
<c:if test="${logpage.totalSize > lpp}">
<div class="pages">
<em> ${logpage.totalSize} </em>
<!-- 如果当前页不是第一页面,且大于10页时,且当前页大于4时则显示1 ... -->
<c:if test="${logpage.totalPage>10 && logpage.currentPage>=4}">
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=1"
class="first">1 ...</a>
</c:if>
<!-- 如果当前页不是第一页面,则显示<< -->
<c:if test="${logpage.currentPage != logpage.prePage}">
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${logpage.prePage}" class="prev">‹‹</a>
</c:if>
<c:choose>
<c:when
test="${logpage.totalPage>10 && logpage.currentPage>=4 && logpage.totalPage-(logpage.currentPage-2)>=10}">
<!-- 显示滚动的页码信息 -->
<c:forEach var="num" begin="${logpage.currentPage-2}"
end="${(logpage.currentPage-2)+9}" step="1">
<c:choose>
<c:when test="${logpage.currentPage == num}">
<strong>${logpage.currentPage}</strong>
</c:when>
<c:otherwise>
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${num}">${num}</a>
</c:otherwise>
</c:choose>
</c:forEach>
</c:when>
<c:otherwise>
<c:choose>
<c:when
test="${logpage.totalPage>10 && logpage.currentPage>=4}">
<!-- 显示后半部分信息 -->
<c:forEach var="num" begin="${logpage.totalPage-9}"
end="${logpage.totalPage}" step="1">
<c:choose>
<c:when test="${logpage.currentPage == num}">
<strong>${logpage.currentPage}</strong>
</c:when>
<c:otherwise>
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${num}">${num}</a>
</c:otherwise>
</c:choose>
</c:forEach>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${logpage.totalPage>10}">
<!-- 显示前半部分值 -->
<c:forEach var="num" begin="1" end="10" step="1">
<c:choose>
<c:when test="${logpage.currentPage == num}">
<strong>${logpage.currentPage}</strong>
</c:when>
<c:otherwise>
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${num}">${num}</a>
</c:otherwise>
</c:choose>
</c:forEach>
</c:when>
<c:otherwise>
<!-- 如果不够10页则显示 -->
<c:forEach var="num" begin="1" end="${logpage.totalPage}"
step="1">
<c:choose>
<c:when test="${logpage.currentPage == num}">
<strong>${logpage.currentPage}</strong>
</c:when>
<c:otherwise>
<a href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${num}">${num}</a>
</c:otherwise>
</c:choose>
</c:forEach>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<!-- 如果当前页不是最后页面,则显示 《 《-->
<c:if test="${logpage.currentPage != logpage.nextPage}">
<a
href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${logpage.nextPage}"
class="next">››</a>
</c:if>
<!-- 如果超过一定范围则显示... -->
<c:if test="${logpage.totalPage>10 && (logpage.totalPage-logpage.currentPage)>7}">
<a
href="admincp.jsp?action=illegallog&lpp=${lpp}&page=${logpage.totalPage}"
class="last">... ${logpage.totalPage}</a>
</c:if>
<!-- 如果页数大于10则显示此框-->
<c:if test="${logpage.totalPage>10}">
<kbd>
<input type="text" name="custompage" size="3"
onkeydown="if(event.keyCode==13) {window.location='admincp.jsp?action=illegallog&lpp=${lpp}&page='+this.value; return false;}" />
</kbd>
</c:if>
</c:if>
<!-- ******************************分页结束********************************* -->
<jsp:include page="../cp_footer.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -