<!--#include file="include/conn.asp"-->
<!--#include file="menu.asp"-->
<%
If Id="" Then
	Call alert("参数错误,返回首页.","/")
End If
'本页
Set v= oConn.Execute("SELECT top 1 Id,PBId,PSId,PTitle,PSmallPic,PSmoney,PHmoney,PCun,ProArrId,PNum,PGe,PSize,PColor,ProKg,PZk,PTe,PTeMoney,PTuan,PTuanMoney,PContent,PSming,PAddtime,Pnewtime,Phits,PorderHits,ProTaobao,ProHot,ProTop,ProMoney,ProRRR,ProPPP,ProYYY FROM [LstPro] where Id ="&Id)
If v.bof And v.eof Then
	Call BackUrl("/")
End If
oConn.Execute("UPDATE [LstPro] SET Phits = Phits+1 where Id ="&Id)

Dim aaaa,ppip,sStar
ppip = Request.ServerVariables("REMOTE_ADDR")
aaaa=Trim(request("aaaa"))
sStar=Trim(request("sStar"))
If action="addply" Then
	oConn.Execute("INSERT INTO [LstRel] (ProId,UserId,sContent,sIP,Addtime,sStar,sUser) VALUES ('"&Id&"','"&session("userid")&"','"&aaaa&"','"&ppip&"',now(),'"&sStar&"','0')")
	Call backurl("/ProInfo.asp?Id="&Id&"#star")
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<!---通用配置--->
<title><%=v("PTitle")%>_<%=sWeb("WebTitle")%>_<%=sWeb("WebUrl")%>_Powered by www.gaozhen.name QQ_47329193</title>
<meta name="keywords" content="<%=sWeb("WebKeyWord")%>" />
<meta name="description" content="<%=sWeb("WebDescription")%>" />
<meta name="author" content="<%=sWeb("WebAuthor")%>" />
<meta name="copyright" content="<%=sWeb("WebCopyright")%>" />
<meta content="all" name="robots" />
<link rel="shortcut icon" href="/include/favicon/favicon.ico" />
<link rel="icon" href="/include/favicon/favicon.gif" type="image/gif" >
<link type="text/css" href="/include/css/global.css" rel="stylesheet" />
<script type="text/javascript" src="/include/Js/config.js"></script>
<script src="/css/addpl.js" type="text/javascript"></script>
<link href="/css/pic.css" type="text/css" rel="stylesheet">	
<SCRIPT src="/Css/jquery-1.2.6.pack.js" type=text/javascript></SCRIPT>
<SCRIPT src="/Css/base.js" type=text/javascript></SCRIPT>
<SCRIPT src="/Css/lib.js" type=text/javascript></SCRIPT>
<SCRIPT src="/Css/1.js" type=text/javascript></SCRIPT>
<!---网站配置--->
<link type="text/css" href="/css/style.css" rel="stylesheet" />
<SCRIPT src="/Css/star.js" type=text/javascript></SCRIPT>
</head>
<body>
<%Call TopMenu()%>
<%Call HeadMenu()%>
<div id="maindiv">
<!---主体部分--->
<div id="lstpro">
	<div id="lstleft">
	<!--#include file="Leftpro.asp"-->
	</div>
	<div id="lstrightinfo">
	<div id="rrfff">
	<div class="sgohome">您现在的位置：首页 >> <a href=/ProInfo.asp?TT=<%=v("PBId")%>&Id=<%=Id%>><%=v("PTitle")%></a></div>
	<div class="stitle"><h1>产品名称：<%=v("PTitle")%></h1></div>
	<div class="scont">


	<div class="Pimgload">
	
<%
'大图片
Dim BPIC
Set oRs = oConn.Execute("SELECT top 10 Id,ProImg FROM [LstProImg] where ProId="&Id&" ORDER BY Id desc")
If Not oRs.EOF Then BPIC= oRs.GetRows
Set oRs = Nothing
%>
<div id=preview>
	<div class=jqzoom id=spec-n1 onClick="window.open('###')"><IMG height=300
	src="<%=v("PSmallPic")%>" jqimg="<%=v("PSmallPic")%>" width=350>
	</div>
	<div id=spec-n5>
		<div class=control id=spec-left>
			<img src="images/left.gif" />
		</div>
		<div id=spec-list>
			<ul class=list-h>
			<li><img src="<%=v("PSmallPic")%>"> </li>
			<%if Isarray(BPIC) Then%>
			<%for i=0 to UBound(BPIC,2)%>
			<li><img src="<%=BPIC(1,i)%>"> </li>
			<%Next 
			End if%>
			</ul>
		</div>
		<div class=control id=spec-right>
			<img src="images/right.gif" />
		</div>
		
    </div>
</div>
<SCRIPT type=text/javascript>
	$(function(){			
	   $(".jqzoom").jqueryzoom({
			xzoom:380,
			yzoom:350,
			offset:10,
			position:"right",
			preload:1,
			lens:1
		});
		$("#spec-list").jdMarquee({
			deriction:"left",
			width:350,
			height:56,
			step:2,
			speed:4,
			delay:10,
			control:true,
			_front:"#spec-right",
			_back:"#spec-left"
		});
		$("#spec-list img").bind("mouseover",function(){
			var src=$(this).attr("src");
			$("#spec-n1 img").eq(0).attr({
				src:src.replace("\/n5\/","\/n1\/"),
				jqimg:src.replace("\/n5\/","\/n0\/")
			});
			$(this).css({
				"border":"2px solid #ff6600",
				"padding":"1px"
			});
		}).bind("mouseout",function(){
			$(this).css({
				"border":"1px solid #ccc",
				"padding":"2px"
			});
		});				
	})
	</SCRIPT>

	</div>
	<div class="Psize">
	<ul>
	



	<%If v("ProArrId")="" Or InStr(v("ProArrId"),",")=0 Then%>
	<li><B>属性：</B><%=v("ProArrId")%></li>
	<%Else%>

	<%
	Dim arrid
	arrid=split(v("ProArrId"),", ")
	%>
	<li><B>属性：</B>
	<%if Isarray(arrid) Then%>
	<%for i=0 to UBound(arrid)%>
	<a href="/search.asp?keyword=<%=arrid(i)%>"><%=arrid(i)%></a> | 
	<%Next 
	End if%>
	</li>
	<%End If%>
	<li><B>编号：</B><%=v("PNum")%></li>
	<li><B>名称：</B><B class="f12 fblue"><%=v("PTitle")%></B></li>
	<li><B>规格：</B><%=v("PGe")%></li>
	<%
	Dim cc,ys
	cc = split(v("PSize"),"|")
	ys = split(v("PColor"),"|")
	%>

	<form action="/Shopping0.asp?ProId=<%=v("Id")%>" name="order1" method="post">
	
	<li><B>市场：</B><del class="fhui"><%=GZMONRY(v("PSmoney"))%>元</del></li>
	<li><B>会员：</B><b class="fred"><%=GZMONRY(v("PHmoney"))%>元</b></li>
	<li><B>折扣：</B><B><%=v("PZk")%></B> 折 <%If session("userid")="" Then %><%Else%> <b> - 我的折扣：</b><b class="fblue"><%=Mzhe%></b>折<%End If%></li>
	<li><B>重量：</B><%=v("ProKg")%></li>
	<li><B>尺寸：</B><%if Isarray(cc) Then%><%For i = 0 To UBound(cc)%><input <%If i=0 Then %>checked<%End If%> type="radio" name="cc" value="<%=cc(i)%>"><%=cc(i)%>  <%next%><%End If%></li>
	<li><B>颜色：</B><%if Isarray(ys) Then%><%For i = 0 To UBound(ys)%><input <%If i=0 Then %>checked<%End If%> type="radio" name="ys" value="<%=ys(i)%>"><%=ys(i)%>  <%next%><%End If%></li>
	<li>
	<B><img src=/images/top.gif> </B><%if v("ProTop")=0 then%>×<%else%><b class="fred">√</b><%end if%>
	<B><img src=/images/hot.gif> </B><%if v("Prohot")=0 then%>×<%else%><b class="fred">√</b><%end if%>
	<B><img src=/images/te.gif> </B><%if v("PTe")=0 then%>×<%else%> <b class="fgreen"><%=GZMONRY(v("PTeMoney"))%>元</b><%end if%>
	<B><img src=/images/tuan.gif> </B><%if v("PTuan")=0 then%>×<%else%><b class="fgreen"><%=GZMONRY(v("PTuanMoney"))%>元</b><%end if%></li>
	<li><B>库存：</B><%=v("PCun")%> 个</li>
	<li><B>数量：</B><input name="nn" value="1" style="height:12px;" size=4></li>
	<li><b>产品：</b><%=v("ProRRR")%>  <b>品牌：</b><%=v("ProPPP")%>  <b>年份：</b><%=v("ProYYY")%></li>
	<%If v("ProTaobao")<>"" Then%>
	<li><a target=_blank href="/Shoptaobao.asp?ProId=<%=v("Id")%>"><img src=/images/addorderTB.gif></a></li><%End If%>
	<li><input type="image" src=/images/addorder.gif>
	<a href="/UserCenter.asp?action=addfav&ProId=<%=v("Id")%>"><img src=/images/addfav.gif></a>
	<li>
	</form>
	<!-- JiaThis Button BEGIN -->
<div id="ckepop">
	<span class="jiathis_txt">分享到：</span>
	<a class="jiathis_button_qzone"></a>
	<a class="jiathis_button_tsina"></a>
	<a class="jiathis_button_tqq"></a>
	<a class="jiathis_button_renren"></a>
	<a class="jiathis_button_kaixin001"></a>
	<a class="jiathis_button_baidu"></a>
	<a class="jiathis_button_taobao"></a>
	<a class="jiathis_button_qq"></a>
	<a class="jiathis_button_51"></a>
	<a class="jiathis_button_xiaoyou"></a>
	<a class="jiathis_button_douban"></a>
	<a class="jiathis_button_msn"></a>
	<a class="jiathis_button_sohu"></a>
	<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
</div>
<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>
<!-- JiaThis Button END -->
	</li>
	</li>
	</ul>
	</div>
	</div>
<div class="clear"></div>
<div class="xnMore">
	<ul id="alloffice">
		<li class="downli" onmouseover="office(1,'alloffice','allcont');">产品详情</li>
		<li class="upli" onmouseover="office(2,'alloffice','allcont');">重要说明</li>
		<li class="upli" onmouseover="office(3,'alloffice','allcont');">评价咨询</li>
	</ul>
</div>

<div id="allcont">
<dd style="display:;">
	<div class="scontss">
		<div class="scanshu"><%=v("PContent")%></div>
	</div>
</dd>
<dd style="display:none;">
	<div class="scontss">
		<div class="scanshu"><%=v("PSming")%></div>
	</div>
</dd>
<dd style="display:none;">
	<div class="scontss">
		<%
		Set oRs =server.createobject("adodb.recordset")
		sSql = "SELECT Id,UserId,Addtime,sContent,sIP,sStar,sPCont,sPtime,sUser FROM [LstRel] where ProId= "&v("Id")&" ORDER BY Id DESC"
		oRs.open sSql,oconn,1,1
		if oRs.bof and oRs.eof then 
		else
		Call Showpage("1",5)
		for i=1 to mypage%>

		<div class="scanshupl">
			<div class="uleft"><%=USERPIC(oRs(1),1)%><br><B><%=USERPIC(oRs(1),0)%></B></div>
			<div class="uright"><span class="fhui">评论：<%=oRs(2)%>,<%=XXJI(oRs(5))%></span>
			<div style="width:620px;border:1px #DCE2EF solid;color:#2A2A2A;background-color:#F8F8F8;padding:5px;"><%=oRs(3)%></div>
			<%If oRs(8)<>"0" Then%>
			<span class="fhui">回复：<%=oRs(7)%></span>
			<div style="margin-top:1px;width:620px;border:1px #DCE2EF solid;color:#936B00;background-color:#FFF7E1;padding:5px;"><b><%=oRs(8)%></b>回复：<%=oRs(6)%></div>
			<%End If%></div>
		</div>
		<%
		oRs.MoveNext
		Next
		End If
		%>
		<div class="sspage"><%Call Showpage("/ProInfo.asp?Id="&Id&"",5)%></div>


		<form action="/ProInfo.asp?Id=<%=Id%>&action=addply" name="order" method="post">
		<p class="starWrapper" onmouseover="rate(this,event)">产品总体评分：
			  <img src="/images/huistar.gif" title="很不满意|差得太离谱，与卖家描述的严重不符，非常不满。" />
			  <img src="/images/huistar.gif" title="不满意|部分有破损，与卖家描述的不符，不满意。" />
			  <img src="/images/huistar.gif" title="一般|质量一般，没有卖家描述的那么好。" />
			  <img src="/images/huistar.gif" title="满意|质量不错，与卖家描述的基本一致，还是挺满意的。" />
			  <img src="/images/huistar.gif" title="非常满意|质量非常好，与卖家描述的完全一致，非常满意。" /> 
			  <span id="spNote" class="fhui"></span>
		</p>
		<input type="hidden" value="0" name="sStar" id="sStar" />
		<div class="scanshupl">
			<div class="uleft"></div>
			<div class="uright"><textarea rows="5" name="aaaa" cols="60"></textarea>
			<%If session("userid")="" Then%> 
			<input class="anlockblue" disabled name="s" type="button" value="发表评论">
			<%else%>
			<input class="anlockblue" name="s" type="button" onClick="return plcheck()"  value="发表评论">
			<%End If%>
			</div>
		</div>
		</form>
	</div>
</dd>
</div>
	</div>
	</div>
</div>
<!---版权部分--->
<div class="clear"></div>
<%Call HelpMenu()%>
<%Call ShowEnd()%>
</div>
</body>
</html>
