blacklist.jsp
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:3k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page language="java" pageEncoding="GBK"%>
  2. <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
  3. <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
  4. <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
  5. <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
  10. <title>无标题文档</title>
  11. <style>
  12. <!--
  13. a{TEXT-DECORATION:none}
  14. body{ font-size:12px}
  15. table{ }
  16. -->
  17. </style> 
  18. </head>
  19. <body>
  20. <table width="100%" border="1">
  21.   <tr>
  22.     <td>用户编号</td>
  23.     <td>用户名称</td>
  24.     <td>用户电话</td>
  25.     <td>用户邮箱</td>
  26.     <td>邮件位置</td>
  27.     <td>操作</td>
  28.   </tr>
  29.   
  30.   <logic:notPresent name="page" property="list">
  31.    <tr>
  32.    <td colspan="5">暂时没有数据</td>
  33.    </tr>
  34.   </logic:notPresent>
  35.   <logic:present name="page" property="list">
  36.    <logic:empty name="page" property="list">
  37.    <tr>
  38.    <td colspan="5">暂时没有数据</td>
  39.    </tr>
  40.    </logic:empty>
  41.    <logic:notEmpty name="page" property="list">
  42.    <logic:iterate id="temp" name="page" property="list">
  43.   <tr>
  44. <td>
  45. <bean:write name="temp" property="uno"/>
  46. </td>
  47.     <td>
  48.      <bean:write name="temp" property="uname"/>
  49.     </td>
  50.     <td>
  51.      <bean:write name="temp" property="umobile"/>
  52.     </td>
  53.     <td>
  54.      <bean:write name="temp" property="uemail"/>
  55. </td>
  56. <td>
  57.  <logic:equal value="1" name="temp" property="isBlackList">
  58.      <font color="red">垃圾箱</font>
  59.     </logic:equal>
  60.     <logic:equal value="0" name="temp" property="isBlackList">
  61.      <font color="blue">收件箱</font>
  62.     </logic:equal>
  63. </td>
  64.     <td align="center">
  65.      <html:link action="/blacklist?method=upload&blackuserid=${temp.uno}&isBlackList=${temp.isBlackList}">
  66.     <logic:equal value="1" name="temp" property="isBlackList">
  67.      【加入好友】
  68.     </logic:equal>
  69.     <logic:equal value="0" name="temp" property="isBlackList">
  70.      【加入黑名单】
  71.     </logic:equal>
  72.      </html:link>
  73.     </td>
  74.   </tr>
  75.   </logic:iterate>
  76.    </logic:notEmpty>
  77.   </logic:present>
  78.   <tr>
  79.    <td colspan="6" align="right">
  80.    <bean:write name="page" property="pageBar" filter="false"/>
  81.    </td>
  82.   </tr>
  83. </table>
  84. </body>
  85. </html>