contact_us.jsp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ page import="com.kingdee.eas.cp.common.web.util.WebContextUtil"%>
  3. <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
  4. <%@ page import="com.kingdee.bos.Context"%>
  5. <%@ page import="java.util.Vector,java.util.Locale" %>
  6. <%@ page import="com.kingdee.eas.cp.common.web.util.PortalPersonalSetUtil" %>
  7. <%@ page import="com.kingdee.eas.cp.common.web.util.WebContextUtil" %>
  8. <%@ page import="com.kingdee.eas.cp.eip.sso.util.EASWebContextUtil"%>
  9. <%@ page import="org.apache.struts.Globals" %>
  10. <%
  11. String localeStr = (String)request.getParameter("locale");
  12. Locale locale = new Locale("l2");
  13. if(localeStr!=null&&!"".equals(localeStr)){
  14. locale = new Locale(localeStr.toLowerCase());
  15. }
  16. session.setAttribute(Globals.LOCALE_KEY,locale);
  17. String loginLogoUrl = PortalPersonalSetUtil.getAttribute(request, "picture" , "help_title_logo", "color", WebContextUtil.getColorSchema(request), 1, locale);
  18. // modify by liang yongyuan for BUG BT399642 in 2010.06.23
  19. String visible = PortalPersonalSetUtil.getAttribute("picture", "help_title_logo", "visible");
  20. %>
  21. <html>
  22. <head>
  23. <link rel="stylesheet" href="<%=session.getAttribute(com.kingdee.eas.portal.web.control.Globals.USER_SKIN)%>/css/helper.css" type="text/css">
  24. </head>
  25. <body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
  26. <table width="100%" height="57" cellpadding="0" cellspacing="0" background="<%=session.getAttribute(com.kingdee.eas.portal.web.control.Globals.USER_SKIN)%>/image/helper/help_title_fill.gif">
  27. <tr><td>
  28. <table align="center" width = "900px" height="57" valign="top" cellpadding="0" cellspacing="0">
  29. <tr>
  30. <td width = "900px" height="57" valign="top" cellpadding="0" cellspacing="0" align="left">
  31. <% if(visible != null && "true".equals(visible)) { %>
  32. <div class="helper_title_logo"><img width="170px" height="57px" src="<%=EASWebContextUtil.render(request, loginLogoUrl)%>"/></div>
  33. <% } %>
  34. </td>
  35. </tr>
  36. </table>
  37. </td></tr>
  38. </table>
  39. <table width="900px" height="509" align="center" cellpadding="0" cellspacing="0" >
  40. <tr>
  41. <td><img src="<%=session.getAttribute(com.kingdee.eas.portal.web.control.Globals.USER_SKIN)%>/image/helper/help_banner_left.gif"></td>
  42. <td align="center" height="30" valign="middle" width="100%" class="helper_title" background="<%=session.getAttribute(com.kingdee.eas.portal.web.control.Globals.USER_SKIN)%>/image/helper/help_banner_fill.gif">
  43. <bean:message bundle="portal" key="contact_me"/>
  44. </td>
  45. <td><img src="<%=session.getAttribute(com.kingdee.eas.portal.web.control.Globals.USER_SKIN)%>/image/helper/help_banner_right.gif"></td>
  46. </tr>
  47. <tr>
  48. <td align="left" valign="top" colspan="3">
  49. <table width="100%" height="100%" cellpadding="0" cellspacing="0">
  50. <tr>
  51. <td colspan="3" align="left" valign="top">
  52. <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" >
  53. <tr>
  54. <td width="1" class="helper_borderLine"></td>
  55. <td >
  56. <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  57. <tr>
  58. <td height="1" class="helper_borderLine"></td>
  59. </tr>
  60. <tr>
  61. <td height="12"></td>
  62. </tr>
  63. <tr>
  64. <td ><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  65. <tr>
  66. <td width="12"></td>
  67. <td align="center">
  68. <%@ include file="contact_us_content.jsp" %>
  69. </td>
  70. <td width="12"></td>
  71. </tr>
  72. </table>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td height="12"></td>
  77. </tr>
  78. <tr>
  79. <td height="1" class="helper_borderLine"></td>
  80. </tr>
  81. </table>
  82. </td>
  83. <td width="1" class="helper_borderLine"></td>
  84. </tr>
  85. </table>
  86. </td>
  87. </tr>
  88. </table>
  89. </td>
  90. </tr>
  91. </table>
  92. </body>
  93. </html>