/beta/inventory/top.asp

http://github.com/khaneh/Orders · ASP · 145 lines · 132 code · 12 blank · 1 comment · 20 complexity · e716c40374e212e2af23b8c1127e844e MD5 · raw file

  1. <%
  2. 'Inventory (5)
  3. PageTitle= " - " +PageTitle
  4. menuItem=5
  5. %>
  6. <style>
  7. .invTD {font-family:tahoma ; font-size: 14pt}
  8. </style>
  9. <!--#include file="../menu.asp" -->
  10. <TABLE cellspacing=0 cellpadding=0 width=100% height=450 style='border:4px solid <%=SelectedMenuColor%>;' dir=rtl align=center>
  11. <TR height=20 bgcolor=<%=SelectedMenuColor%>>
  12. <TD>
  13. <TABLE cellspacing=0 cellpadding=0 width=100%>
  14. <TR class=alak height=25>
  15. <%if Auth(5 , 1) or Auth(5 , 9) then %>
  16. <%if SubmenuItem="1" then %>
  17. <TD width=10><img src='/images/RTB.gif'></td>
  18. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='default.asp'> </A></TD>
  19. <TD width=10><img src='/images/LTB.gif'></td>
  20. <%else %>
  21. <TD width=10><img src='/images/RTS.gif'></td>
  22. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='default.asp'> </A></TD>
  23. <TD width=10><img src='/images/LTS.gif'></td>
  24. <%end if %>
  25. <%end if %>
  26. <%if Auth(5 , 2) then %>
  27. <%if SubmenuItem="2" then %>
  28. <TD width=10><img src='/images/RTB.gif'></td>
  29. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='ItemOut.asp'> </A></TD>
  30. <TD width=10><img src='/images/LTB.gif'></td>
  31. <%else %>
  32. <TD width=10><img src='/images/RTS.gif'></td>
  33. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='ItemOut.asp'> </A></TD>
  34. <TD width=10><img src='/images/LTS.gif'></td>
  35. <%end if %>
  36. <%end if %>
  37. <%if Auth(5 , 3) then %>
  38. <%if SubmenuItem="3" then %>
  39. <TD width=10><img src='/images/RTB.gif'></td>
  40. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='ItemIn.asp'> </A></TD>
  41. <TD width=10><img src='/images/LTB.gif'></td>
  42. <%else %>
  43. <TD width=10><img src='/images/RTS.gif'></td>
  44. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='ItemIn.asp'> </A></TD>
  45. <TD width=10><img src='/images/LTS.gif'></td>
  46. <%end if %>
  47. <%end if %>
  48. <%if Auth(5 , 4) then %>
  49. <%if SubmenuItem="4" then %>
  50. <TD width=10><img src='/images/RTB.gif'></td>
  51. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='NewItem.asp'> </A></TD>
  52. <TD width=10><img src='/images/LTB.gif'></td>
  53. <%else %>
  54. <TD width=10><img src='/images/RTS.gif'></td>
  55. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='NewItem.asp'> </A></TD>
  56. <TD width=10><img src='/images/LTS.gif'></td>
  57. <%end if %>
  58. <%end if %>
  59. <%if Auth(5 , 5) then %>
  60. <%if SubmenuItem="5" then %>
  61. <TD width=10><img src='/images/RTB.gif'></td>
  62. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='report.asp'></A></TD>
  63. <TD width=10><img src='/images/LTB.gif'></td>
  64. <%else %>
  65. <TD width=10><img src='/images/RTS.gif'></td>
  66. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='report.asp'></A></TD>
  67. <TD width=10><img src='/images/LTS.gif'></td>
  68. <%end if %>
  69. <%end if %>
  70. <%if Auth(5 , 6) then %>
  71. <%if SubmenuItem="6" then %>
  72. <TD width=10><img src='/images/RTB.gif'></td>
  73. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='editItem.asp'> </A></TD>
  74. <TD width=10><img src='/images/LTB.gif'></td>
  75. <%else %>
  76. <TD width=10><img src='/images/RTS.gif'></td>
  77. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='editItem.asp'> </A></TD>
  78. <TD width=10><img src='/images/LTS.gif'></td>
  79. <%end if %>
  80. <%end if %>
  81. <%if Auth(5 , 8) then %>
  82. <%if SubmenuItem="8" then %>
  83. <TD width=10><img src='/images/RTB.gif'></td>
  84. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='invReport.asp'></A></TD>
  85. <TD width=10><img src='/images/LTB.gif'></td>
  86. <%else %>
  87. <TD width=10><img src='/images/RTS.gif'></td>
  88. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='invReport.asp'></A></TD>
  89. <TD width=10><img src='/images/LTS.gif'></td>
  90. <%end if %>
  91. <%end if %>
  92. <%if Auth(5 , "A") then %>
  93. <%if SubmenuItem="10" then %>
  94. <TD width=10><img src='/images/RTB.gif'></td>
  95. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='goodReq.asp'> </A></TD>
  96. <TD width=10><img src='/images/LTB.gif'></td>
  97. <%else %>
  98. <TD width=10><img src='/images/RTS.gif'></td>
  99. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='goodReq.asp'> </A></TD>
  100. <TD width=10><img src='/images/LTS.gif'></td>
  101. <%end if %>
  102. <%end if %>
  103. <%if Auth(5 , "B") then %>
  104. <%if SubmenuItem="11" then %>
  105. <TD width=10><img src='/images/RTB.gif'></td>
  106. <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='changeOwner.asp'> </A></TD>
  107. <TD width=10><img src='/images/LTB.gif'></td>
  108. <%else %>
  109. <TD width=10><img src='/images/RTS.gif'></td>
  110. <TD align=center background="/images/MTS.gif" class='alak'><A HREF='changeOwner.asp'> </A></TD>
  111. <TD width=10><img src='/images/LTS.gif'></td>
  112. <%end if %>
  113. <%end if %>
  114. <TD width=30 align=left bgcolor=<%=SelectedMenuColor%>></TD>
  115. <TD align=left bgcolor=<%=unSelectedSubMenuColor%>><A HREF="../logout.asp"> </A></TD>
  116. </TR>
  117. </TABLE>
  118. </TD>
  119. </TR>
  120. <TR>
  121. <TD colspan=2 valign=top bgcolor="<%=AppFgColor%>" >
  122. <%
  123. if request.queryString("errmsg")<>"" then
  124. response.write "<br>"
  125. call showAlert (request.queryString("errmsg"),CONST_MSG_ERROR)
  126. response.write "<br>"
  127. end if
  128. if request.queryString("msg")<>"" then
  129. response.write "<br>"
  130. call showAlert (request.queryString("msg"),CONST_MSG_INFORM)
  131. response.write "<br>"
  132. end if
  133. %>