<!--#include file="../../Inc/Config.asp"-->
<!--#include file="../../../include/config_lan1.inc"-->
<!--#include file="../../../include/lebi_Lang/en.inc"-->
<!--#include file="../../../include/Lebi_XML_Cls.asp"-->
<%
'**************************************
'* 最后更新 2012-07-30 by 56770.kingdge
'* copyright www.56770.com             
'**************************************
On Error Resume Next
Set LB_XML = new ASPXML
sql = "select top 1 template,l_path,l_rate,l_money,l_file,l_name from [Lebi_language] where l_state = 1 and l_txt = '_lan1'"
Set rs = conn.execute(sql)
If Not rs.eof Then 
		template = Trim(rs(0))
		LangPath = ""
		moneyhl = rs(2)
		dw = rs(3)
		LangTxt = ""
		LangFile = rs(4)
		LangName = rs(5)
		LangPath = rs(1)
End If 
rs.close : Set rs = Nothing 
If CheckDir(Eshop_url &"skins/"& template &"/asp/") Then 
		Set Fso=Server.CreateObject("Scripting.FilesystemObject")
		Set objFolder=fso.GetFolder(server.MapPath(Eshop_url &"skins/"& template &"/asp/"))
		Set objFiles=objFolder.Files
		For Each objFile In objFiles
				include "../../../skins/"& template &"/asp/"& objFile.name
		Next 
		Set objFolder=Nothing
End If 
LB_XML.Path = server.MapPath(Eshop_url &"skins/"& template &"/data.xml")
LB_XML.Data = "data"
LB_XML.open
LB_XML.SelectTable("config")
skin_align = "center"
skin_width = "100%"
skin_name = LB_XML.read("name")
style_folder = LB_XML.read("stylefolder")
skin_folder = LB_XML.read("templatefolder")
pic_dw = LB_XML.read("previewwidth")
pic_dh = LB_XML.read("previewheight")
show_mouse = LB_XML.read("preview")
skin_topnum = LB_XML.read("topnum")
If skin_topnum = "" Then skin_topnum = "5$4$0$6$0$6$0$5$10$10$5$16$5$16$16$16$2$0$16$2$2$2$2$0$12$10$12$4$4$0$0$0$0$0$0$0$0$0$0$0$0$"
top1= Split(skin_topnum,"$")(0)
top2= Split(skin_topnum,"$")(1)
top3= Split(skin_topnum,"$")(2)
top4= Split(skin_topnum,"$")(3)
top5= Split(skin_topnum,"$")(4)
top6= Split(skin_topnum,"$")(5)
top7= Split(skin_topnum,"$")(6)
top8= Split(skin_topnum,"$")(7)
top9= Split(skin_topnum,"$")(8)
top10= Split(skin_topnum,"$")(9)
top11= Split(skin_topnum,"$")(10)
top12= Split(skin_topnum,"$")(11)
top13= Split(skin_topnum,"$")(12)
top14= Split(skin_topnum,"$")(13)
top15= Split(skin_topnum,"$")(14)
top16= Split(skin_topnum,"$")(15)
top17= Split(skin_topnum,"$")(16)
top18= Split(skin_topnum,"$")(17)
top19= Split(skin_topnum,"$")(18)
top20= Split(skin_topnum,"$")(19)
skin_ys1= Split(skin_topnum,"$")(20)
skin_ys2= Split(skin_topnum,"$")(21)
skin_ys3= Split(skin_topnum,"$")(22)
top21= Split(skin_topnum,"$")(23)
top22= Split(skin_topnum,"$")(24)
top23= Split(skin_topnum,"$")(25)
top24= Split(skin_topnum,"$")(26)
top25= Split(skin_topnum,"$")(27)
top26= Split(skin_topnum,"$")(28)
top27= Split(skin_topnum,"$")(29)
top28= Split(skin_topnum,"$")(30)
top29= Split(skin_topnum,"$")(31)
LB_XML.close
%>