/beta/AO/top.asp

http://github.com/khaneh/Orders · ASP · 106 lines · 96 code · 9 blank · 1 comment · 14 complexity · 7225dfc47167ea358cba5682d0e5a255 MD5 · raw file

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