<!--#include file="conn.asp"-->
<%
Eshop_Lebi_name=Replace(request.cookies(cookiesname)("admin_name"),"'","")
If Eshop_Lebi_name = "" Then Eshop_Lebi_name = Session(cookiesname&"_admin"&"admin_name")
If Eshop_Lebi_name = "" Then 
		Response.redirect"admin_login.asp"
Else
		Set rs = conn.execute("select menutype from [Lebi_adminuser] where admin_name='"& Eshop_Lebi_name &"'")
		If Not rs.eof Then 
				Select Case rs(0)
				Case "0" url = "manage.asp"
				Case "1" url = "manage_vertical.asp"
				End Select 
				response.redirect url
		End If 
		rs.close : Set rs = Nothing 
End If 
response.End 
%>