当前位置:界面 > 模板管理
模板列表
<%dim fso,fsofolder,fsocontent,fsocount%> <%dim xml,title,versions,author,website,photo%> <%set fso=createobject("scripting.filesystemobject")%> <%set fsofolder=fso.getfolder(server.mappath(""&webroot&"theme/"))%> <%set fsocontent=fsofolder.files%> <%for each fsocount in fsofolder.subfolders%> <%if sdcms.isfile(""&webroot&"theme/"&fsocount.name&"/config.xml") then%> <%set xml=server.createobject("microsoft.xmldom")%> <%xml.async=false%> <%xml.load(server.mappath(""&webroot&"theme/"&fsocount.name&"/config.xml"))%> <%title=xml.documentelement.childnodes(0).text%> <%versions=xml.documentelement.childnodes(1).text%> <%author=xml.documentelement.childnodes(2).text%> <%website=xml.documentelement.childnodes(3).text%> <%photo=""&webroot&"theme/"&fsocount.name&"/"&xml.documentelement.childnodes(4).text%> <%if fsocount.name<>"admin" then%> <%end if%> <%end if%> <%next%> <%set xml=nothing%> <%set fsofolder=nothing%> <%set fsocontent=nothing%>
缩略图 是否应用 管理
<%if theme_root=fsocount.name then%>是<%else%><%end if%> <%if theme_root<>fsocount.name then%>应用模板
<%end if%>管理模板