<!--#include file="conn.asp"-->
<!--#include file="inc/cookies_check.asp"-->
<!--#include file="inc/menu.asp"-->
<!--#include file="../include/Lebi_Config.asp"-->
<%
On Error Resume Next 
include "lang/"& LangFilePath &"/lang_sys.inc"
Response.Write("<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.0 Transitional//EN"">")
Response.Write("<HTML xmlns=""http://www.w3.org/1999/xhtml"">")
Response.Write("<HEAD>")
Response.Write("<TITLE>"& ArrData(2) &" 后台管理</TITLE>")
Response.Write("<META content=""IE=EmulateIE7"" http-equiv=""X-UA-Compatible"">")
Response.Write("<META content=""text/html; charset=UTF-8"" http-equiv=""content-type"">")
Response.Write("<LINK rel=icon type=""image/x-icon"" href=""http://www.56770.com/favicon.ico"" media=""screen"">")
Response.Write("<LINK rel=""shortcut icon"" type=""image/x-icon"" href=""http://www.56770.com/favicon.ico"" media=""screen"">")
Response.Write("<META name=""author"" content=""56770 Eshop"">")
Response.Write("<LINK rel=""stylesheet"" type=""text/css"" href="""& Eshop_url & AdminPath &"/images/css.css"" media=""screen"">")
Response.Write("<LINK rel=""stylesheet"" type=""text/css"" href="""& Eshop_url & AdminPath &"/images/vertical/pannel.css"" media=""screen"">")
Response.Write("<LINK rel=""stylesheet"" type=""text/css"" href="""& Eshop_url & AdminPath &"/images/vertical/style.css"" media=""screen"">")
Response.Write("<script language=""javascript"" type=""text/javascript"" src="""& Eshop_url & AdminPath &"/inc/js/jquery-1.4.4.min.js""></script>")
Response.Write("<script language=""javascript"" type=""text/javascript"" src="""& Eshop_url & AdminPath &"/inc/js/admin.js""></script>")
Response.Write("<script language=""javascript"" type=""text/javascript"" src="""& Eshop_url & AdminPath &"/inc/js/common.js""></script>")
Response.Write("<script language=""javascript"" type=""text/javascript"" src="""& Eshop_url & AdminPath &"/images/vertical/admin.js""></script>")
Response.Write("<script>var AdminPath = """& Eshop_url & AdminPath &"/""; function quit(){if(confirm("""& Lang_Menu(30) &"""))return true;else return false;}</script>")
Response.Write("</HEAD>")
Response.Write("<BODY>")
Response.write("<table border=""0"" cellpadding=""0"" cellspacing=""0"" height=""100%"" width=""100%"" style=""table-layout: auto;"">")
Response.write("<tbody>")
Response.write("<tr><td height=""58"" colspan=""3"">")
LB_Head_Vertical()
Response.write("<DIV class=menu><UL>")
fathermenu = Split(l_m(0),",")
For s = 0 To UBound(fathermenu)
		If CLng(CurrentId) = CLng(s) Then
				current = "class=current"
		Else
				current = ""
		End If
		Response.write("<LI "& current &" onmouseover=""getleftbar(this);"" onclick=""getleftbar(this);""><A href="""& Eshop_url & AdminPath &"/"& split(fathermenu(s),"|")(1) &""" target=""frmright""><SPAN><IMG src="""& Eshop_url & AdminPath &"/images/icon/"& split(fathermenu(s),"|")(2) &""" width=""16"" height=""16"" /> "& split(fathermenu(s),"|")(0) &"</SPAN></A><DIV class=""menu_childs""><UL>")
		parentmenu = Split(l_m(s+1),",")
		For p = 0 To UBound(parentmenu)
				If CStr(LCase(CurrentUrl)) = CStr(LCase(split(parentmenu(p),"|")(1))) Then
						current = "class=visited"
				Else
						current = ""
				End If
				If InStr(split(parentmenu(p),"|")(1),"http") > 0 Then
						Response.write("<LI "& current &"><A href="""& split(parentmenu(p),"|")(1) &""" target=""_blanbk""><SPAN>"& split(parentmenu(p),"|")(0) &"</SPAN></A></LI>")
				Else
						Response.write("<LI "& current &"><A href="""& Eshop_url & AdminPath &"/"& split(parentmenu(p),"|")(1) &""" target=""frmright""><SPAN>"& split(parentmenu(p),"|")(0) &"</SPAN></A></LI>")
				End If
		Next
		If s = 8 Then
				set rs = conn.execute("Select p_type,(select top 1 p_id from [Lebi_plugin] where p_show = 1 and p_type = p_no order by p_order desc,p_id desc) as p_id From [Lebi_plugintype] where p_state = 1 order by p_order desc")
				If Not rs.eof Then
				do while not rs.eof
						If CLng(PluginId) = CLng(rs(1)) Then
								current = "class=visited"
						Else
								current = ""
						End If
						Response.write("<LI "& current &"><A href="""& Eshop_url & AdminPath &"/admin_plugin.asp?action=install&id="& rs(1) &""" target=""frmright""><SPAN>"& rs(0) &"</SPAN></A></LI>")
				rs.movenext
				Loop
				End If
				rs.close : Set rs = Nothing
		End If
		Response.write("</UL></DIV></LI>")
Next
Response.write("</UL></DIV>")
Response.write("</td></tr>")
Response.write("<TR><TD background=""images/vertical/bg2.gif"" height=""30"" colspan=""3""><DIV class=""nav_vertical""><UL><LI class=""hello"">Hi! <SPAN>"& Eshop_Lebi_name &"</SPAN>&nbsp;&nbsp;<A href=""admin_pass.asp?action=log"" target=""frmright"">"& Lang_Menu(132) &"</A>&nbsp;&nbsp;<A href=""admin_pass.asp"" target=""frmright"">"& Lang_Menu(192) &"</A></LI><LI class=""logout""><A href=""quit.asp"" onclick=""return quit()"">"& Lang_Menu(1) &"</A></LI><LI><A href="""& Eshop_url &""" target=""_blank"">"& Lang_Menu(4) &"</A></LI></UL></DIV>")
If ArrData(7) = 1 Then
		Response.write("<DIV class=""quickservice""><ul class=""m_ul""><li class=""m_li"" onmouseover=""showmenu(this,0);""><a href=""#"">商业版本</a><div class=""l_m"" onmouseout=""hidemenu(1);hidemenu(0)"">")
		smenu = Split(s_m(0),",")
		For p = 0 To UBound(smenu)
				Response.write("<A href="""& split(smenu(p),"|")(1) &""" target=""_blank"" onmouseover=""showmenu(this,1)"">"& split(smenu(p),"|")(0) &"</A>")
		Next
		Response.write("</div></li></ul>")
		Response.write("<ul class=""m_ul""><li class=""m_li"" onmouseover=""showmenu(this,0);""><a href=""#"">建站服务</a><div class=""l_m"" onmouseout=""hidemenu(1);hidemenu(0)"">")
		smenu = Split(s_m(1),",")
		For p = 0 To UBound(smenu)
				Response.write("<A href="""& split(smenu(p),"|")(1) &""" target=""_blank"" onmouseover=""showmenu(this,1)"">"& split(smenu(p),"|")(0) &"</A>")
		Next
		Response.write("</div></li></ul></DIV>")
End If
Response.write("<DIV class=""nav_time""><script language=""javascript"" type=""text/javascript"" src="""& Eshop_url & AdminPath &"/images/vertical/clock.js""></script><script type=""text/javascript"">var date = new Date();document.write(date.toLocaleDateString());window.onload = tick;</script><span id=""Clock""></span></DIV></TD></TR>")
%>
<TR>
	<TD class=main_left id=frmTitle vAlign=top align=middle name="fmTitle">
      <TABLE class=main_left_top cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR height=30>
          <TD vAlign=top></TD>
          <TD class=main_left_title id=leftmenu_title><SPAN><IMG src="<%=Eshop_url & AdminPath &"/images/icon/"& split(fathermenu(0),"|")(2)%>" width="16" height="16" /> <%=split(fathermenu(0),"|")(0)%></SPAN></TD>
          <TD vAlign=top align=right></TD></TR>
		 </TBODY>
	  </TABLE><IFRAME class=left_iframe id=frmleft name=frmleft src="admin_left.asp" frameBorder=0 allowtransparency="true"></IFRAME>
	</TD>
    <TD style="WIDTH: 8px; border-left:1px solid #C4D8ED; border-right:1px solid #C4D8ED; BACKGROUND: #E0F2FF"><TABLE height="100%" cellSpacing=0 cellPadding=0 border=0><TBODY><TR><TD style="HEIGHT: 100%" onclick=switchSysBar()><SPAN class=navPoint id=switchPoint title=关闭/打开左栏><IMG src="images/vertical/left.gif"></SPAN></TD></TR></TBODY></TABLE></TD>
    <TD class=main_right vAlign=top><IFRAME class=main_iframe id=frmright name=frmright src="manage.asp" frameBorder=0 scrolling=yes></IFRAME></TD>
</TR>
<TR>
	<TD style="border-top:1px solid #C4D8ED; background: #E0F2FF" height="30" colspan="3"><%LB_Footer_Vertical()%></TD>
</TR>
</TBODY>
</TABLE>
</BODY>
</HTML>