singleusermanage.jsp

来自「移动彩信管理平台」· JSP 代码 · 共 157 行

JSP
157
字号
<%@ page contentType="text/html; charset=utf-8"%> 
<%@ include file="../common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>单用户管理页</title>
<link href="${webctx }/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${webctx }/js/check.js"></script>
<script type="text/javascript">
<!--
	function nameValidate(){
		if(yidongcheckMobile(document.queryform.name)==false){
			alert("请输入正确的手机号");
			return false;
		}
		return true;
	}
	function openValidate(){
		if(document.openOrAnnulform.openType.value==0){
			alert("请选择要开户的类别!");
			return false;
		}
		return true;
	}
	
	function desValidate(){
		
		return true;
	}
//-->
</script>

</head>
<body>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    	<table border="0" align="left" cellpadding="0" cellspacing="0">
	      <tr>
	        <td width="8" align="left"><img src="${webctx}/demo/images/pny_01.jpg" width="8" height="25" /></td>
	        <td width="80" align="center" background="${webctx}/demo/images/pny_bg.gif" class="psize3">单用户管理</td>
	        <td width="8" align="right"><img src="${webctx}/demo/images/pny_02.jpg" width="8" height="25" /></td>
	      </tr>
    	</table>
    </td>
  </tr>
</table> 
<table width="98%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
  <tr>
    <td height="20" align="center" bgcolor="#FFFFFF">
    <table width="99%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
      <tr>
        <td height="20" colspan="8" align="left" bgcolor="#A6D5D9" class="psize4">&nbsp;单用户查询</td>
      </tr>
      <tr>
      	<td height="20" colspan="8" align="left" bgcolor="#F2FAFD">	
      	 <form action="${webctx}/queryUser.do" name="queryform" method="post">
			用户号码: <s:textfield name="name" maxlength="11"/>
			<span class="ysize1"> 
				<s:submit cssClass="pal" value="查询" onclick="return nameValidate()"/> 
       		</span>
       	 </form>
      	</td>          
      </tr>
      </table>  
  <script type="text/javascript">
<!--
	document.queryform.name.value = "";
//-->
</script>
<!-- 显示用户的信息===================================================================== -->
	
	<s:if test="${isFist}==1">
	<table width="99%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
	    <tr>
	      <td height="20" colspan="4" align="left" bgcolor="#A6D5D9" class="psize4">&nbsp;当前状态</td>
	    </tr>
	    <tr>
			<td height="20" align="left" bgcolor="#F2FAFD">用户号码:&nbsp;${userInfo.phone}</td>
			<td height="20" align="left" bgcolor="#F2FAFD">
				用户类型:&nbsp;
				<s:if test="${userInfo.typeId}==1">注册用户</s:if>
				<s:else>非注册用户</s:else>
			</td>
			<td height="20" align="left" bgcolor="#F2FAFD">当前栏目:&nbsp;${userInfo.individuality}</td>
			<td height="20" align="left" bgcolor="#F2FAFD">
				<s:if test="userInfo.typeId==0">销户时间:</s:if>
				<s:else>开户时间:	</s:else>
				&nbsp;${userInfo.registerDate}
			</td>
		</tr>
		<tr>
			<td height="20" colspan="4" align="right" bgcolor="#F2FAFD"><a href="${webctx}/userScore.do?mobile=${name}">该用户积分排名</a></td>
		</tr> 
    </table>
      
			      <!-- fjjjjjjjjjjjjjjjjjjjjjjjjjjjjj -->
     <table width="99%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
     <tr>
       <td height="20" colspan="2" align="left" bgcolor="#A6D5D9" class="psize4">开户操作区</td>
     </tr>
     <tr>
		<td height="20"  align="left" bgcolor="#F2FAFD">
			<form action="${webctx}/openOrAnnul.do" name="openOrAnnulform" method="post">
				<span class="ysize1">
				<s:if test="${userInfo.typeId}==1"></s:if><s:else>
				用户类型:&nbsp;
				 
					
					<s:select theme="simple" name="openType" list="businessInfoList" listKey="sequence" listValue="description" headerKey="0" headerValue="请选择列表"  cssStyle="WIDTH: 130px"></s:select>
	 					</s:else>
	 				
	 				
	 				<s:hidden name="mobile" value="${name}"/>
	 				
	 				<s:if test="${userInfo.typeId}==1">
						<s:hidden name="isOpen" value="0"/>
						&nbsp;<s:submit cssClass="pal" value="销户" onclick="return desValidate()"/> 
					</s:if>
					<s:else>
						<s:hidden name="isOpen" value="1"/>
						<s:submit cssClass="pal" value="开户" onclick="return openValidate()"/> 
					</s:else>
      			</span>
      		</form>
		</td>
      </tr>
    </table>
     <!--  -->
    <table width="99%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
    	<tr>
      		<td height="20"  colspan="4" align="left" bgcolor="#A6D5D9" class="psize4">历史纪录</td>
     	</tr>
    	<tr>
	      	<th height="20" width="20%" align="center" bgcolor="#F2FAFD">开户时间</th>
			<th height="20" width="20%" align="center" bgcolor="#F2FAFD">销户时间</th>
			<th height="20" width="20%" align="center" bgcolor="#F2FAFD">用户类型</th>
			<th height="20" width="20%" align="center" bgcolor="#F2FAFD">开户来源</th>
	 	</tr>
	 	<s:iterator value="#request.userHistoryList" status="stuts">
			<tr align="center">
		      	<td><s:property value="openDate"/> </td>
		      	<td><s:property value="destoryDate"/></td>
		      	<td><s:property value="typeId"/></td> 
	     		<td><s:property value="openSource"/></td>   
	  		</tr>	
  		</s:iterator>
   	</table>
   	</s:if>
  	</td>
  </tr> 
</table>
</body>
</html>

⌨️ 快捷键说明

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