<!--#include file="../../../conn/conn4.asp" -->
<!--#include file="../../../conn/function.asp" -->
<%
D_domain=split(split("http://"&Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),"http://")(1),"/theme")(0)
if left(C_music,4)<>"http" then
C_music="http://"&D_domain&"/"&C_music
end if
%>
<?xml version="1.0" encoding="gb2312" ?>
<!-- XML TEMPLATE CONFIG SETTING -->
<data>
	<!-- LOGO -->
	<logo>
		<setting>
			<!-- logo setting -->
			<!-- the link also can be a hyperlink like: link="http://flashcms.org,_blank" -->
			<!-- if you want it link to a page, for example, link to contact, just edit it like this: link="event:contact", the "contact" is the id of nav/subNav node. -->
			<logo offsetX="<%=C_logox%>" y="<%=C_logoy%>" link="event:home">media/<%=C_logo%></logo>
		</setting>
	</logo>
	<!-- VIDEO Setting -->
	<videoSetting>
		<progressbar>
			<!-- video progress bar setting -->
			<progresscolor>0x5dad00</progresscolor>
			<buffercolor>0xeaeaea</buffercolor>
			<seekbarBgColor>0x323232</seekbarBgColor>
			<bgcolor>0x000000</bgcolor>
			<bgalpha>0.3</bgalpha>
			<buttoncolor>0xffffff</buttoncolor>
			<textcolor>0xffffff</textcolor>
		</progressbar>
		<!-- button color -->
		<onOverColor>0x5dad00</onOverColor>
		<onOutColor>0xffffff</onOutColor>
	</videoSetting>
	<!-- SCROLL BAR -->
	<controlbar>
		<onOverColor>0x5dad00</onOverColor>
		<onOutColor>0x5dad00</onOutColor>
		<baseColor>0xcdcdcd</baseColor>
		<baseAlpha>0.6</baseAlpha>
		<!-- the width of the right-bottom scroller -->
		<bottomScrollerWidth>330</bottomScrollerWidth>
	</controlbar>
	<!-- iamge(thumbnail) loading setting(not preloader) -->
	<imageloading>
		<setting>
			<color>0x5dad00</color>
			<alpha>1</alpha>
		</setting>
	</imageloading>
	<!-- FOOTER -->
	<footer>
		<setting>		

		</setting>
		<iconOffsetX>6</iconOffsetX>
		<iconOffsetY>0</iconOffsetY>
		<textOffsetX>-3</textOffsetX>
		<textOffsetY>-10</textOffsetY>
		<text><![CDATA[<%=C_foot%>]]></text>
	</footer>
	<!-- BACKGROUND -->
	<background>
		<setting>
			<!-- background setting -->
			<color>0xffffff</color>
			<alpha>0</alpha>
			<videoVolume>0.0</videoVolume><!-- [0.0 - 1.0] -->
			<videoLoop>true</videoLoop><!-- [true, false] -->
			<!-- when backgound fade in, it will move the follow value from bottom to top -->
			<tweenOffsetY>200</tweenOffsetY>
			<!-- if the background can be moved by the bottom scroller -->
			<movable>true</movable>
		</setting>
		<!-- website background tile -->
		<tile src="images/background/tile.png" alpha="0.5"></tile>
	</background>
	<!-- BACKGROUND MUSIC -->
	<musicandscreen>
		<!-- if you don't need background music, keep visible="false" -->
		<setting musicvisible="true" fullscreenvisible="true">
			<!-- setting -->
			<musicVolume>0.8</musicVolume>
			<iconOffsetX>7</iconOffsetX>
			<iconOffsetY>0</iconOffsetY>
			<!-- "0" is whole cycle mode, "1" is single cycle mode -->
			<playMode>1</playMode>
		</setting>
		<!-- mp3 playlist -->
		<%
D_domain=split(split("http://"&Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),"http://")(1),"/xml")(0)
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from music"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof

if left(rs("M_link"),4)="http" then
response.Write "<sound name='"&rs("M_title")&"' src='"&rs("M_link")&"'></sound>"
else
response.Write "<sound name='"&rs("M_title")&"'src='http://"&D_domain&"/media/"&rs("M_link")&"'></sound>"
end if
rs.movenext
		loop
	end if
set rs=nothing
%>
	</musicandscreen>
	<!-- NAVIGATION -->
	<navigation>
		<!-- navigate setting -->
		<setting>
			<!-- font -->
			<fontsize>16,14</fontsize>
			<!-- gap on x-coordinate -->
			<gapX>10</gapX>
			<mainTextOffsetX>0</mainTextOffsetX>
			<mainTextOffsetY>-7</mainTextOffsetY>
			<childTextOffsetX>0</childTextOffsetX>
			<childTextOffsetY>-5</childTextOffsetY>
			<onOverMainTextColor>0x666666</onOverMainTextColor>
			<onOutMainTextColor>0x666666</onOutMainTextColor>
			<onOverChildTextColor>0xffffff</onOverChildTextColor>
			<onOutChildTextColor>0x666666</onOutChildTextColor>
			<selectTextColor>0xffffff</selectTextColor>
			<onSelectBgAlpha>1</onSelectBgAlpha>
			<mainMenuBgHeight>39</mainMenuBgHeight>
			<childMenuBgHeight>39</childMenuBgHeight>
			<onOverBgColor>0x5dad00</onOverBgColor>
			<onOutBgColor>0xffffff</onOutBgColor>
			<onOverBgAlpha>1</onOverBgAlpha>
			<onOutBgAlpha>0.9</onOutBgAlpha>
		</setting>
		
		<%
		Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from menu1 where U_sub=0 order by U_order"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof

Set rs1= Server.CreateObject("ADODB.RecordSet")
sql1="select * from menu1 where U_sub="&rs("U_id")&" order by U_order"
rs1.open sql1,conn,1,1
if not rs1.eof then
Do while Not rs1.eof

if rs1("U_type")="link" then
submenu=submenu&"<subnav id='"&rs1("U_id")&"' name='"&rs1("U_title")&"' src='"&rs1("U_bg")&"' link='true'></subnav>"
else
submenu=submenu&"<subnav id='"&rs1("U_id")&"' name='"&rs1("U_title")&"' src='index/nav/"&rs1("U_id")&"' link='false'></subnav>"
end if
rs1.movenext
		loop
	end if
set rs1=nothing

if rs("U_type")<>"sub" then
if rs("U_type")="link" then
response.Write "<nav id='"&rs("U_id")&"' name='"&rs("U_title")&"' src='"&rs("U_bg")&"' link='true' />"
else
response.Write "<nav id='"&rs("U_id")&"' name='"&rs("U_title")&"' src='index/nav/"&rs("U_id")&"' link='false' />"
end if
else
response.Write "<nav id='"&rs("U_id")&"' name='"&rs("U_title")&"' src='' link='false'>"&submenu&"</nav>"
end if

submenu=""
rs.movenext
		loop
	end if
set rs=nothing
		
		%>
	</navigation>
	<!-- HOME -->
	<home>
		<setting>
			<!-- home setting -->
		</setting>
	</home>
	<!-- NEWS -->
	<news>
		<setting>
			<!-- mouse over and out of the close button -->
			<onOverColor>0x5dad00</onOverColor>
			<onOutColor>0x999999</onOutColor>
			<onOverIconColor>0xffffff</onOverIconColor>
			<onOutIconColor>0xffffff</onOutIconColor>
			<circleBgColor>0x333333</circleBgColor>
			<circleBgAlpha>0.2</circleBgAlpha>
			<!-- mouse over and out of the "Read more" -->
			<onOverReadmoreColor>0x5dad00</onOverReadmoreColor>
			<onOutReadmoreColor>0x555555</onOutReadmoreColor>
			<!-- thumbnail front mask setting -->
			<maskColor>0x000000</maskColor>
			<maskAlpha>0</maskAlpha>			
			<!-- when mouse over and out of the item, the alpha of item's bg will be changed according to the following 2 attributes -->
			<onOutBgAlpha>0.7</onOutBgAlpha>
			<onOverBgAlpha>1</onOverBgAlpha>
			<!-- thumbnail foreground setting -->
			<thumbFgColor>0x5dad00</thumbFgColor>
			<thumbFgAlpha>0.6</thumbFgAlpha>
			<!-- the color of item's bg -->
			<bgColor>0xffffff</bgColor>
			<videoBgColor>0x000000</videoBgColor>
			<!-- the offset-y coordinate of the title -->
			<titleTextOffsetY>-5</titleTextOffsetY>
			<!-- the width of the scroller which is "in" item -->
			<infoScrollerWidth>100</infoScrollerWidth>
			<pageBgColor>0xffffff</pageBgColor>
			<pageBgAlpha>0.9</pageBgAlpha>
			<informationSelectable>false</informationSelectable>
			<zoom>true</zoom>
			<imageBgAlpha>0.3</imageBgAlpha>
			<imageBgColor>0x000000</imageBgColor>
		</setting>
	</news>
	<!-- GALLERY -->
	<gallery>
		<setting>
			<!-- gallery global setting -->
			<onOverColor>0x5dad00</onOverColor>
			<onOutColor>0x999999</onOutColor>
			<onOverIconColor>0xffffff</onOverIconColor>
			<onOutIconColor>0xffffff</onOutIconColor>
			<circleBgColor>0x333333</circleBgColor>
			<circleBgAlpha>0.2</circleBgAlpha>
			<thumbTextAlign>center</thumbTextAlign>
			<thumbTextBgColor>0x5dad00</thumbTextBgColor>
			<thumbTextBgAlpha>0.6</thumbTextBgAlpha>
			<maskColor>0x000000</maskColor>
			<maskAlpha>0</maskAlpha>
			<!-- image setting (the following nodes only for image(detail) page)-->
			<zoom>true</zoom>
			<imageBgAlpha>0.3</imageBgAlpha>
			<imageBgColor>0x000000</imageBgColor>
			<pageBgColor>0xffffff</pageBgColor>
			<pageBgAlpha>0.9</pageBgAlpha>
			<videoBgColor>0xf3f3f3</videoBgColor>
			<anitextTweenerTime>0.1</anitextTweenerTime>
			<anitextTweenerDelay>0.01</anitextTweenerDelay>
			<autoSlide>true</autoSlide>
			<slideInterval>8</slideInterval>
			<loadingColor>0x5dad00</loadingColor>
			<loadingAlpha>0.5</loadingAlpha>
			<!-- circle button radius and annulus width -->
			<buttonRadius>9</buttonRadius>
			<annulusWidth>4</annulusWidth>
			<buttonGapX>10</buttonGapX>
		</setting>
	</gallery>
	<!-- SLIDESHOW -->
	<slideshow>
		<setting>
			<!-- slideshow setting -->
			<!-- slideshow interval (second) -->
			<interval>8</interval>
			<!-- bottom button setting -->
			<button_visible>true</button_visible>
			<onOverColor>0x5dad00</onOverColor>
			<onOutColor>0xbebebe</onOutColor>
			<onOverAlpha>1</onOverAlpha>
			<onOutAlpha>0.8</onOutAlpha>
			<!-- circle loading color and alpha -->
			<loadingColor>0x5dad00</loadingColor>
			<loadingAlpha>0.5</loadingAlpha>
			<!-- circle button radius and annulus width -->
			<buttonRadius>9</buttonRadius>
			<annulusWidth>4</annulusWidth>
			<buttonGapX>10</buttonGapX>
			<buttonOffsetX>10</buttonOffsetX>
			<buttonOffsetY>10</buttonOffsetY>
			<!-- text -->
			<textOffsetX>15</textOffsetX>
			<textOffsetY>0</textOffsetY>
		</setting>
	</slideshow>
	<!-- ABOUT -->
	<about>
		<setting>
			<!-- about setting -->
			<startX>10</startX>
			<textSelectAble>false</textSelectAble>
		</setting>
	</about>
	<!-- TEAM -->
	<team>
		<setting>
			<!-- buttons colors-->
			<onOverColor>0x5dad00</onOverColor>
			<onOutColor>0xffffff</onOutColor>
			<!-- thumbnail front mask setting -->
			<maskColor>0xffffff</maskColor>
			<maskAlpha>0</maskAlpha>	
			<!-- when mouse over and out of the item, the alpha of item's bg will be changed according to the following 2 attributes -->
			<onOutBgAlpha>0.8</onOutBgAlpha>
			<onOverBgAlpha>1</onOverBgAlpha>
			<!-- the color of item's bg -->
			<bgColor>0xffffff</bgColor>
			<thumbWidth>210</thumbWidth>
			<thumbHeight>210</thumbHeight>
			<scrollTextHeight>140</scrollTextHeight>
			<!-- the width of the scroller which is "in" item -->
			<infoScrollerWidth>100</infoScrollerWidth>
			<titleBgHeight>60</titleBgHeight>
			<titleTextOffsetY>0</titleTextOffsetY>
			<startX>12</startX>
			<!-- the gap of the item -->
			<gap>12</gap>
			<!-- when mouse out of the item, the item will close after the following delay time -->
			<closeDelay>2</closeDelay>
			<informationSelectable>false</informationSelectable>
		</setting>
	</team>
	<!-- CLIENTS -->
	<clients>
		<setting>
			<onOverColor>0x5dad00</onOverColor>
			<onOutColor>0x000000</onOutColor>
			<!-- the gap of the item -->
			<startX>12</startX>
			<gap>14</gap>
			<!-- thumb height -->
			<thumbHeight>80</thumbHeight>
			<thumbTextAlign>center</thumbTextAlign>
			<thumbTextBgColor>0x5dad00</thumbTextBgColor>
			<thumbTextBgAlpha>0.8</thumbTextBgAlpha>
			<maskColor>0x000000</maskColor>
			<maskAlpha>0</maskAlpha>
		</setting>
	</clients>
	<!-- REEL -->
	<reel>
		<setting>
			<!-- reel setting --> 
			<bgColor>0xffffff</bgColor>
		</setting>
	</reel>
	<!-- CONTACT -->
	<contact>
		<setting>
			<!-- contact setting -->
			<startX>10</startX>
			<textSelectAble>false</textSelectAble>
			<hasClearButton>false</hasClearButton>
			<onOverColor>0x5dad00</onOverColor>
			<onOutColor>0x666666</onOutColor>
		</setting>
	</contact>
</data>

