| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=GBK">
- <title>首页</title>
-
- <script type=text/javascript src="/shares/js/jquery-1.6.4.min.js"></script>
- <link href="${pageContext.request.contextPath}//liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <link href="main.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/core/includeList.js"></script>
- <style type="text/css">
- .index-bottom{
- padding-top:5px;
- padding-left:5px;
- float-left:right;
- }
- #msgTitle{
- width:180px;
- -o-text-overflow: ellipsis;
- text-overflow:ellipsis;
- white-space:nowrap;
- overflow:hidden;
- text-align: left;
- }
- .read{
- color: gray;
- }
-
- .unread{
- color: #1f58a5;
- width:30px;
- }
- .forum-container td{text-align: center}
- .forum-container th{text-align: center}
- </style>
- <script type="text/javascript">
- function openMsg(uid,mid){
- var tabid = "ligerui" + new Date().toDateString();
- // addTab(tabid, "消息查看", "seeRecMessage.do?messageid="+mid+"&universalid="+uid,true);
- addTab(new Date().getTime(), "消息查看", "seeRecMessage.do?messageid="+mid+"&universalid="+uid,true);
- }
- function openMsgList(){
- var tabid = "ligerui" + new Date().toDateString();
- addTab(tabid, "消息接收列表", "toRecieveMsgList.do?date="+new Date());
- }
- </script>
- <style type="text/css">
- .index-table th{
- text-align:left;
- }
- </style>
- </head>
- <body class="load_body">
- <div class="forum-container">
- <span style="display:none">${ix}</span>
- <table class="index-table line" width="100%">
- <tr><th width="10%" >状态</th><th width="50%" class="title" style="text-align:left;padding-left:10px;">标题</th><th width="20%" >发送人</th><th width="20%" >发送时间</th></tr>
- <c:if test="${empty recMessagelist}">
- <tr>
- <td colspan="4">没有查询到相关信息……</td>
- </tr>
- </c:if>
- <c:forEach items="${recMessagelist}" var="rec" varStatus="i">
- <tr onclick="openMsg('${rec.universalid}','${rec.messageid}')" style="cursor:pointer" class="${(i.index+1)%2==0?'two':'one'}">
- <!--
- <td>
- <img src="./images/indexModel/${rec.isread=='Y'?'open':'close'}.png" width="15px" height="15px"/>
- </td><td><div id="msgTitle">${rec.title}</div></td><td>${rec.name}</td>
- <td><fmt:formatDate value="${rec.sendtime}" type="both"/> </td>
- -->
- <c:choose>
- <c:when test="${rec.isread eq 'Y'}">
- <td class="read" style="padding-left:0px;">已读</td>
- <td class="read_title" style="padding-left:0px;"><div id="msgTitle" title="${rec.title}"> ${rec.title}</div></td>
- <td class="read" style="padding-left:0px;">${rec.name}</td>
- <td class="read" style="padding-left:0px;"><fmt:formatDate value="${rec.sendtime}" type="both" pattern="MM-dd HH:mm"/> </td>
- </c:when>
- <c:otherwise>
- <td class="unread" style="padding-left:0px;">未读</td>
- <td class="unread" style="padding-left:0px;"><div id="msgTitle" title="${rec.title}"> <img src="liger/lib/ligerUI/skins/${sessionScope.css}/images/index/new.gif" />${rec.title} </div></td>
- <td style="padding-left:0px;">${rec.name}</td>
- <td style="padding-left:0px;"><fmt:formatDate value="${rec.sendtime}" type="both" pattern="MM-dd HH:mm"/> </td>
- </c:otherwise>
- </c:choose>
- </tr>
- </c:forEach>
- </table>
- </div>
- </body>
- </html>
|