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

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