<%@ LANGUAGE=VBScript CodePage=65001%>
<% response.charset="utf-8" %>
<% session.codepage=65001 %>
<!-- #include file="../inc/AntiAttack.asp" -->
<!-- #include file="../inc/conn.asp" -->
<!-- #include file="../inc/web_config.asp" -->
<!-- #include file="../inc/html_clear.asp" -->
<!--基本信息-->
<!-- #include file="baseInfo.asp" -->
<!--基本信息结束-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="telephone=no" name="format-detection" />
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/pageOthers.css">
<link rel="stylesheet" type="text/css" href="css/custom.css">
<link rel="apple-touch-icon" href="/images/icon.png"/>

	<title><%=web_title%></title>

<script src="js/mobile_zh_CN.js"></script>
<script type="text/javascript">

function getCookieObj(){

		var ary=document.cookie.split(/;\s?/),cookieObj={};

		for(var i=0,n=ary.length;i<n;i++){

			var t=ary[i].split('=');

			if(t.length==2)cookieObj[t[0]]=t[1];

		}

		return cookieObj;

}

(function(){

	var defaultImgMode=window.localStorage.getItem('browseMode');

	if(defaultImgMode&&defaultImgMode!='close'){

		var imgMode=getCookieObj().imgDispMode;

		if(imgMode=='pq'){

			document.write('<link id="hdLink" rel="stylesheet" type="text/css" href="css/common_hd480.css">');

		}else if(imgMode=='gq'){

			document.write('<link id="hdLink" rel="stylesheet" type="text/css" href="css/common_hd640.css">');

		}else if(!imgMode){

			if(defaultImgMode=='gq'){

				var dpr=window.devicePixelRatio;

				if(dpr>1.5){

					document.write('<link id="hdLink" rel="stylesheet" type="text/css" href="css/common_hd640.css">');

				}else{

					document.write('<link id="hdLink" rel="stylesheet" type="text/css" href="css/common_hd480.css">');

				}

			}

		}

	}

})()



var CompInit=function(){

		var initFuncs={};

		var requireJsAry=[];

		return {

			addCompInit:function(key,opts){

				if(opts.initFunc){

					initFuncs[key]=opts.initFunc;

				}

				if(opts.requireJs){

					requireJsAry.push(opts.requireJs);

				}

			},

			initAll:function(fn){

				fn({requireJsAry:requireJsAry,initFuncs:initFuncs})

			}

		}

}()

</script>

<title></title>
</head>
<body>
<div id="box_root" class="z3g-pageProductDetail">
	<!-- 主题内容区 -->
	<div id="box_mainBody">
		<div id="box_main" >
			<!-- 头部区域 开始 -->
			<header id="box_header">
			</header>
			<!-- 头部区域 结束 -->
			<!-- 内容区域 开始 -->
			<div id="box_content">
				
				<div class="columnSpace" id="elem-Products_detail01-001" name="产品详细"> 
				<%

id=cint(request.querystring("id"))
name = request.querystring("name")
classType = request.querystring("classType")
set rs=server.createobject("adodb.recordset")
sql="select * from article where  id="&id
rs.open(sql),cn,1,1
if not rs.eof and not rs.bof then
paytime=rs("time")
hit=rs("hit")
content=rs("content")
%>
				<script type="text/javascript" src="js/SwipeCarousel.js"></script>
<div id="Products_detail01-001" class="Products_detail01-d2_c1">
				<!-- 产品详细组件 开始 -->
				<section class="Products_detail01-d2_c1">
					<div class="z3g-headerSmallNew ">
						<span class="active left">
	                        <div class="z3g-btn active btnArrow btnArrowLeft back  js_goZMhistory">
								<b>
									<em></em>
								</b>
								<a href=javascript:history.back()><span>返回</span></a>
							</div>										
						</span>
						<span class="center">产品详细</span>	
						<span href="" class="active right">
							<div class="z3g-btn textSizeBtn active">
								<span>
									字<sup>+</sup>
								</span>
								<div class="z3g-textSize">
									<div class="contArrow"> <em>◆</em> <i>◆</i> </div>
									<ul class="cont">
										<li class="active">小</li>
										<li class="active">中</li>
										<li class="active">大</li>
									</ul>
								</div>
							</div>
						</span>
					</div>
					<h1 class="z3g-pageTitle ">
						<span id="productDetailName" class="name "><%=rs("title")%></span>
						<span class="markWrap">
						</span>
						<div class="clear-both"></div>
					</h1>
					<!-- 图1-start -->
					<section class="bannerWrap1">
							<div id="bannerScroll1">
								<ul class="bannerList sc_scroller">
									
								         <li class="js_showImageContent" data-pdetailid="<%=rs("id")%>" data-pimageid="dde9a590-0e0e-45f3-b62b-06e8c3553c79" ><img lazy-src= "/images/up_images/<%=rs("image")%>" alt= "" /></li>
									
								</ul>
							</div>
					</section>
					<!-- 图1-end -->
					<!-- 信息展示-start -->
					<div class="tabInfoWrap">
						<div class="borderTitle z3g-bgColor03">
							<ul class="titleWrap">
    								<li class="current z3g-column1" >
    									<div>
    										<span class="text ">基本信息</span>
    									</div>
    								</li>
							</ul>
							<span class="active controlBar">
								<em class="icon up"></em>
							</span>
						</div>
						<!-- 产品规格-start -->
						<%
dim objFSO,objTS,Counts,strCounts
Application.Lock()
SET objFSO=server.CreateObject("scripting.filesystemobject")
set objTS=objFSO.opentextfile(server.MapPath("fangwenrenshu.txt"),1,true)
if not objTS.AtEndOfStream then
     Counts=CLng(objTS.readline)
end if
   counts=counts+1
objts.close
set objts=objFSO.OpenTextFile(server.MapPath("fangwenrenshu.txt"),2,true)
objTS.WriteLine(Counts)
objTS.close
application.UnLock()
%>
						<div class="borderCont productSpecifications" id="productbasic">
    						<ul class="textSizeWrap ">
									<li class="time">发布时间：<%=year(paytime)%>-<%=month(paytime)%>-<%=day(paytime)%></li>		
									<li class="browsing">浏览次数：<span id="hitnumber"><%=counts%></span></li>	
    						</ul>
                     <!-- 电话,咨询,位置按钮组-begin -->					
							<div class="submitGroup">
								<div class="group02">
										<div class="active productdetailtel">
											<a href="tel:<%=web_tel%>" ><span><%=web_tel%></span></a>
										</div>
								</div>
							</div>
							<!-- 电话,咨询,位置按钮组-end -->					
    					</div>
    					<!-- 产品规格-end -->
						<!-- 产品参数-start -->
    					<!-- 产品参数-end -->
					</div>
					<!-- 信息展示-end -->
					<!-- 产品描述-start -->
					<div class="productDescription" >
						<div class="borderTitle z3g-bgColor03">
							<span class="left">
								<em class="icon"></em>
								<em class="borderName ">产品描述</em>
							</span>
							<span class="right">
								<em class="moreCont"></em>
								<em class="controlBar" id="icon_desc_click">
									<cite id="icon_desc" class="icon up"></cite>
								</em>
							</span>
						</div>
						<div class="borderCont" id="productDescription">
							<div class="htmledit textSizeWrap "><%=content%></div>
						</div>
					</div>
					<!-- 产品描述-end -->
					<!-- 产品关键词-start -->
                    <!-- 产品关键词-end -->			
					<!-- 产品上一条下一条-start -->
					<div class="z3g-pageControlBar">
						  
							
					<%
'上一篇，下一篇读取替换
set rs1=server.createobject("adodb.recordset")
sql="select top 1 id,[title],[file_path],url,[time],ArticleType from [article] where [id]>"&id&"  and view_yes=1  and index_push=1 order by [id] "
rs1.open(sql),cn,1,1
if not rs1.eof and not rs1.bof  then
prepage1="/wap/product2.asp?id="&rs1("id")&"&amp;name="&name&"&amp;classType="&rs1("ArticleType")&""
'article_next=article_next&"<p class='p1'><a href='/wap/product2.asp?id="&rs1("id")&"&name="&name&"&classType="&rs1("ArticleType")&"' title='"&name&"' data-persist-ajax='true'>上一篇</a></p><p class='p2'>"&rs1("title")&"</p>"
%>
<section class="pagePrev  active js_haspreOrNext" data-pmcid="<%=rs1("id")%>" data-isotherlink="0" data-otherlink="http://" >
<p class='p1'><a href='/wap/product2.asp?id=<%=rs1("id")%>&classType=<%=rs1("ArticleType")%>' title='<%=name%>' data-persist-ajax='true' style="text-decoration:none;">上一个:</a></p>
<p class='p2'><a href='/wap/product2.asp?id=<%=rs1("id")%>&classType=<%=rs1("ArticleType")%>' title='<%=name%>' data-persist-ajax='true' style="text-decoration:none;"><%=rs1("title")%></a></p>
<p class="arrow"></p>
</section>
<%
else
%>
<section class="pagePrev  disTap" >
<p class='p1'>上一个:</p><p class='p2'>没有啦！</p>
<p class="arrow"></p>
</section>
<%
end if
'article_next=article_next&"</span>"
rs1.close
set rs1=nothing
%>

<%
set rs2=server.createobject("adodb.recordset")
sql="select top 1 id,[title],[file_path],url,[time],ArticleType from [article] where [id]<"&id&"  and view_yes=1 and index_push=1  order by [id] desc"
rs2.open(sql),cn,1,1
'article_next=article_next&"<span>"
if not rs2.eof and not rs2.bof then
nextpage1="/wap/product2.asp?id="&rs2("id")&"&amp;name="&name&"&amp;classType="&rs2("ArticleType")&""
'article_next=article_next&"<p class='p1 '><a href='/wap/product2.asp?id="&rs2("id")&"&name="&name&"&classType="&rs2("ArticleType")&"' title='"&name&"' data-persist-ajax='true'>下一篇</a></p><p class='p2 '>"&rs2("title")&"</p>"
%>
<section class="pageNext  active js_haspreOrNext" data-pmcid="<%=rs2("id")%>" data-isotherlink="0" data-otherlink="http://" >
<p class='p1 '><a href='/wap/product2.asp?id=<%=rs2("id")%>&classType=<%=rs2("ArticleType")%>' title='<%=name%>' data-persist-ajax='true' style="text-decoration:none;">下一个:</a></p>
<p class='p2 '><a href='/wap/product2.asp?id=<%=rs2("id")%>&classType=<%=rs2("ArticleType")%>' title='<%=name%>' data-persist-ajax='true' style="text-decoration:none;"><%=rs2("title")%></a></p>
<p class="arrow"></p>		
</section>
<%
else
%>
<section class="pageNext  disTap" data-pmcid="166" data-isotherlink="0" data-otherlink="http://" >
<p class='p1 '>下一个:</p>
<p class='p2 '>没有啦！</p>
<p class="arrow"></p>		
</section>
<%
'article_next=article_next&"<a data-persist-ajax='true'>没有啦</a>"
end if
'article_next=article_next&"</span>"
rs2.close
set rs2=nothing
%>
<%=article_next%>

</div>
					<!-- 产品上一条下一条-end -->
					<!-- 相关信息 -start -->
					<!-- 相关信息 -end -->
					<script type="text/javascript">
					CompInit.addCompInit('Products_detail01',{
					    requireJs:'/publicScripts/products/Products_detail01.js' ,
					    initFunc:function(){
					 	var options={
						img4_id:"159",
						img4_img:"dde9a590-0e0e-45f3-b62b-06e8c3553c79",
					    pic_length:2,
						styleV:"1",
						relateproducts_length:0,
						infovos_length:0,
						return_url:"m.300.cn",
						product_id:"159",
						info_link:"http://",
						productColumnId:"",
						keywords:"",
						brandId:"",
						pmcType:"2",
						pmcId:"",
						orderStr:"9",
						aboutList:"",
						findAllID:"",
						nextproductId:"166",
						preproductId:"",
						orderAddSuccess:"添加成功",
						orderAddCart:"商品已经成功加入到购物车！",
						orderGoCart:"去购物车",
						orderGoShop:"继续购物"
						}
						Products_detail01.init(options);
					}
					})
					</script>				
				</section>
				<!-- 产品详细组件 结束 -->
</div> 
				</div>
				<%
else
response.write "暂时无数据"
end if %>
				
			</div>
			<!-- 内容区域 结束 -->
			<div class="columnSpace" id="elem-PublicConfig_showBottom01-001" name="bottom">
			


	<section class="PublicConfig_showBottom01-d1_c1">

	<div class="htmledit">

		<%=web_BottomHTML%>

	</div>

	</section>



			</div>
		</div>
	</div>
	<!-- 底部工具栏 -->
	<!-- #include file="footer.asp" -->
	<!-- 底部工具栏结束 -->
</div>	
<script type="text/javascript" src="js/lib.min.js"></script>
</body>
</html>