📄 sysuserlist.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/UrlTag" prefix="UrlTag" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<html:base />
<title>sysuserlist.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="${pageContext.request.contextPath}/image/main.css" rel="stylesheet" type="text/css">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<style type="text/css">
<!--
.STYLE1 { font-size: 14px;
font-weight: bold;
font-family: "宋体";
}
.STYLE6 {
font-size: 16px;
font-weight: bold;
}
.STYLE7 {font-size: 14px}
.STYLE8 {
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
}
.STYLE10 {color: #FFFFFF}
.STYLE11 {font-size: 14px; font-weight: bold; font-family: "宋体"; color: #FFFFFF; }
-->
</style>
<script type="text/javascript">
function check(){
var tag = true;
if(document.theform.serchname.value==""){
alert("输入不能为空!");
theform.roleid.focus();
return false;
}
if(tag){
theform.submit();
}
}
</script>
</head>
<body>
<center>
</center>
<html:form action="/systemUserAtion.do?tag=select" styleId="theform" method="post">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">
<html:form action="/systemUserAtion.do?tag=updateuser">
<table width="85%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" align="center" valign="middle" nowrap>
<span class="STYLE1">系 统 用 户 管 理</span></td>
</tr>
</table>
<table width="85%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="71%" height="20" align="center" valign="middle" nowrap> </td>
<td width="29%" align="center" valign="middle" nowrap><span class="STYLE6"><span class="STYLE7">真实姓名</span>:</span>
<html:text property="serchname" size="10" ></html:text>
<input type="button" name="Submit2" value="查询" onClick="check();">
<a href="${pageContext.request.contextPath}/systemUserAtion.do?tag=show">全部信息</a></td>
</tr>
</table>
</html:form>
<table width="94%" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td align="center" valign="middle">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="4%" colspan="3">
<table width="100%" height="62" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="27%" height="33" align="center" valign="middle" nowrap background="../../image/menu_bg2.gif" class="STYLE1 STYLE10" >用户ID</td>
<td width="27%" height="33" align="center" valign="middle" nowrap background="../../image/menu_bg2.gif" class="STYLE11" >真实姓名</td>
<td width="25%" height="33" align="center" valign="middle" nowrap background="../../image/menu_bg2.gif" class="STYLE11" >所属角色编号</td>
<td width="21%" height="33" align="center" valign="middle" nowrap background="../../image/menu_bg2.gif" ><span class="STYLE8">操作</span><span class="STYLE10">【
</span> <span class="STYLE10">
<UrlTag:edit href="${pageContext.request.contextPath}/systemUserAtion.do?tag=insert" flog="1" param="添 加" sentence=""/>
】 </span></tr>
<logic:iterate id="roomMap" name="userlists" scope="request">
<tr>
<td height="29" align="center" valign="middle" nowrap id="ttc"> ${roomMap.loginname}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${roomMap.username}</td>
<td align="center" valign="middle" nowrap id="ttc">
<logic:equal value="2" property="roleid" name="roomMap">
大客户经理
</logic:equal>
<logic:equal value="3" property="roleid" name="roomMap">
客户经理
</logic:equal>
<logic:equal value="1" property="roleid" name="roomMap">
超级用户
</logic:equal>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<UrlTag:edit href="${pageContext.request.contextPath}/systemUserAtion.do?tag=delete&nid=${roomMap.nid}" flog="0" param="删除" sentence="确定要删除吗?"/>
|
<UrlTag:edit href="${pageContext.request.contextPath}/systemUserAtion.do?tag=update&nid=${roomMap.nid}" flog="1" param="修改" sentence=""/> </tr>
</logic:iterate>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
${requestScope.pagetool}
<p> </p>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -