⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listuser.jsp

📁 电信用户自服务系统
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GBK"    pageEncoding="GBK"%><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><html><head><title> getusersuccess </title><script>	function validatec(form){		if(form.cLoginName.value.length == 0){			alert("请输入账务帐号!");			form.cLoginName.focus();			return false;		}		return true;	}	function validate(form){		if(form.cLoginName.value.length == 0){			alert("请输入账务帐号!");			form.cLoginName.focus();			return false;		}		if(form.firstpwd.value.length == 0 || form.lastpwd.value.length == 0){			alert("密码不能为空!");			form.firstpwd.focus();			return false;		}		if(form.firstpwd.value != form.lastpwd.value){			alert("密码不一致!");			form.firstpwd.focus();			return false;		}		return true;	}	</script><style type="text/css"><!--@import url(/app/son.css);@import url(/app/index.css);--></style><meta http-equiv="Content-Type" content="text/html; charset=GBK"><link href="/app/index.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ccddee" background="/app/image/background.jpg" link="#000066" vlink="#0066FF" alink="#99FF00"><div align="center">   <form name="form1" method="post" action="${pageContext.request.contextPath}/userManage/findUser.do" onsubmit="return validatec(this)">    <table width="91%" border="0" align="center">      <tr bgcolor="#ccddee" class="pp">         <td width="14%" height="6"><span class="pp"><a href="${pageContext.request.contextPath}/userManage/toAddUser.do" class="text_link">sta 开通帐户</a></span></td>        <td><span class="yellow"><a href="${pageContext.request.contextPath}/userManage/toListUser.do" class="text_link"> 用户列表</a></span> </td>        <td bgcolor="#ccddee"> <div align="center"><span class="yellow"><font color="#000000">帐务帐号</font></span>             <input name="cLoginName" type="text" size="16">            <input name="Submit22" type="submit" class="button9p" value="查询">          </div></td>      </tr>    </table>  </form>  <form action="listUser.htm" method="post" name="userform" onsubmit="return validate(this)">    <div align="center"> <br/>      <table width="91%" border=1 align="center" cellpadding="0" cellspacing="0" bordercolor="#ccccff" bgcolor="#ccddee" class="9P" >        <tr align="center">           <td width="55" height="31"> <div align="center"> 状态</div></td>          <td width="67"> <div align="center"> 帐务帐号</div></td>          <td width="73"> <div align="center"> 姓名</div></td>          <td width="101"> <div align="center"> 电话</div></td>          <td width="138"> <div align="center"> 邮箱</div></td>          <td width="96">开户日期</td>          <td width="96"> <div align="center">修改 </div></td>        </tr>                <c:if test="${sign == 1}" var="isOne">	        <c:if test="${!empty userChecked}" var="hasEmpty">	        	<tr align="center">				  <td height="10">				  	<c:choose>				  		<c:when test="${userChecked.status == 0}">正常</c:when>				  		<c:when test="${userChecked.status == 1}">暂停</c:when>				  		<c:otherwise>删除</c:otherwise>				  	</c:choose>				  </td>		          <td>${userChecked.loginName}</td>		          <td>${userChecked.name}</td>		          <td>${userChecked.phone}</td>		          <td>${userChecked.email}</td>		          <td>${userChecked.enrollDate}</td>		          <c:if test="${userChecked.status == 2}" var="isTwo">			          	<td>&nbsp;</td>			          </c:if>			          <c:if test="${!isTwo}">			          <td><a href="${pageContext.request.contextPath}/userManage/toModifyPage.do?uid=${userChecked.id}">修改</a><br>			            <a href="${pageContext.request.contextPath}/userManage/modifyUserStatus.do?userStatus=${userChecked.id}&target=${(userChecked.status == "0") ? "pause" : "comeback"}">${(user.status == "0") ? "暂停" : "恢复"}</a><br>			            <a href="${pageContext.request.contextPath}/userManage/modifyUserStatus.do?userStatus=${userChecked.id}">删除</a></td>			      </c:if>		        </tr>	        </c:if>	        <c:if test="${!hasEmpty}">	        	<tr align="center"><td colspan="7"><font color="red">您查找的账务帐号不存在</font></td></tr>	        </c:if>        </c:if>                <c:if test="${!isOne}">        	<c:if test="${!empty users}" var="isEmpty">		        <c:forEach var="user" items="${users}" varStatus="status">		        	<tr align="center">					  <td height="10">					  	<c:choose>					  		<c:when test="${user.status == 0}">正常</c:when>					  		<c:when test="${user.status == 1}">暂停</c:when>					  		<c:otherwise>删除</c:otherwise>					  	</c:choose>					  </td>			          <td>${user.loginName}&nbsp;</td>			          <td>${user.name}&nbsp;</td>			          <td>${user.phone}&nbsp;</td>			          <td>${user.email}&nbsp;</td>			          <td>${user.enrollDate}&nbsp;</td>			          <c:if test="${user.status == 2}" var="isTwo">			          	<td>&nbsp;</td>			          </c:if>			          <c:if test="${!isTwo}">			          <td><a href="${pageContext.request.contextPath}/userManage/toModifyPage.do?uid=${user.id}">修改</a><br>			              <a href="${pageContext.request.contextPath}/userManage/modifyUserStatus.do?userStatus=${user.id}&target=${(user.status == "0") ? "pause" : "comeback"}">${(user.status == "0") ? "暂停" : "恢复"}</a><br>			              <a href="${pageContext.request.contextPath}/userManage/modifyUserStatus.do?userStatus=${user.id}">删除</a></td>			          </c:if>		        	</tr>		        </c:forEach>	        </c:if>	        <c:if test="${!isEmpty}">	        	<tr>					<td align="center" height="40" colspan="7">没有用户!</td>				</tr>	        </c:if>        </c:if>                         <!--                 <tr align="center" >           <td height="10"> 正常</td>          <td> <div align="left"> aaa</div></td>          <td>aaa</td>          <td>12345678</td>          <td>aaa@tarena.com</td>          <td>2003-01-01</td>          <td><a href="usermes.htm">修改</a><br>            <a href="listUser2.htm">暂停</a><br>            <a href="listUser3.htm">删除</a></td>        </tr>          -->      </table>    </div>    <p align="center"> <font color="#000001" size="2">[总用户:${totalUsers}人,当前是:${currentPage}-${currentPage} 正常:${x},暂停:${y}      删除:${z} 第${currentPage}页/共${totalPage}页 [       	<c:if test="${pageMessage == 1}" var="isOne">      		<a href="${pageContext.request.contextPath}/userManage/toListUser.do?sign=${currentPage}">下一页</a>      	</c:if>      	<c:if test="${pageMessage == totalPage && pageMessage != 1}" var="isEnd">      		<a href="${pageContext.request.contextPath}/userManage/toListUser.do?sign=${currentPage}">上一页</a>      	</c:if>      	<c:if test="${!isOne && !isEnd}">      		<a href="${pageContext.request.contextPath}/userManage/toListUser.do?sign=pageUp&pageNum=${currentPage}">上一页</a>&nbsp;|      		<a href="${pageContext.request.contextPath}/userManage/toListUser.do?sign=pageDown&pageNum=${currentPage}">下一页</a>      	</c:if>       ] 转到</font>       <select name="selectPage" onchange='javascript:userform.submit()'>      	<c:forEach var="user" items="${users}" varStatus="status">        	<option value="${status.count}" ${status.count == 1 ? "selected" : ""}>${status.count}页</option>      	</c:forEach>      </select>      </p>  </form></div><hr/><p class="text_link"><font size="2" face="宋体">  <center>    About Tarena - 公司简介 - 联系方法 - 相关法律 - 客户服务   </center>  <br>  <center>    达内公司版权所有  </center>  </font></p><p class="text_link"><font size="-1">  <center>    Copyright&nbsp;<img src="/image/c-00.gif" width="9" height="9">&nbsp;2000.     Tarena Technologies Inc. All Rights Reserved   </center>  </font></p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -