/beta/AP/top.asp
http://github.com/khaneh/Orders · ASP · 128 lines · 118 code · 9 blank · 1 comment · 18 complexity · 6f92ddc8411dffebb9f85121ab2a6531 MD5 · raw file
- <%
- 'AP (7)
- PageTitle= " - " +PageTitle
- menuItem=7
-
- %>
- <!--#include file="../menu.asp" -->
- <TABLE cellspacing=0 cellpadding=0 width=100% height=450 style='border:4px solid <%=SelectedMenuColor%>;' dir=rtl align=center>
- <TR height=20 bgcolor=<%=SelectedMenuColor%>>
- <TD>
- <TABLE cellspacing=0 cellpadding=0 width=100%>
- <TR class=alak height=25>
-
- <%if Auth(7 , 1) then %>
- <%if SubmenuItem="1" then %>
- <TD width=10><img src='/images/RTB.gif'></td>
- <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='voucherInput.asp'> </A></TD>
- <TD width=10><img src='/images/LTB.gif'></td>
- <%else %>
- <TD width=10><img src='/images/RTS.gif'></td>
- <TD align=center background="/images/MTS.gif" class='alak'><A HREF='voucherInput.asp'> </A></TD>
- <TD width=10><img src='/images/LTS.gif'></td>
- <%end if %>
- <%end if %>
-
- <%if Auth(7 , 2) then %>
- <%if SubmenuItem="2" then %>
- <TD width=10><img src='/images/RTB.gif'></td>
- <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='verify.asp'> </A></TD>
- <TD width=10><img src='/images/LTB.gif'></td>
- <%else %>
- <TD width=10><img src='/images/RTS.gif'></td>
- <TD align=center background="/images/MTS.gif" class='alak'><A HREF='verify.asp'> </A></TD>
- <TD width=10><img src='/images/LTS.gif'></td>
- <%end if %>
- <%end if %>
-
- <%if Auth(7 , 3) then %>
- <%if SubmenuItem="3" then %>
- <TD width=10><img src='/images/RTB.gif'></td>
- <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='report.asp'> </A></TD>
- <TD width=10><img src='/images/LTB.gif'></td>
- <%else %>
- <TD width=10><img src='/images/RTS.gif'></td>
- <TD align=center background="/images/MTS.gif" class='alak'><A HREF='report.asp'> </A></TD>
- <TD width=10><img src='/images/LTS.gif'></td>
- <%end if %>
- <%end if %>
-
- <%if Auth(7 , 4) then %>
- <%if SubmenuItem="4" then %>
- <TD width=10><img src='/images/RTB.gif'></td>
- <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='MemoInput.asp'> /</A></TD>
- <TD width=10><img src='/images/LTB.gif'></td>
- <%else %>
- <TD width=10><img src='/images/RTS.gif'></td>
- <TD align=center background="/images/MTS.gif" class='alak'><A HREF='MemoInput.asp'> /</A></TD>
- <TD width=10><img src='/images/LTS.gif'></td>
- <%end if %>
- <%end if %>
-
- <%if Auth(7 , 5) then %>
- <%if SubmenuItem="5" then %>
- <TD width=10><img src='/images/RTB.gif'></td>
- <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='AccountReport.asp?act=search'> </A></TD>
- <TD width=10><img src='/images/LTB.gif'></td>
- <%else %>
- <TD width=10><img src='/images/RTS.gif'></td>
- <TD align=center background="/images/MTS.gif" class='alak'><A HREF='AccountReport.asp?act=search'> </A></TD>
- <TD width=10><img src='/images/LTS.gif'></td>
- <%end if %>
- <%end if %>
-
- <%if Auth(7 , 6) then %>
- <%if SubmenuItem="6" then %>
- <TD width=10><img src='/images/RTB.gif'></td>
- <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='ItemsRelation.asp'></A></TD>
- <TD width=10><img src='/images/LTB.gif'></td>
- <%else %>
- <TD width=10><img src='/images/RTS.gif'></td>
- <TD align=center background="/images/MTS.gif" class='alak'><A HREF='ItemsRelation.asp'></A></TD>
- <TD width=10><img src='/images/LTS.gif'></td>
- <%end if %>
- <%end if %>
-
- <%if Auth(7 , 7) then %>
- <%if SubmenuItem="7" then %>
- <TD width=10><img src='/images/RTB.gif'></td>
- <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='APReport.asp'></A></TD>
- <TD width=10><img src='/images/LTB.gif'></td>
- <%else %>
- <TD width=10><img src='/images/RTS.gif'></td>
- <TD align=center background="/images/MTS.gif" class='alak'><A HREF='APReport.asp'></A></TD>
- <TD width=10><img src='/images/LTS.gif'></td>
- <%end if %>
- <%end if %>
- <%if Auth(7 , "B") then %>
- <%if SubmenuItem="8" then %>
- <TD width=10><img src='/images/RTB.gif'></td>
- <TD align=center background="/images/MTB.gif" class='alak2'><A HREF='dashboard.asp'></A></TD>
- <TD width=10><img src='/images/LTB.gif'></td>
- <%else %>
- <TD width=10><img src='/images/RTS.gif'></td>
- <TD align=center background="/images/MTS.gif" class='alak'><A HREF='dashboard.asp'></A></TD>
- <TD width=10><img src='/images/LTS.gif'></td>
- <%end if %>
- <%end if %>
-
- <TD width=50 align=left bgcolor=<%=SelectedMenuColor%>></TD>
- <TD align=left bgcolor=<%=unSelectedSubMenuColor%>><A HREF="../logout.asp"> </A></TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- <TR>
- <TD colspan=2 valign=top bgcolor=<%=AppFgColor%>>
- <%
- if request.queryString("errmsg")<>"" then
- response.write "<br>"
- call showAlert (request.queryString("errmsg"),CONST_MSG_ERROR)
- response.write "<br>"
- end if
- if request.queryString("msg")<>"" then
- response.write "<br>"
- call showAlert (request.queryString("msg"),CONST_MSG_INFORM)
- response.write "<br>"
- end if
- %>