inner.jsp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <%@page import="com.hcks.cmfds.commons.util.DateUtils"%>
  2. <%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  3. <%@taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
  4. <%
  5. String contextPath = request.getContextPath();
  6. long currentTime = DateUtils.truncate(DateUtils.today()).getTime();
  7. %>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  12. <meta http-equiv="pragram" content="no-cache">
  13. <meta http-equiv="cache-control" content="no-cache, must-revalidate">
  14. <meta http-equiv="expires" content="0">
  15. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  16. <title><decorator:title default="jeeweb"/></title>
  17. <base target="_self"/>
  18. <script type="text/javascript">
  19. var __CURRENT_DATE = <%=currentTime%>;
  20. var __TODAY = new Date(__CURRENT_DATE);
  21. var __CONTEXT_PATH = "<%=contextPath %>";
  22. var __BLANK_IMAGE = __CONTEXT_PATH + "/resource/images/default/s.gif";
  23. function tab(id, title, url, refresh) {
  24. if (!refresh) {
  25. parent.ws.go(id, title, __CONTEXT_PATH + url);
  26. } else {
  27. parent.ws.refresh(id, title, __CONTEXT_PATH + url);
  28. }
  29. }
  30. </script>
  31. <script src="<%=contextPath %>/resource/js/jquery-1.8.3.js" type="text/javascript"></script>
  32. <style>
  33. body{
  34. margin-left: 0px;
  35. margin-top: 0px;
  36. margin-right: 0px;
  37. margin-bottom: 0px;
  38. }
  39. .item_Name {
  40. font-family: Arial, Helvetica, sans-serif;
  41. font-size: 12px;
  42. font-weight: bolder;
  43. color: #333;
  44. }
  45. </style>
  46. <decorator:head/>
  47. </head>
  48. <body>
  49. <decorator:body/>
  50. </body>
  51. <script type="text/javascript">
  52. $(document).ready(fixIE6HScrollbarBug);
  53. function fixIE6HScrollbarBug(){
  54. //fix the ie6 iframe horizontal scrollbars bug
  55. if ($.browser.msie && $.browser.version < 7) {
  56. document.body.style.width = document.documentElement.clientWidth - 2 + "px";
  57. }
  58. }
  59. </script>
  60. </html>