<!--#include file="../inc/Conn.asp"-->
<!--#include file="../inc/base64.asp"-->
<!--#include file="../inc/Function.asp"-->
<%
id=request("id")
if id <> 0 then
set key=conn.execute("select * from Dream_Articles where ID="&id)
if not(key.eof and key.bof) then	
	DreamTitles=key("Dream_Title")
	DreamKeys=key("Dream_Keyword")
	DreamDes=key("Dream_Description")
	Dream_ClassID=key("ID")
	Dream_Content=key("Dream_Content")
	Dream_Content2=key("Dream_Content2")
end if
set key=nothing
else
response.Redirect "index.asp"
end if
%>
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=DreamTitles%>-<%=Dream_SiteName%></title>
<meta name=Keywords content="<%=DreamKeys%>">
<meta name=Description content="<%=DreamDes%>">
<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
<meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="full-screen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="address=no">
<link rel="stylesheet" href="../css/style_guolv.css" />
<script type="text/javascript" src="../js/zepto.min.js"></script>
<script type="text/javascript" src="../js/globe.js"></script>
<script type="text/javascript" src="../js/swiper.min.js"></script>
<body>
<section>
<!-- S: 头部 -->
  <header id="hd" bk="tuan_m_detail_top">
    <!-- 文本title -->
    <h1 class="txt-title"><%=DreamTitles%></h1>
    <a href="#" class="home-btn ret-btn" bk="tuan_m_detail_back">返回</a> <a href="index.asp" class="home-btns">首页</a></header>
  <script type="text/javascript">
    
    // History, by lww, 2013/09/02
    ;(function($){
        if(!$) { return; }
        if( history.length > 1){
            $("#hd .ret-btn").show();
        }
        else {
            $("#hd .ret-btn").hide();
        }

        $("#hd .ret-btn").click(function(e){
            e.preventDefault();
            if( history.length > 1 ) {
                history.back();
            }
        });
    })(Zepto);
    
</script>
<div id="bd">
    <!-- S: 轮播 -->
	<div class="lv-project-detail">
    <%if Dream_Content2<>"" then%>
    <div class="swiper-main detail-banner">
      <div class="swiper-container swiper-banner">
        <div class="swiper-wrapper"> <%=GetAllImgSrc(Dream_Content2)%> </div>
      </div>
      <div class="pagination"></div>
    </div>
    <%else%>
    <div id="slidePic" class="slide"><img src="<%=Dream_DefaultPicUrl%>" alt="" /></div>
    <%end if%>
    <!-- E: 轮播 -->
	</div>
</div>
<div id="content">
	<div class="aboutus">	
	<%=Dream_Content%>
	</div>  
</div>
<!--#include file="footer.asp"-->
<!--#include file="navb.asp"--> 
</section>
</body>
</html>
