/beta/order/top.asp

http://github.com/khaneh/Orders · ASP · 129 lines · 117 code · 11 blank · 1 comment · 18 complexity · c3d2668e867b36de51a2d856ea55a840 MD5 · raw file

  1. <%
  2. 'Order (2)
  3. PageTitle= " - " & PageTitle
  4. menuItem=2
  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>
  12. <%if Auth(2 , 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='order.asp?act=makeNewQoute'> </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='order.asp?act=makeNewQoute'> </A></TD>
  20. <TD width=10><img src='/images/LTS.gif'></td>
  21. <%end if %>
  22. <%end if %>
  23. <%if Auth(2 , 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='order.asp?act=getEdit'> </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='order.asp?act=getEdit'> </A></TD>
  31. <TD width=10><img src='/images/LTS.gif'></td>
  32. <%end if %>
  33. <%end if %>
  34. <%if Auth(2 , 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='order.asp?act=trace'> </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='order.asp?act=trace'> </A></TD>
  42. <TD width=10><img src='/images/LTS.gif'></td>
  43. <%end if %>
  44. <%end if %>
  45. <%if Auth(2 , 3) 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='order.asp?act=getShow'> </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='order.asp?act=getShow'> </A></TD>
  53. <TD width=10><img src='/images/LTS.gif'></td>
  54. <%end if %>
  55. <%end if %>
  56. <%if Auth(2 , 6) 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='reports.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='reports.asp'> </A></TD>
  64. <TD width=10><img src='/images/LTS.gif'></td>
  65. <%end if %>
  66. <%end if %>
  67. <%if Auth(2 , 7) 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='ManagerReports.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='ManagerReports.asp'> </A></TD>
  75. <TD width=10><img src='/images/LTS.gif'></td>
  76. <%end if %>
  77. <%end if %>
  78. <%if Auth(2 , 3) then %>
  79. <%if SubmenuItem="7" then %>
  80. <TD width=10><img src='/images/RTB.gif'></td>
  81. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='orderFolow.asp'> </A></TD>
  82. <TD width=10><img src='/images/LTB.gif'></td>
  83. <%else %>
  84. <TD width=10><img src='/images/RTS.gif'></td>
  85. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='orderFolow.asp'> </A></TD>
  86. <TD width=10><img src='/images/LTS.gif'></td>
  87. <%end if %>
  88. <%end if %>
  89. <%if Auth(2 , 3) then %>
  90. <%if SubmenuItem="8" then %>
  91. <TD width=10><img src='/images/RTB.gif'></td>
  92. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='inquiryFolow.asp'> </A></TD>
  93. <TD width=10><img src='/images/LTB.gif'></td>
  94. <%else %>
  95. <TD width=10><img src='/images/RTS.gif'></td>
  96. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='inquiryFolow.asp'> </A></TD>
  97. <TD width=10><img src='/images/LTS.gif'></td>
  98. <%end if %>
  99. <%end if %>
  100. <TD align=left bgcolor=<%=unSelectedSubMenuColor%>><A HREF="../logout.asp"> </A></TD>
  101. </TR>
  102. </TABLE>
  103. </TD>
  104. </TR>
  105. <TR>
  106. <TD colspan=2 valign=top bgcolor=<%=AppFgColor%>>
  107. <%
  108. if request.queryString("errmsg")<>"" then
  109. response.write "<br>"
  110. call showAlert (request.queryString("errmsg"),CONST_MSG_ERROR)
  111. response.write "<br>"
  112. end if
  113. if request.queryString("msg")<>"" then
  114. response.write "<br>"
  115. call showAlert (request.queryString("msg"),CONST_MSG_INFORM)
  116. response.write "<br>"
  117. end if
  118. %>