PageRenderTime 21ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/beta/shopfloor/top.asp

http://github.com/khaneh/Orders
ASP | 119 lines | 107 code | 11 blank | 1 comment | 16 complexity | 09c5b3ba9a78ecaff3338644bdf30125 MD5 | raw file
  1<%
  2'shopfloor (3)
  3PageTitle= "����� - " +PageTitle
  4menuItem=3
  5
  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
 14			<%if Auth(3 , 1) then %>
 15			<%if SubmenuItem="1" then %> 
 16				<TD width=10><img src='/images/RTB.gif'></td>
 17				<TD align=center background="/images/MTB.gif" class='alak2'><A HREF='default.asp'>���� ����� ����� </A></TD>
 18				<TD width=10><img src='/images/LTB.gif'></td>
 19			<%else %>  
 20				<TD width=10><img src='/images/RTS.gif'></td>
 21				<TD align=center background="/images/MTS.gif" class='alak'><A HREF='default.asp'>���� ����� ����� </A></TD>
 22				<TD width=10><img src='/images/LTS.gif'></td>
 23			<%end if %>
 24			<%end if %>
 25
 26			<%if Auth(3 , 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='manageOrder.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='manageOrder.asp'>������ ����</A></TD>
 34				<TD width=10><img src='/images/LTS.gif'></td>
 35			<%end if %>
 36			<%end if %>
 37
 38			<%if Auth(3 , 3) then %>
 39			<%if SubmenuItem="3" then %> 
 40				<TD width=10><img src='/images/RTB.gif'></td>
 41				<TD align=center background="/images/MTB.gif" class='alak2'><A HREF='TraceOrder.asp?act=search'>������ �����</A></TD>
 42				<TD width=10><img src='/images/LTB.gif'></td>
 43			<%else %>  
 44				<TD width=10><img src='/images/RTS.gif'></td>
 45				<TD align=center background="/images/MTS.gif" class='alak'><A HREF='TraceOrder.asp?act=search'>������ �����</A></TD>
 46				<TD width=10><img src='/images/LTS.gif'></td>
 47			<%end if %>
 48			<%end if %>
 49
 50			<%if Auth(3 , 6) then %>
 51			<%if SubmenuItem="6" then %> 
 52				<TD width=10><img src='/images/RTB.gif'></td>
 53				<TD align=center background="/images/MTB.gif" class='alak2'><A HREF='orderDesk.asp'>���� �����</A></TD>
 54				<TD width=10><img src='/images/LTB.gif'></td>
 55			<%else %>  
 56				<TD width=10><img src='/images/RTS.gif'></td>
 57				<TD align=center background="/images/MTS.gif" class='alak'><A HREF='orderDesk.asp'>���� �����</A></TD>
 58				<TD width=10><img src='/images/LTS.gif'></td>
 59			<%end if %>
 60			<%end if %>
 61			<%if Auth(3 , 7) then %>
 62
 63			<%if SubmenuItem="7" then %> 
 64				<TD width=10><img src='/images/RTB.gif'></td>
 65				<TD align=center background="/images/MTB.gif" class='alak2'><A HREF='costs.asp'>������</A></TD>
 66				<TD width=10><img src='/images/LTB.gif'></td>
 67			<%else %>  
 68				<TD width=10><img src='/images/RTS.gif'></td>
 69				<TD align=center background="/images/MTS.gif" class='alak'><A HREF='costs.asp'>������</A></TD>
 70				<TD width=10><img src='/images/LTS.gif'></td>
 71			<%end if %>
 72			<%end if %>
 73			<%if Auth(3 , "A") then %>
 74
 75			<%if SubmenuItem="9" then %> 
 76				<TD width=10><img src='/images/RTB.gif'></td>
 77				<TD align=center background="/images/MTB.gif" class='alak2'><A HREF='costsReport.asp'>����� ������</A></TD>
 78				<TD width=10><img src='/images/LTB.gif'></td>
 79			<%else %>  
 80				<TD width=10><img src='/images/RTS.gif'></td>
 81				<TD align=center background="/images/MTS.gif" class='alak'><A HREF='costsReport.asp'>����� ������</A></TD>
 82				<TD width=10><img src='/images/LTS.gif'></td>
 83			<%end if %>
 84			<%end if %>
 85			
 86			<%if Auth(3 , 8) then %>
 87
 88			<%if SubmenuItem="8" then %> 
 89				<TD width=10><img src='/images/RTB.gif'></td>
 90				<TD align=center background="/images/MTB.gif" class='alak2'><A HREF='inStock.asp'><small>������ ����</small></A></TD>
 91				<TD width=10><img src='/images/LTB.gif'></td>
 92			<%else %>  
 93				<TD width=10><img src='/images/RTS.gif'></td>
 94				<TD align=center background="/images/MTS.gif" class='alak'><A HREF='inStock.asp'><small>������ ����</small></A></TD>
 95				<TD width=10><img src='/images/LTS.gif'></td>
 96			<%end if %>
 97			<%end if %>
 98
 99			<TD  width=100 align=left bgcolor=<%=SelectedMenuColor%>></TD>
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	<%
109	if request.queryString("errmsg")<>"" then
110		response.write "<br>" 
111		call showAlert (request.queryString("errmsg"),CONST_MSG_ERROR) 
112		response.write "<br>" 
113	end if
114	if request.queryString("msg")<>"" then
115		response.write "<br>" 
116		call showAlert (request.queryString("msg"),CONST_MSG_INFORM) 
117		response.write "<br>" 
118	end if
119	%>