index.jsp 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head id="Head1">
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <TITLE>
  6. Bank BTN - Paling Berpengalaman &amp; Terpercaya
  7. </TITLE>
  8. <meta http-equiv="pragma" content="no-cache" />
  9. <meta http-equiv="content-style-type" content="text/css" />
  10. <meta http-equiv="content-script-type" content="text/javascript" />
  11. <link type="text/css" rel="stylesheet" href="images/stylesheet.css" />
  12. <style type="text/css">
  13. .debugTable td, .debugTable th { border: solid 1px #cccccc; }
  14. .style2 {
  15. color: #999999;
  16. font-weight: bold;
  17. }
  18. </style>
  19. </head>
  20. <logic:notEmpty name="error.general"><table><tr><td><font color="red"><bean:write name="error.general"/></font></td></tr></table></logic:notEmpty>
  21. <%
  22. // bila request login.jsp
  23. request.getUserPrincipal();
  24. if(request.getUserPrincipal()!= null)
  25. {
  26. response.sendRedirect("login.do");
  27. }
  28. %>
  29. <script type="text/javascript" language="javascript">
  30. <!--
  31. function doAuthentication(){
  32. document.forms.login.submit();
  33. }
  34. -->
  35. </script>
  36. <body>
  37. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  38. <tr>
  39. <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  40. <tr>
  41. <td width="1%"><img src="images/headerUV_01.jpg" width="20" height="100" align="left" /></td>
  42. <td width="10%"><img src="images/headerUV_02.jpg" width="177" height="100" align="left" /></td>
  43. <td width="12%"><img src="images/headerUV_03.jpg" width="200" height="100" align="left" /></td>
  44. <td width="80%" style="background-image:url('images/headerUV_bg_01.jpg');" ><img src="images/headerUV_04.jpg" width="423" height="100" align="left" /></td>
  45. <td width="1%"><img src="images/headerUV_05.jpg" width="20" height="100" align="right" /></td>
  46. </tr>
  47. <tr>
  48. <td colspan="2" width="10%" style="background-image:images/headerUV_07.jpg');" height="31" align="center" ><!--DATE/TIME--></td>
  49. <td width="12%"><img src="images/headerUV_08.jpg" width="200" height="31" align="left"/></td>
  50. <td nowrap="nowrap" width="80%" style="background-image:url('images/headerUV_bg_02.jpg');" align="right"/></td>
  51. <td width="1%"><img src="images/headerUV_10.jpg" width="20" height="31" align="right" /></td>
  52. </tr>
  53. </table>
  54. </td>
  55. </tr>
  56. <tr>
  57. <td width="100%" valign="top" align="center" height="400" bgcolor="#DEDEDE">
  58. <p>&nbsp;</p>
  59. <p>&nbsp;</p>
  60. <p>&nbsp;</p>
  61. <form name="login" method="post" action="j_security_check" >
  62. <input type="hidden" name="action" value="" />
  63. <table width="300" border="0" cellspacing="3" cellpadding="5" bgcolor="#DEDEDE">
  64. <tr>
  65. <td colspan="3" align="center"><strong>LOGIN PAGE</strong></td>
  66. </tr>
  67. <tr>
  68. <td width="115">User Name</td>
  69. <td width="4">:</td>
  70. <td width="155"><label>
  71. <input type="text" name="j_username" size="30" />
  72. </label></td>
  73. </tr>
  74. <tr>
  75. <td>Password</td>
  76. <td>:</td>
  77. <td>
  78. <input type="password" name="j_password" size="30"/>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td>&nbsp;</td>
  83. <td>&nbsp;</td>
  84. <td>
  85. <label>
  86. <input type="button" name="Submit" onclick="javascript:doAuthentication();" value="LOGIN" />
  87. </label>
  88. </td>
  89. </tr>
  90. <tr>
  91. <td colspan="3">
  92. <logic:notEmpty name="userError">
  93. <font color="#FF0000"><bean:write name="userError"/></font>
  94. </logic:notEmpty>
  95. </td>
  96. </tr>
  97. </table>
  98. </form>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  103. <tr>
  104. <td width="1%"><img src="images/footerUV_01.jpg" width="20" height="59" alt="" /></td>
  105. <td width="98%" style="background-image:url('images/footer_bg.jpg');">
  106. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  107. <TR>
  108. <TD width="50%" align="left"><img src="images/footerUV_03_01.jpg" width="377" height="59" alt=""/></TD>
  109. <TD width="50%" align="right">
  110. <FONT color="#FFFFFF"><b>v.1.0.383</b></FONT>
  111. </TD>
  112. </TR>
  113. </table>
  114. <td width="1%"><img src="images/footerUV_03.jpg" width="18" height="59" alt="" /></td>
  115. </tr>
  116. </table></td>
  117. </tr>
  118. </table>
  119. </body>
  120. </html>