PageRenderTime 19ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/beta/home/top.asp

http://github.com/khaneh/Orders
ASP | 128 lines | 118 code | 9 blank | 1 comment | 18 complexity | 610dd9bc72ebecc155c5aa946198a2c1 MD5 | raw file
  1<%
  2' home (0)
  3PageTitle= "���� - "& PageTitle
  4menuItem=0
  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' height='25'>
 12			<%if Auth(0 , 1) then %>
 13			<%if SubmenuItem="1" then %> 
 14				<TD width=10><img src='/images/RTB.gif'></td>
 15				<TD width=70 align=center background="/images/MTB.gif" class='alak2'><A HREF='default.asp?sub=1'>������ ���� </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 width=70 align=center background="/images/MTS.gif" class='alak'><A HREF='default.asp?sub=1'>������ ���� </A></TD>
 20				<TD width=10><img src='/images/LTS.gif'></td>
 21			<%end if %>
 22			<%end if %>
 23
 24			<%if Auth(0 , 2) then %>
 25			<%if SubmenuItem="2" then %> 
 26				<TD width=10><img src='/images/RTB.gif'></td>
 27				<TD width=70 align=center background="/images/MTB.gif" class='alak2'><A HREF='message.asp'>����� ����</A></TD>
 28				<TD width=10><img src='/images/LTB.gif'></td>
 29			<%else %>  
 30				<TD width=10><img src='/images/RTS.gif'></td>
 31				<TD width=70 align=center background="/images/MTS.gif" class='alak'><A HREF='message.asp'>����� ����</A></TD>
 32				<TD width=10><img src='/images/LTS.gif'></td>
 33			<%end if %>
 34			<%end if %>
 35
 36			<%if Auth(0 , 3) then %>
 37			<%if SubmenuItem="3" then %> 
 38				<TD width=10><img src='/images/RTB.gif'></td>
 39				<TD width=54 align=center background="/images/MTB.gif" class='alak2'><A HREF='phoneBook.asp?sub=3'>���� ����</A></TD>
 40				<TD width=10><img src='/images/LTB.gif'></td>
 41			<%else %>  
 42				<TD width=10><img src='/images/RTS.gif'></td>
 43				<TD width=54 align=center background="/images/MTS.gif" class='alak'><A HREF='phoneBook.asp?sub=3'>���� ����</A></TD>
 44				<TD width=10><img src='/images/LTS.gif'></td>
 45			<%end if %>
 46			<%end if %>
 47
 48			<%if Auth(0 , 4) then %>
 49			<%if SubmenuItem="4" then %> 
 50				<TD width=10><img src='/images/RTB.gif'></td>
 51				<TD width=105 align=center background="/images/MTB.gif" class='alak2'><A HREF='furlough.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 width=105 align=center background="/images/MTS.gif" class='alak'><A HREF='furlough.asp'>������� �����</A></TD>
 56				<TD width=10><img src='/images/LTS.gif'></td>
 57			<%end if %>
 58			<%end if %>
 59
 60			<%if Auth(0 , 5) then %>
 61			<%if SubmenuItem="5" then %> 
 62				<TD width=10><img src='/images/RTB.gif'></td>
 63				<TD width=77 align=center background="/images/MTB.gif" class='alak2'><A HREF='goodReq.asp'>������� ����</A></TD>
 64				<TD width=10><img src='/images/LTB.gif'></td>
 65			<%else %>  
 66				<TD width=10><img src='/images/RTS.gif'></td>
 67				<TD width=77 align=center background="/images/MTS.gif" class='alak'><A HREF='goodReq.asp'>������� ����</A></TD>
 68				<TD width=10><img src='/images/LTS.gif'></td>
 69			<%end if %>
 70			<%end if %>
 71
 72			<%if Auth("D" , 0) then %>
 73			<%if SubmenuItem="6" then %> 
 74				<TD width=10><img src='/images/RTB.gif'></td>
 75				<TD width=45 align=center background="/images/MTB.gif" class='alak2'><A HREF='currentWorks.asp?panel=1'>��� ���</A></TD>
 76				<TD width=10><img src='/images/LTB.gif'></td>
 77			<%else %>  
 78				<TD width=10><img src='/images/RTS.gif'></td>
 79				<TD width=45 align=center background="/images/MTS.gif" class='alak'><A HREF='currentWorks.asp?panel=1'>��� ���</A></TD>
 80				<TD width=10><img src='/images/LTS.gif'></td>
 81			<%end if %>
 82			<%end if %>
 83			
 84			<%if Auth(0 , 8) then %>
 85			<%if SubmenuItem="7" then %> 
 86				<TD width=10><img src='/images/RTB.gif'></td>
 87				<TD width=50 align=center background="/images/MTB.gif" class='alak2'><A HREF='wiki.asp'>��������</A></TD>
 88				<TD width=10><img src='/images/LTB.gif'></td>
 89			<%else %>  
 90				<TD width=10><img src='/images/RTS.gif'></td>
 91				<TD width=50 align=center background="/images/MTS.gif" class='alak'><A HREF='wiki.asp'>��������</A></TD>
 92				<TD width=10><img src='/images/LTS.gif'></td>
 93			<%end if %>
 94			<%end if %>
 95			
 96			<%if Auth(0 , 9) then %>
 97			<%if SubmenuItem="8" then %> 
 98				<TD width=10><img src='/images/RTB.gif'></td>
 99				<TD width=65 align=center background="/images/MTB.gif" class='alak2'><A HREF='activityLog.asp'><small>������ ������</small></A></TD>
100				<TD width=10><img src='/images/LTB.gif'></td>
101			<%else %>  
102				<TD width=10><img src='/images/RTS.gif'></td>
103				<TD width=65 align=center background="/images/MTS.gif" class='alak'><A HREF='activityLog.asp'><small>������ ������</small></A></TD>
104				<TD width=10><img src='/images/LTS.gif'></td>
105			<%end if %>
106			<%end if %>
107
108			<TD  width=* align=left bgcolor=<%=SelectedMenuColor%>></TD>
109			<TD  align=left bgcolor=<%=unSelectedSubMenuColor%>><A HREF="../logout.asp">���� </A></TD>
110		</TR>
111		</TABLE>
112	</TD>
113</TR>
114<TR>
115	<TD colspan=2 valign=top bgcolor=<%=AppFgColor%>>
116	<%
117	if request.queryString("errmsg")<>"" then
118		response.write "<br>" 
119		call showAlert (request.queryString("errmsg"),CONST_MSG_ERROR) 
120		response.write "<br>" 
121	end if
122	if request.queryString("msg")<>"" then
123		response.write "<br>" 
124		call showAlert (request.queryString("msg"),CONST_MSG_INFORM) 
125		response.write "<br>" 
126	end if
127	%>
128