<!--#include file="../conn/conn2.asp" -->
<!--#include file="top.asp" -->
<!DOCTYPE html> 
<html> 
<head> 
	<meta charset="gb2312" />
    <meta name="viewport" content="user-scalable=no,width=device-width" />
    <meta name="format-detection" content="telephone=no"/>
	<title>留言板</title>
    <link rel="stylesheet" href="style/mobile.css" />   
    <script src="jquery/jquery-1.10.1.min.js"></script>    
    <script src="jquery/myjs.js"></script>     
</head> 
<body onResize="loadtop();loadmain();loadfoot();">

<script src="js/0.js"></script>  
<script src="js/1.js"></script>   

<div id="dvtopbg"><img src="images/bg_header.png" ></div>
<div id="dvtop" >
<p id="topback"><a href="javascript:history.go(-1);"><img src="images/ico_back.png"></a></p>
<p id="tophome"><a href="index.asp"><img src="images/ico_home.png"></a></p>
<p id="toplogo"><img onLoad="loadlogo(this);" id="tiglog" style="display:none;" src="../media/<%=C_mlogo%>" /></p>
</div>

<script>loadtop();</script>
<div id="dvmain">
<%
if GetBody(D_domain)="" then
%>
<embed src="yz.swf?domain=<%=D_domain%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="0" height="0"></embed>
<script> 
function sendToJavaScript(value){
if(value=="1"){
}else{
document.getElementById("old").innerHTML="<div align='center' style='margin:10px 10px 10px 10px;padding:5px 5px 5px 5px;border:1px solid #ff0000'><font color='red' size='+1'>您使用的为免费版！请尽快升级到商业授权版保证正常使用！</font></div>"
}
}
</script>
<div id="old"></div>
<%
else 
if split(GetBody(D_domain),"|")(1)="1" then
%>
<%else%>
<div align='center' style='margin:10px 10px 10px 10px;padding:5px 5px 5px 5px;border:1px solid #ff0000'><font color='red' size='+1'>您使用的为免费版！请尽快升级到商业授权版保证正常使用！</font></div>
<%
end if
end if
%>
	<div id="feedback">
        	<h2><span><a href="guestbook.asp">我要留言</a></span>留言板</h2>
        	
			
			<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from guestbook order by G_id"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof


response.Write "<div class='feedback-item'><p class='user'>姓名："&rs("G_name")&"<span></span></p><p class='text'>内容："&rs("G_Msg")&"</p><p class='reply'>邮箱："&rs("G_email")&"</p><p class='reply'>手机："&rs("G_phone")&"</p></div>"
rs.movenext
		loop
	end if
set rs=nothing	
%>
        </div>
</div>
<script>loadmain();</script>

<div id="dvfoot"><ul><li><a id="aphone" href="tel:<%=C_mobile%>"><img src="images/butphone.jpg" /></a><a id="aemail" href="mailto:<%=C_email%>"><img src="images/butemail.jpg" /></a><a id="amap" href="map.asp"><img src="images/butmap.jpg" /></a><a id="ashare" onClick="shareopen();"><img src="images/butshare.jpg" /></a><a id="aleave" style="border:0px;" href="guestbook.asp"><img src="images/butleave.jpg" /></a></li></ul></div>
<script>loadfoot();</script>
</body>
</html>