<!--#include file="include/conn.asp"-->
<!--#include file="menu.asp"-->
<!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>热销产品_<%=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>
<!---网站配置--->
<link type="text/css" href="/css/style.css" rel="stylesheet" />
</head>
<body>
<%Call TopMenu()%>
<%Call HeadMenu()%>
<div id="maindiv">
<!---主体部分--->
<div id="lstpro">
	<div id="lstleft">
	<!--#include file="Leftpro.asp"-->
	</div>
	<div id="lstright">
	<div id="rrfff">
	<div class="sgohome">您现在的位置：首页 >> <a href=/ProClassHot.asp>热销产品</a></div>
	<div class="stitle"><h1>热销产品</h1>
	<div class="smore">
	<select onchange="top.location=this.value;">
	<option value="">价格排序</option>
	<option value="/ProClassHot.asp?TT=<%=TT%>&SS=<%=SS%>&mpx=1">按价格由高到低</option>
	<option value="/ProClassHot.asp?TT=<%=TT%>&SS=<%=SS%>&mpx=0">按价格由低到高</option>
	</select>
	</div>
	</div>
	<div class="scont">
	<ul>
		<%
		Set oRs =server.createobject("adodb.recordset")
		sSql = "SELECT Id,PBId,PTitle,PSmallPic,PSmoney,PHmoney FROM [LstPro] WHERE ProHot=1"
		If mpx = 1 Then
			sSql = sSql & " ORDER BY PHmoney desc, Id desc"
		ElseIf mpx = 0 Then
			sSql = sSql & " ORDER BY PHmoney asc,Id desc"
		Else
			sSql = sSql & " ORDER BY Id desc"
		End If
		oRs.open sSql,oconn,1,1
		if oRs.bof and oRs.eof then 
		else
		Call Showpage("1",35)
		for i=1 to mypage%>
		<li><a href="/ProInfo.asp?Id=<%=oRs("Id")%>"><img width=120 src="<%=oRs("PSmallPic")%>"></a><br>
		<a href="/ProInfo.asp?TT=<%=oRs("PBId")%>&Id=<%=oRs("Id")%>"><B><%=Left(oRs("PTitle"),10)%></B></a><br>
		<del class="fhui">市场价：<%=oRs("PSmoney")%>元</del><br>
		零售价：<%=GZMONRY(oRs("PHmoney"))%>元</li>
		<%
		oRs.MoveNext
		Next
		End If
		%>
	</ul>
	</div>
	<div class="sspage"><%Call Showpage("?TT="&TT&"&SS="&SS&"&mpx="&mpx&"",35)%></div>
	</div>
	</div>
</div>
<!---版权部分--->
<div class="clear"></div>
<%Call HelpMenu()%>
<%Call ShowEnd()%>
</div>
</body>
</html>
