/beta/bank/top.asp

http://github.com/khaneh/Orders · ASP · 119 lines · 108 code · 10 blank · 1 comment · 17 complexity · a5d6a35f27506ac66c11ffca4792a647 MD5 · raw file

  1. <%
  2. 'Bank (10 [=A])
  3. PageTitle= " - " +PageTitle
  4. menuItem="A"
  5. if not Auth("A" , 0) then response.end
  6. %>
  7. <!--#include file="../menu.asp" -->
  8. <TABLE cellspacing=0 cellpadding=0 width=100% height=450 style='border:4px solid <%=SelectedMenuColor%>;' dir=rtl align=center>
  9. <TR height=20 bgcolor=<%=SelectedMenuColor%>>
  10. <TD>
  11. <TABLE cellspacing=0 cellpadding=0 width=100%>
  12. <TR class=alak height=25>
  13. <%if Auth("A" , 1) then %>
  14. <%if SubmenuItem="1" then %>
  15. <TD width=10><img src='/images/RTB.gif'></td>
  16. <TD width=70 align=center background="/images/MTB.gif" class='alak2'><A HREF='cheq.asp'> </A></TD>
  17. <TD width=10><img src='/images/LTB.gif'></td>
  18. <%else %>
  19. <TD width=10><img src='/images/RTS.gif'></td>
  20. <TD width=70 align=center background="/images/MTS.gif" class='alak'><A HREF='cheq.asp'> </A></TD>
  21. <TD width=10><img src='/images/LTS.gif'></td>
  22. <%end if %>
  23. <%end if %>
  24. <%if Auth("A" , 4) then %>
  25. <%if SubmenuItem="4" then %>
  26. <TD width=10><img src='/images/RTB.gif'></td>
  27. <TD width=70 align=center background="/images/MTB.gif" class='alak2'><A HREF='submitDraft.asp'> </A></TD>
  28. <TD width=10><img src='/images/LTB.gif'></td>
  29. <%else %>
  30. <TD width=10><img src='/images/RTS.gif'></td>
  31. <TD width=70 align=center background="/images/MTS.gif" class='alak'><A HREF='submitDraft.asp'> </A></TD>
  32. <TD width=10><img src='/images/LTS.gif'></td>
  33. <%end if %>
  34. <%end if %>
  35. <%if Auth("A" , 5) then %>
  36. <%if SubmenuItem="5" then %>
  37. <TD width=10><img src='/images/RTB.gif'></td>
  38. <TD width=100 align=center background="/images/MTB.gif" class='alak2'><A HREF='payment.asp'> </A></TD>
  39. <TD width=10><img src='/images/LTB.gif'></td>
  40. <%else %>
  41. <TD width=10><img src='/images/RTS.gif'></td>
  42. <TD width=100 align=center background="/images/MTS.gif" class='alak'><A HREF='payment.asp'> </A></TD>
  43. <TD width=10><img src='/images/LTS.gif'></td>
  44. <%end if %>
  45. <%end if %>
  46. <%if Auth("A" , 6) then %>
  47. <%if SubmenuItem="6" then %>
  48. <TD width=10><img src='/images/RTB.gif'></td>
  49. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='CheqMoeen.asp'> </A></TD>
  50. <TD width=10><img src='/images/LTB.gif'></td>
  51. <%else %>
  52. <TD width=10><img src='/images/RTS.gif'></td>
  53. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='CheqMoeen.asp'> </A></TD>
  54. <TD width=10><img src='/images/LTS.gif'></td>
  55. <%end if %>
  56. <%end if %>
  57. <%if Auth("A" , 7) then %>
  58. <%if SubmenuItem="7" then %>
  59. <TD width=10><img src='/images/RTB.gif'></td>
  60. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='CheqMoeenSodoodr.asp'> </A></TD>
  61. <TD width=10><img src='/images/LTB.gif'></td>
  62. <%else %>
  63. <TD width=10><img src='/images/RTS.gif'></td>
  64. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='CheqMoeenSodoodr.asp'> </A></TD>
  65. <TD width=10><img src='/images/LTS.gif'></td>
  66. <%end if %>
  67. <%end if %>
  68. <%if Auth("A" , 8) then %>
  69. <%if SubmenuItem="8" then %>
  70. <TD width=10><img src='/images/RTB.gif'></td>
  71. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='CheqBook.asp'> </A></TD>
  72. <TD width=10><img src='/images/LTB.gif'></td>
  73. <%else %>
  74. <TD width=10><img src='/images/RTS.gif'></td>
  75. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='CheqBook.asp'> </A></TD>
  76. <TD width=10><img src='/images/LTS.gif'></td>
  77. <%end if %>
  78. <%end if %>
  79. <%if Auth("A" , 9) then %>
  80. <%if SubmenuItem="9" then %>
  81. <TD width=10><img src='/images/RTB.gif'></td>
  82. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='Contra.asp'></A></TD>
  83. <TD width=10><img src='/images/LTB.gif'></td>
  84. <%else %>
  85. <TD width=10><img src='/images/RTS.gif'></td>
  86. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='Contra.asp'></A></TD>
  87. <TD width=10><img src='/images/LTS.gif'></td>
  88. <%end if %>
  89. <%end if %>
  90. <TD width=50 align=left bgcolor=<%=SelectedMenuColor%>></TD>
  91. <TD align=left bgcolor=<%=unSelectedSubMenuColor%>><A HREF="../logout.asp"> </A></TD>
  92. </TR>
  93. </TABLE>
  94. </TD>
  95. </TR>
  96. <TR>
  97. <TD colspan=2 valign=top bgcolor=<%=AppFgColor%>>
  98. <%
  99. if request.queryString("errmsg")<>"" then
  100. response.write "<br>"
  101. call showAlert (request.queryString("errmsg"),CONST_MSG_ERROR)
  102. response.write "<br>"
  103. end if
  104. if request.queryString("msg")<>"" then
  105. response.write "<br>"
  106. call showAlert (request.queryString("msg"),CONST_MSG_INFORM)
  107. response.write "<br>"
  108. end if
  109. %>