
<!--#include file="conn/conn.asp" -->
<!--#include file="conn/function.asp" -->
<%
if LCase(right(Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),9))="index.asp" then
D_domain=split(split("http://"&Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),"http://")(1),right(Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),10))(0)
else
if LCase(right(Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),8))="main.asp" then
D_domain=split(split("http://"&Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),"http://")(1),right(Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),9))(0)
else
D_domain=left(Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"),len(Request.ServerVariables("HTTP_HOST")&Request.ServerVariables("URL"))-1)
end if
end if
set xmlhttp=server.createobject("MSXML2.XMLHTTP")
xmlhttp.open "get","http://"&D_domain&"/theme/"&C_no&"/config.asp",false
xmlhttp.send
xmlpass=xmlhttp.responsetext
set xmlhttp=nothing
C_config=xmlpass
if split(C_config,"|")(30)="b" then
bg_color="#000000"
else
bg_color="#FFFFFF"
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=C_title%><%if split(GetBody(D_domain),"|")(0)<>"1" then%> - Powered By Flash-soul<%end if%></title>
<meta name="keywords" content="<%=C_keywords%>" />
<meta name="description" content="<%=C_content%>" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="media/<%=C_ico%>" rel="bookmark" type="image/x-icon" /> 
<link href="media/<%=C_ico%>" rel="icon" type="image/x-icon" /> 
<link href="media/<%=C_ico%>" rel="shortcut icon" type="image/x-icon" />
<%if C_index=1 then%><script>window.location="#/0"</script><%end if%>
<script type="text/javascript">
 try {
 var urlhash = window.location.hash;
 if (!urlhash.match("fromapp"))
 {
 if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i)))
 {
 <%if C_mobileon=1 then%>
 window.location="./wap";
 <%else%>
 <%end if%>
 }
 }
 }
 catch(err)
 {
 }
</script> 
<script type="text/javascript" src="js/show.js"></script>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="theme/<%=C_no%>/js/swfaddress.js"></script>
<script type="text/javascript">	
	var flashvars = {
	};
	var params = {
	wmode: "opaque",
	  menu: "true",
	  allowfullscreen: "true",
	  allowscriptaccess: "always",
	  bgcolor: "<%=bg_color%>"
	};
	var attributes = {
	  id: "flash",
	  name: "flash"
	};
	swfobject.embedSWF("http://<%=D_domain%>/theme/<%=C_no%>/swf/index.swf?domain=<%=D_domain%>&version=<%=split(C_config,"|")(1)%>", "flash", 640, 360, "9.0.0","swf/expressInstall.swf", flashvars, params, attributes);
</script>
<link href="css/lanrenzhijia.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script src="js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
<style type="text/css">
html {
    overflow:auto;
}
body {
	background-color:<%=bg_color%>;
	margin:0;
	padding:0;
	width:100%;
	height:100%;
	font-size:12px;
}
#flash {
	width:100%;
	height:100%;
	min-width:960px;
	min-height:540px;
	position:absolute;
	color:#00ADF1;
	line-height:20px;
}
a img {
	border:none;
}
a{ font-size:12px; color:#000000; text-decoration:none;}
a:hover {color:#0066ff;}
.link{margin:10px 10px 10px 10px;padding:5px 5px 5px 15px;background-color: #aaaaaa;color:#ffffff; font-size:15px;}
.link2{margin:10px 10px 10px 30px;padding:5px 5px 5px 15px;background-color: #bbbbbb;color:#ffffff; font-size:15px;}
</style>
</head>
<body>
<%=C_ocode%>
<script>
function changeOnline(num) {
	if (isNaN(num) && num == "")
		return;
	for (var i = 1; i <=6 ; i++)
	{
		if (i == num)
		{
			document.getElementById("onlineSort" + i).className = "online_bar expand";
			document.getElementById("onlineType" + i).style.display = "block";
		}
		else
		{
			document.getElementById("onlineSort" + i).className = "online_bar collapse";
			document.getElementById("onlineType" + i).style.display = "none";
		}
	}
}

$(document).ready(function(){
  $("#floatShow").bind("click",function(){
    $('#onlineService').animate({width: 'show', opacity: 'show'}, 'normal',function(){ $('#onlineService').show(); });$('#floatShow').attr('style','display:none');$('#floatHide').attr('style','display:block');
	return false;
  });
  $("#floatHide").bind("click",function(){
	$('#onlineService').animate({width: 'hide', opacity: 'hide'}, 'normal',function(){ $('#onlineService').hide(); });$('#floatShow').attr('style','display:block');$('#floatHide').attr('style','display:none');
  });
  $(document).bind("click",function(event){
	if ($(event.target).isChildOf("#online_qq_layer") == false)
	{
	 $('#onlineService').animate({width: 'hide', opacity: 'hide'}, 'normal',function(){ $('#onlineService').hide(); });$('#floatShow').attr('style','display:block');$('#floatHide').attr('style','display:none');
	}
  });
jQuery.fn.isChildAndSelfOf = function(b){
    return (this.closest(b).length > 0);
};
jQuery.fn.isChildOf = function(b){
    return (this.parents(b).length > 0);
};
  //$(window).scroll(function(){ 
	//$('#online_qq_layer').stop().animate({top:$(document).scrollTop() + $("#online_qq_layer").height()}, 100) 
  //}); 
});
</script>
<%
if C_qqon=1 then
%>
<div id="online_qq_layer" style="z-index:100;">
	<div id="online_qq_tab">
		<div class="online_icon">
			<a title id="floatShow" style="display:block;" href="javascript:void(0);">&nbsp;</a>
			<a title id="floatHide" style="display:none;" href="javascript:void(0);">&nbsp;</a>
		</div>
		<!--online_icon end--></div>
	<div id="onlineService">
		<div class="online_windows overz">
			<div class="online_w_top">
			</div>
			<!--online_w_top end-->
			<div class="online_w_c overz">
				<div class="online_bar expand" id="onlineSort1">
					<h2><a onclick="changeOnline(1)">在线客服</a></h2>
					<div class="online_content overz" id="onlineType1">
						<ul class="overz">
						
						<%
qq=split(C_qq,"|")
For i = 0 To UBound(qq)
if IsNumeric(qq(i)) then
response.Write "<li><a title='点击这里给我发消息' href='http://wpa.qq.com/msgrd?v=3&uin="&qq(i)&"&site=qq&menu=yes' target='_blank' class='qq_icon'>"&qq(i)&"</a></li>"
else
response.Write "<li><a title='点击这里给我发消息' href='http://www.taobao.com/webww/ww.php?ver=3&touid="&qq(i)&"&siteid=cntaobao&status=1&charset=utf-8' target='_blank' class='ww_icon'>"&qq(i)&"</a></li>"
end if
Next
%>
						</ul>
					</div>
</div>

		
				<div class="online_bar collapse" id="onlineSort2">
					<h2><a onclick="changeOnline(2)">电话客服</a></h2>
					<div class="online_content overz" id="onlineType2">
						<ul class="overz">
						
						<%
mobile=split(C_mobile,"|")
For j = 0 To UBound(mobile)
response.Write "<li>"&mobile(j)&"</li>"
Next
%>
						</ul>
					</div>
					<!--online_content end--></div>
				<!--online_bar end-->
				<div class="online_bar collapse" id="onlineSort3">
					<h2><a onclick="changeOnline(3)">网站二维码</a></h2>
					<div class="online_content overz" id="onlineType3">
						<ul class="overz">
							
						<img src="http://static.websiteonline.cn/website/qr/index.php?url=<%=D_domain%>" width="120" />
						</ul>
					</div>
				</div>
				<!--online_bar end-->
				
				<%if C_wcodeC="true" then%>
				<div class="online_bar collapse" id="onlineSort4">
					<h2><a onclick="changeOnline(4)">微信公众号</a></h2>
					<div class="online_content overz" id="onlineType4">
						<ul class="overz">
							
							<img src="<%=C_wcode%>" width="120" />
						</ul>
					</div>
				</div>
				<%end if%>
				
				</div>
			<!--online_w_c end-->
			<div class="online_w_bottom">
			</div>
			<!--online_w_bottom end--></div>
		<!--online_windows end--></div>
</div>
<!-- online qq end -->
<%
end if
%>
<%
if C_fx=1 then
%>
<div style='left:<%=split(C_config,"|")(26)+Cint(split(C_fxP,",")(0))%>px;POSITION:absolute;bottom:<%=split(C_config,"|")(27)+Cint(split(C_fxP,",")(1))%>px;z-index:100; float:left'>
<%=C_fenxiang%>
</div>
<%
end if
%>
<div style='right:<%=split(C_config,"|")(28)+Cint(split(C_btnP,",")(0))%>px;POSITION:absolute;bottom:<%=split(C_config,"|")(29)+Cint(split(C_btnP,",")(1))%>px;z-index:100'>
<%
if C_member=1 then
%>
<div style=" float:right; padding-left:10px;"><a href="javascript:void(0);" onClick="alertWin('会员中心','<iframe frameborder=0 src=member/index.asp width=100% height=470></iframe>',800,500);"><img src='image/me.png' alt="会员中心"></a></div>
<%
end if
%>
<%
if C_shop=1 then
%>
<div style=" float:right; padding-left:10px;"><a href="javascript:void(0);" onClick="alertWin('购物车','<iframe frameborder=0 src=member/member_shop.asp width=100% height=470></iframe>',800,500);"><img src='image/buy.png' alt="购物车"></a></div>
<%
end if
%>
<%
if C_search=1 then
%>
<div style=" float:right; padding-left:10px;"><a href="javascript:void(0);" onClick="alertWin('搜索','<iframe frameborder=0 src=zj/search.asp width=100% height=470></iframe>',800,500);"><img src='image/search.png' alt="搜索"></a></div>
<%
end if
%>
<%
if C_wb="sina" then
%>
<div style="float:right; padding-left:10px;"><a href="javascript:void(0);" onClick="alertWin('微博展示','<%=replace(C_swbid,"""","")%>',500,500);"><img src='image/s.png' alt="新浪微博"></a></div>
<%
end if
%>
<%
if C_wb="tecent" then
%>
<div style=" float:right; padding-left:10px;"><a href="javascript:void(0);" onClick="alertWin('微博展示','<%=replace(C_twbid,"""","")%>',500,500);"><img src='image/t.png' alt="腾讯微博"></a></div>
<%
end if
%>
<%
if C_wb="all" then
%>
<div style=" float:right; padding-left:10px;"><a href="javascript:void(0);" onClick="alertWin('微博展示','<%=replace(C_swbid,"""","")%>',500,500);"><img src='image/s.png' alt="新浪微博"></a></div>

<div style=" float:right; padding-left:10px;"><a href="javascript:void(0);" onClick="alertWin('微博展示','<%=replace(C_twbid,"""","")%>',500,500);"><img src='image/t.png' alt="腾讯微博"></a></div>
<%
end if
%>
</div>

</div>
<div id="flash">
<div style="height:1000px;"></div>
<div style="width:1000px; margin:0 auto; margin-top:50px;">
<%
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
link1=rs1("U_type")&".asp?id="&rs1("U_typeid")&"&from="&from
else
link1=rs1("U_type")&".asp?id="&rs1("U_id")&"&from="&from
end if
submenu= submenu&"<a href='html/"&link1&"'><div class='link2'>┗ <img src='media/"&rs1("U_icon")&"' width='15'> "&rs1("U_title")&"</div></a>"

rs1.movenext
		loop
	end if
set rs1=nothing
if rs("U_type")<>"sub" and rs("U_type")<>"link" then
link=rs("U_type")&".asp?id="&rs("U_typeid")&"&from="&from
else
if rs("U_type")="link" then
link=rs("U_type")&".asp?id="&rs("U_id")&"&from="&from
else
link="#"
end if
end if
response.Write "<a href='html/"&link&"'><div class='link'><img src='media/"&rs("U_icon")&"' width='15'> "&rs("U_title")&"</div></a>"&submenu
submenu=""
rs.movenext
		loop
	end if
set rs=nothing	
%></div>
<div style="width:1000px; margin:0 auto; margin-top:50px;">
<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from news order by N_id desc"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof
response.Write "<a href='html/newsinfo.asp?id="&rs("N_id")&"&from="&from&"'><div class='link'>"&rs("N_title")&"</div></a>"
rs.movenext
		loop
	end if
set rs=nothing	
%>
</div>
<div style="width:1000px; margin:0 auto; margin-top:50px;">
<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from photo order by P_id desc"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof
response.Write "<a href='html/photoinfo.asp?id="&rs("P_id")&"&from="&from&"'><div class='link'>"&rs("P_title")&"</div></a>"
rs.movenext
		loop
	end if
set rs=nothing	
%>
</div>
<div style="width:1000px;margin:0 auto;">
<br><br><br><br><br><br><br><br><br><br><br>
<h3>如果您看到这个页面，说明您的计算机未安装Flash Player，请点击下面的图标安装</h3>
<a href="http://get.adobe.com/cn/flashplayer/" target="_blank"><img src="media/flashplayer.gif"></a> <h2><a href="http://www.flash-soul.com" title="flash网站模板"><font color="#FFFFFF">Flash网站模板</font></a></h2> 
</div>
</div>
</body>
</html>
