stat.jsp
上传用户:toby834
上传日期:2013-10-21
资源大小:2613k
文件大小:1k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=GBK"%>
  2. <%@ page import = "net.acai.forum.SkinUtil,
  3. net.acai.util.*,
  4. net.acai.forum.*"%>
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=GBK">
  8. <meta HTTP-EQUIV="Expires" CONTENT="0">
  9. <meta http-equiv="Refresh" content="300;URL=?stats=<%=ParamUtil.getString(request,"stats","论坛首页")%>">
  10. </head>
  11. <body bgcolor=#ffffff alink=#333333 vlink=#333333 link=#333333 topmargin=0 leftmargin=0>
  12. <script>
  13. function openScript(url, width, height){
  14. var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
  15. }
  16. </script>
  17. <%
  18. SkinUtil.checkUserStats(request,response);
  19. if(SMSManager.checkSMS(request)){
  20. SMSMSG sms=SMSManager.getNewSMS(request);
  21. if(sms!=null){
  22. out.println("<div align="right" style="font-size:9pt;">><img src=pic/newmail.gif><a href=javascript:openScript('usersms.jsp?action=read&id="+sms.getID()+"&sender="+sms.getSender()+"',420,320)>您有新短消息</a></div>");
  23. /*out.println("<script language=JavaScript>openScript('usersms.jsp?action=read&id="+sms.getID()+"&sender="+sms.getSender()+"',420,320)</script>");*/
  24. }
  25. }
  26. %>
  27. </body>
  28. </html>