login.jsp 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <%
  2. id.co.hanoman.service.ePayment.NhAppUser nhAppUser = (id.co.hanoman.service.ePayment.NhAppUser)request.getSession().getAttribute("login.user");
  3. if(nhAppUser != null) {
  4. response.sendRedirect("home.jsp");
  5. }
  6. %>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  11. <title>e-Payment BTN</title>
  12. <META http-equiv="pragma" content="no-cache">
  13. <META http-equiv="content-style-type" content="text/css">
  14. <META http-equiv="content-script-type" content="text/javascript">
  15. <LINK rel="shortcut icon" href="media/favicon.ico">
  16. <LINK type="text/css" rel="stylesheet" href="./images/stylesheet.css">
  17. <%/*<logic:notEmpty name="error.general"><table><tr><td><font color="red"><bean:write name="error.general"/></font></td></tr></table></logic:notEmpty>*/%>
  18. <script type="text/javascript" language="javascript">
  19. function doReset(){
  20. document.forms.login.username.value="";
  21. document.forms.login.password.value="";
  22. }
  23. <!--
  24. function doAuthentication(){
  25. document.forms.login.action.value="login_ok";
  26. document.forms.login.submit();
  27. }
  28. -->
  29. </script>
  30. <STYLE type="text/css">
  31. .debugTable td, .debugTable th { border: solid 1px #cccccc; }
  32. .style2 {
  33. color: #999999;
  34. font-weight: bold;
  35. }
  36. </STYLE>
  37. <body>
  38. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  39. <tr>
  40. <td colspan="2">
  41. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  42. <tr>
  43. <td width="1%"><img src="images/headerEP_01.jpg" width="20" height="100" align="left" /></td>
  44. <td width="10%"><img src="images/headerEP_02.jpg" width="177" height="100" align="left" /></td>
  45. <td width="12%"><img src="images/headerEP_03.jpg" width="200" height="100" align="left" /></td>
  46. <td width="80%" background="images/headerUV_bg_01.jpg"><img src="images/headerEP_04.jpg" width="423" height="100" align="left" /></td>
  47. <td width="1%"><img src="images/headerEP_05.jpg" width="20" height="100" align="right" /></td>
  48. </tr>
  49. <tr>
  50. <td width="1%"><img src="images/headerEP_06.jpg" width="20" height="31" align="left" /></td>
  51. <td width="10%" background="images/headerEP_07.jpg" height="31" align="center" /></td>
  52. <td width="12%"><img src="images/headerEP_08.jpg" width="200" height="31" align="left" /></td>
  53. <td nowrap="nowrap" width="80%" background="images/headerUV_bg_02.jpg" align="right" /><font class="white"></font></td>
  54. <td width="1%"><img src="images/headerEP_10.jpg" width="20" height="31" align="right" /></td>
  55. </tr>
  56. </table>
  57. <!--Untuk cek ip-->
  58. </td>
  59. </tr>
  60. <tr>
  61. <td width="100%" valign="top" colspan="2" align="center" height="400" bgcolor="white">
  62. <p>&nbsp;</p>
  63. <p>&nbsp;</p>
  64. <p>&nbsp;</p>
  65. <table width="100%" border="0" cellspacing="3" cellpadding="5" bgcolor="white">
  66. <tr>
  67. <td width="35%">
  68. &nbsp;
  69. </td>
  70. <td width="30%">
  71. <form name="login" method="post" action="login.do">
  72. <INPUT type="hidden" name="action" value="">
  73. <table width="300" border="0" cellspacing="3" cellpadding="5" bgcolor="white">
  74. <tr>
  75. <td colspan="3" align="center"><strong>LOGIN PAGE</strong></td>
  76. </tr>
  77. <tr>
  78. <td width="115">User ID</td>
  79. <td width="4">:</td>
  80. <td width="155">
  81. <label>
  82. <input type="text" name="username"/>
  83. </label>
  84. </td>
  85. </tr>
  86. <tr>
  87. <td>Password</td>
  88. <td>:</td>
  89. <td>
  90. <input type="password" name="password"/>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td>&nbsp;</td>
  95. <td>&nbsp;</td>
  96. <td><label>
  97. <input type="button" name="Submit" onclick="javascript:doAuthentication();" value="Login"/>
  98. </label>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td colspan="3"><html:errors/></td>
  103. </tr>
  104. </table>
  105. </form>
  106. </td>
  107. <td width="35%">
  108. <table width="135" border="0" cellpadding="2" cellspacing="0" title="Click to Verify - This site chose VeriSign Trust Seal to promote trust online with consumers.">
  109. <tr>
  110. <td width="135" align="center" valign="top"><script type="text/javascript" src="https://seal.verisign.com/getseal?host_name=epayment.btn.co.id&amp;size=M&amp;use_flash=NO&amp;use_transparent=YES&amp;lang=en"></script><br />
  111. <a href="http://www.verisign.com.sg/trust-seal" target="_blank" style="color:#000000; text-decoration:none; font:bold 7px verdana,sans-serif; letter-spacing:.5px; text-align:center; margin:0px; padding:0px;">ABOUT TRUST ONLINE</a>
  112. </td>
  113. </tr>
  114. </table>
  115. </td>
  116. </tr>
  117. </table>
  118. </td>
  119. </tr>
  120. <tr>
  121. <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  122. <tr>
  123. <td width="1%"><img src="images/footerUV_01.jpg" width="20" height="59" /></td>
  124. <td width="98%" background="images/footer_bg.jpg">
  125. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  126. <TR>
  127. <TD width="50%" align="left"><img src="images/footerUV_03_01.jpg" width="377" height="59" alt=""></TD>
  128. <TD width="50%" align="right">
  129. <FONT color="white">v.1.0.508</FONT>
  130. </TD>
  131. </TR>
  132. </table>
  133. <td width="1%"><img src="images/footerUV_03.jpg" width="18" height="59" /></td>
  134. </tr>
  135. </table></td>
  136. </tr>
  137. </table>
  138. </body>
  139. </html>