- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
recemessage.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:10k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.sql.*,java.lang.*"%>
- <jsp:useBean id="sale_manageBeans" class="MyFly.Bean.sale_manageBeans" scope="request"/>
- <%
- String name=(String)session.getAttribute("name");
- if ( name == null){
- out.println("<Script language=JavaScript>alert('您还没登录,没有权利查看');javascript:history.back();</Script>");
- }
- %>
- <script language="javascript">
- function openScript(url,name, width, height){
- var Win = window.open(url,name,'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
- }
- </script>
- <HTML><HEAD><TITLE>-站内消息-</TITLE>
- <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
- href="../image/buyok_shop.css" type=text/css rel=stylesheet><LINK
- href="../image/buyok_shop.css" type=text/css rel=stylesheet>
- <STYLE type=text/css>BODY {
- MARGIN: 0px
- }
- .STYLE1 {
- COLOR: #ff3300
- }
- .STYLE2 {
- COLOR: #ff0000
- }
- </STYLE>
- <META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
- <BODY>
- <CENTER>
- <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
- bgColor=#ffffff border=0>
- <TBODY>
- <TR>
- <TD width=760>
- <TABLE class=4l borderColor=#ebebeb cellSpacing=0 cellPadding=0
- width="100%" align=center border=0>
- <TBODY>
- <TR>
- <TD>
- <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
- border=0>
- <TBODY>
- <TR>
- <TD colSpan=2 height=13></TD></TR>
- <TR>
- <TD width=260>
- <DIV align=center><IMG height=45 src="../image/logo.gif"
- width=200></DIV></TD>
- <TD align=right width=500>
- <TABLE cellSpacing=0 cellPadding=0 width=500 align=right
- border=0>
- <TBODY>
- <TR>
- <TD align=right width=22><IMG height=67
- src="../image/top_1.gif" width=7></TD>
- <TD align=right width=82><A onfocus=this.blur()
- href="http://www.erbook.com.cn/default.asp"><IMG
- height=67 src="../image/home.gif" width=82
- border=0></A></TD>
- <TD align=right width=74><A onfocus=this.blur()
- href="http://www.erbook.com.cn/buyok_xs.asp"><IMG
- height=67 src="../image/newbook.gif" width=74
- border=0></A></TD>
- <TD align=right width=79><A onfocus=this.blur()
- href="http://www.erbook.com.cn/buyok_jp.asp"><IMG
- height=67 src="../image/jptj.gif" width=79
- border=0></A></TD>
- <TD align=right width=75><A onfocus=this.blur()
- href="http://www.erbook.com.cn/buyok_tejia.asp"><IMG
- height=67 src="../image/tejia.gif" width=75
- border=0></A></TD>
- <TD align=right width=78><A onfocus=this.blur()
- href="http://www.erbook.com.cn/guest/index.asp"><IMG
- height=67 src="../image/guest.gif" width=78
- border=0></A></TD>
- <TD align=right width=90><A onfocus=this.blur()
- href="http://www.erbook.com.cn/help_lx.asp"><IMG
- height=67 src="../image/link_wo.gif" width=90
- border=0></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
- <TABLE width=759 height="425" border=0 align=center cellPadding=0 cellSpacing=0
- bgColor=#ffffff class=grayline>
- <TBODY>
- <TR>
- <TD vAlign=top align=middle width=171>
- <TABLE cellSpacing=0 cellPadding=0 width=171 align=center border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=middle width=176><A
- href="http://www.erbook.com.cn/user_center.asp"><IMG alt=回到用户中心首页
- src="../image/usermenu1.gif" align=center border=0></A></TD></TR>
- <TR>
- <TD vAlign=top align=middle width=176
- background=../image/usermenu2.gif height=346><BR>
- <TABLE cellSpacing=0 cellPadding=0 width="80%" border=0>
- <TBODY>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=修改个人资料
- href="usermodity.jsp">个 人 资 料</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=修改登陆密码
- href="userpass.jsp">密 码 设 置</A></DIV></TD>
- </TR>
- <TR>
- <TD vAlign=center height=30>
- <DIV align=center><IMG alt=我的收藏 src="../image/xie.gif"
- align=center border=0> <A title=查看我的收藏
- href="#" onclick="openScript('collectionuser.jsp','collectionuser',650,300);">我 的 收 藏</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=查看个人订单
- href="list_info.jsp">订 单 查 看</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=接收站内消息
- href="recemessage.jsp">接 收 消 息</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=发送站内消息
- href="sendmessage.jsp">发 送 消 息</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=安全退出
- href="loginout.jsp">安 全 退 出</A></DIV></TD>
- </TR>
- </TBODY>
- </TABLE></TD></TR>
- <TR>
- <TD vAlign=top align=middle width=176 height=19><IMG
- src="../image/usermenu3.gif"
- align=center></TD></TR></TBODY></TABLE></TD>
- <TD width=6 bgColor=#cccccc></TD>
- <TD vAlign=top width=580 bgColor=#ffffff>
- <TABLE cellSpacing=2 cellPadding=2 width="96%" align=center border=0>
- <TBODY>
- <TR>
- <TD align=right width=35 height=30><IMG height=11
- src="../image/jt_2.gif" width=11></TD>
- <TD width=521 height=30>当前位置:<A
- href="http://www.erbook.com.cn/default.asp">首页</A> > <A
- href="http://www.erbook.com.cn/user_center.asp">用户中心</A> >
- 接收站内消息</TD>
- </TR>
- <TR>
- <TD align="center" background=../image/bgline.gif colSpan=2
- height=1></TD></TR></TBODY></TABLE><BR>
- <table width="573" border="1" align="center" borderColor="#c0c0c0" cellSpacing=0 borderColorDark="#ffffff">
- <tr valign="middle">
- <td width="187" height="29" align="center">留言标题</font></td>
- <td width="80" align="center">消息类型</td>
- <td width="84" align="center">发布时间</td>
- <td width="84" align="center">回复(是/否)</td>
- <td align="center">查看</td>
- <td align="center">删除</td>
- </tr>
- <%
- int size=10;
- String strNum=request.getParameter("pageNum");
- int cur;
- sale_manageBeans.init1(size,"lin");
- int num=sale_manageBeans.rowCount;
- if(num!=0)
- {
- int pageNum=sale_manageBeans.pageCount; //取得总页数
- if(strNum == null || strNum.equals(""))
- {
- cur=1;
- }
- else
- {
- cur=Integer.parseInt(strNum);//取得要显示的页
- }
- if(cur < 1)
- {
- cur = 1;
- }
- if(cur > pageNum)
- {
- cur = pageNum;
- }
- sale_manageBeans.get_messageRow(cur,"lin");
- for(int i=0; i<sale_manageBeans.getItems(); i++)
- {
- %>
- <tr>
- <td height="28" align="left"> <%=sale_manageBeans.getTitle(i)%></td>
- <td width="109" align="center">
- <% String str="";
- if(!sale_manageBeans.getIsHuifu(i).equals("1"))
- str="留言";
- else
- str="系统消息";
- %><%=str%></td>
- <td align="center"> <%=sale_manageBeans.getAppendTime(i)%></td>
- <td align="center">
- <%
- String str1="";
- if(!sale_manageBeans.getIsHuifu(i).equals("1"))
- { str1=sale_manageBeans.getIsHuifu(i);
- %>
- <%=str1%>
- <%} else
- { %>
- <img src="../image/mailhint.gif">
- <%}%>
- </td>
- <td width="40" align="center"><img src="../HouTai/images/admin/edit.gif" alt="回复" width="19" height="18" border="0" onClick="openScript('content.jsp?index=<%=sale_manageBeans.getSelID(i)%>','receive',600,300);"></td>
- <td width="43" align="center"><a href="sale_manageDel.jsp?index=<%=sale_manageBeans.getSelID(i)%>"><img src="../HouTai/images/admin/del.gif" alt="删除" width="16" height="16" border="0"></a></td>
- </tr>
- <%
- }
- %>
- <tr><td colspan="6"><!--分页代码-->
- <div align="right"><a href="recemessage.jsp?pageNum=<%=1%>">首页</a>
- <a href="recemessage.jsp?pageNum=<%=cur-1 %>">上一页</a>
- <a href="recemessage.jsp?pageNum=<%=cur+1 %>">下一页</a>
- <a href="recemessage.jsp?pageNum=<%=pageNum%>">尾页</a> 页次:<font color="#FF0000"><%=cur%></font><%=pageNum%>
- </div></td></tr>
- <%
- }//end if
- else
- {
- %>
- <TR><TD colspan="6">
- <MARQUEE width="100%" height=10>暂时没有站内消息</MARQUEE></TD></TR>
- <%}%>
- </table>
- </TD>
- </TR></TBODY></TABLE>
- <%@ include file="foot.jsp" %>
- </CENTER></BODY></HTML>