index.jsp
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:4k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
  2. <%request.setCharacterEncoding("GBK"); %>
  3. <html>
  4. <head>
  5. <title>:天津市河东区经贸委:</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  7. <link href="css/sa.css" type="text/css" rel="stylesheet">
  8. </head>
  9. <%String ud = (String)session.getAttribute("UD");
  10. String udid = (String)session.getAttribute("UDID");
  11. String un = (String)session.getAttribute("UN");
  12. String uid = (String)session.getAttribute("UID");
  13. String pp = (String)session.getAttribute("POPE");
  14. String login = (String)session.getAttribute("LOGIN");
  15.  %>
  16. <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  17. <div id="big">
  18. <div id="logo">
  19. <table id="__01" width="980" height="163" border="0" cellpadding="0" cellspacing="0">
  20. <tr>
  21. <td>
  22. <img src="images/logo_01.gif" width="118" height="163" alt=""></td>
  23. <td>
  24. <img src="images/logo_02.gif" width="104" height="163" alt=""></td>
  25. <td>
  26. <img src="images/logo_03.gif" width="126" height="163" alt=""></td>
  27. <td>
  28. <img src="images/logo_04.gif" width="127" height="163" alt=""></td>
  29. <td>
  30. <img src="images/logo_05.gif" width="114" height="163" alt=""></td>
  31. <td>
  32. <img src="images/logo_06.gif" width="126" height="163" alt=""></td>
  33. <td>
  34. <img src="images/logo_07.gif" width="129" height="163" alt=""></td>
  35. <td>
  36. <img src="images/logo_08.gif" width="136" height="163" alt=""></td>
  37. </tr>
  38. </table>
  39. </div>
  40. <div id="left">
  41. <IFRAME marginWidth="0" marginHeight="0" src="left.html" frameBorder="0" width="240" scrolling="no" height=426></IFRAME>
  42. </div>
  43. <div id="bottom">
  44. <table background="images/bottom.gif" width="980" height="22">
  45. <tr>
  46. <td>&nbsp;</td>
  47. <td><font class="font">Copyright(c)2008.tjut</font></td>
  48. <td>&nbsp;</td>
  49. <td>&nbsp;</td>
  50. <td>&nbsp;</td>
  51. <td>&nbsp;</td>
  52. </tr>
  53. </table>
  54. </div>
  55. <div id="right">
  56. <IFRAME name="mainFrame" id="mainFrame" marginWidth="0" marginHeight="0" src="userlogin.jsp" frameBorder="1" width="730" scrolling="0" height=421></IFRAME>
  57. </div>
  58. </div>
  59. <div id="big1">
  60. <div id="swf1">
  61. <object width="500" height="140" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
  62. <param name="wmode" value="transparent" />
  63. <param name="allowScriptAccess" value="sameDomain" />
  64. <param name="movie" value="swf/logo.swf" />
  65. <embed src="swf/logo.swf" width="500" height="140"></embed>
  66. </object>
  67. </div>
  68. <div id="swf2">
  69. <object width="400" height="140" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
  70. <param name="wmode" value="transparent" />
  71. <param name="allowScriptAccess" value="sameDomain" />
  72. <param name="movie" value="swf/logo1.swf" />
  73. <embed src="swf/logo1.swf" width="400" height="140"></embed>
  74. </object>
  75. </div>
  76. <div id="sa1">
  77. <marquee id="affiche" align="left" behavior="slide" direction="left" height="30" width="240" loop="-1" scrollamount="2.0"     onMouseOut="this.start()" onMouseOver="this.stop()">
  78. <font class="font">
  79. <%
  80. if(login!=null&&login.equals("OK")){
  81.   if(login!=null&&login.equals("OK")){
  82.     if(pp.equals("com")){//普通权限
  83.   }else if(pp.equals("dep")){//部门权限
  84. }else if(pp.equals("all")){//全局权限
  85. }
  86. %>
  87. <%out.print("欢迎用户 "+ un +" ,你属于 "+ ud+ "");%>
  88. <%
  89. }
  90. }
  91. %>
  92. </font>
  93. </marquee>
  94. </div>
  95. <div id="sa2">
  96. <a href="index.jsp" class="white">内网首页</a>&nbsp;&nbsp;
  97. <a href="logout.jsp" class="white" target="mainFrame">注销</a></div>
  98. </div>
  99. <script language="javascript" src="js/zhong.js" type="text/javascript"></script>
  100. <script type="text/javascript">
  101. function isSession(loginSession){
  102.   if(loginSession != 'OK'){
  103.     document.getElementById("sa1").sytle.display='none';
  104.   }
  105. }
  106. </script>
  107. </body>
  108. </html>