<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="fuction.asp" -->
<%
id=nosql(request("id"))
if Not isChkInteger(request("id")) then
%>
 <script language=javascript>
	alert("Error！");
	window.close();
 </script> 
<%
response.end
end if

set rs=server.createobject("adodb.recordset")
if Request.querystring("action")="next" then
rs.open "select top 1 * from wygkcn_shop where shopid < "&nosql(request("id"))&" order by shopid desc",conn,1,3
elseif Request.querystring("action")="Previous" then
rs.open "select top 1 * from wygkcn_shop where shopid > "&nosql(request("id"))&" order by shopid asc",conn,1,3
else
rs.open "select * from wygkcn_shop where shopid = "&nosql(request("id")),conn,1,3
end if
if rs.EOF or rs.bof  then
response.write"<SCRIPT language=JavaScript>alert('No product！');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end 
end if
sftc=rs("sftc")
url=rs("lj")
if rs("lj")<>"www" then
Response.Redirect url
response.end 
end if
p1=trim(rs("p1"))
p2=trim(rs("p2"))
p3=trim(rs("p3"))
p4=trim(rs("p4"))
dq_2=rs("dq")
dq_2=split(dq_2,",")
dq1=dq_2(0)
dq2=dq_2(1)
dq3=dq_2(2)
dq4=dq_2(3)
psdq_2=rs("psdq")
psdq_2=split(psdq_2,",")
psdq1=psdq_2(0)
psdq2=psdq_2(1)
psdq3=psdq_2(2)
psdq4=psdq_2(3)
shopname=rs("shopname")
pinpai=rs("pinpai")
zhuang=rs("zhuang")
shoppic=rs("shoppic")
shichangjia=rs("shichangjia")
huiyuanjia=rs("huiyuanjia")
pifajia=rs("pifajia")
vipjia=rs("vipjia")
mch=rs("mch")
kucun=rs("kucun")
isbn1=rs("isbn1")
isbn=rs("isbn")
jj=rs("jj")
shopchuban=rs("shopchuban")
cj=rs("cj")
cjname=rs("cjname")
gj=rs("gj")
gjz=rs("gjz")
pingjizong=rs("pingjizong")
pingji=rs("pingji")
ps=rs("ps")
yeshu=rs("yeshu")
x1=rs("x1")
x2=rs("x2")
x3=rs("x3")
x4=rs("x4")
x5=rs("x5")
x6=rs("x6")
y1=rs("y1")
y2=rs("y2")
y3=rs("y3")
y4=rs("y4")
y5=rs("y5")
y6=rs("y6")
shopid=rs("shopid")
shopcontent=rs("shopcontent")
newsshop=rs("newsshop")
bestshop=rs("bestshop")
tejiashop=rs("tejiashop")
cxiaoshop=rs("cxiaoshop")
hot=rs("liulancount")
xiao=rs("chengjiaocount")
set rs2=server.createobject("adodb.recordset")
rs2.open "select * from shop_anclass where anclassid="&rs("anclassid"),conn,1,1
if rs2.recordcount>0 then
anclass=rs2("anclass")
anclassid=rs2("anclassid")
end if
rs2.close
set rs2=server.createobject("adodb.recordset")
rs2.open "select * from shop_nclass where nclassid="&rs("nclassid"),conn,1,1
if rs2.recordcount>0 then
nclass=rs2("nclass")
nclassid=rs2("nclassid")
end if
rs2.close
if rs("xclassid")=0 then
xclass="no categories "
xclassid=0
xhtml=xclass
else
set rs2=server.createobject("adodb.recordset")
rs2.open "select * from shop_xclass where id="&rs("xclassid"),conn,1,1
if rs2.recordcount>0 then
xclass=rs2("xclass")
xclassid=rs2("id")
end if
rs2.close
set rs2=nothing
xhtml="<a href=class.asp?lx=snsn&anid="&anclassid&"&nid="&nclassid&"&xid="&xclassid&" targer=_blank>"&xclass&"</a>"
end if

rs("liulancount")=rs("liulancount")+1
rs.update
rs.close
set rs=nothing
if zhuang="" then
zhuang=shoppic
end if
if p1="" then
p1=zhuang
end if
if p2="" then
p2=zhuang
end if
if p3="" then
p3=zhuang
end if
if p4="" then
p4=zhuang
end if
'-------------------------- djj add
username 	= session("username")
reglx		=	cint(session("reglx"))
'--- djj_jg_name1 djj_jg_name 2 djj_jg_vlaue1 djj_jg_vlaue2 djj_jg_vlaue3 djj_jg_vlaue3,djj_jg_dz1,djj_jg_dz2,
'-----------------价格模块
		   djj_jg_name1 	=  "【"&jiagename2&"】" 
		   djj_jg_vlaue1 	=	"<a href= ""/login.asp"" >Login to check</a>"
		   djj_jg_name2 	=  "【"&jiagename3&"】" 
		   djj_jg_vlaue2 	=	djj_jg_vlaue1
		   djj_jg_dz3		= 	10
		   djj_jg_name3 	=  "【"&jiagename4&"】" 
		   djj_jg_vlaue3 	=	djj_jg_vlaue1
		   djj_jg_dz1		= 	10
		   djj_jg_dz2		= 	10

 if username	= "" Then
 '---------- not login
	 if djj_jggz = 0 then
		   djj_jg_name1 	=  "【"&jiagename2&"】" 
		   djj_jg_vlaue1 	=	formatnumber(huiyuanjia,2) & ""
		   djj_jg_dz1		=	round(huiyuanjia/shichangjia,2)*10
			djj_jg_name2 	=  "【"&jiagename3&"】" 
			djj_jg_vlaue2 	=	formatnumber(vipjia,2) & ""
			djj_jg_dz2		=	round(vipjia/shichangjia,2)*10
			djj_jg_name3 	=  "【"&jiagename4&"】" 
			djj_jg_vlaue3 	=	formatnumber(pifajia,2) & ""
			djj_jg_dz3		=	round(pifajia/shichangjia,2)*10
	end if
 else 
 '-----------  login 
	if djj_jggz = 0 then 
	'---all list
		   djj_jg_name1 	=  "【"&jiagename2&"】" 
		   djj_jg_vlaue1 	=	formatnumber(huiyuanjia,2) & ""
			djj_jg_dz1		=	round(huiyuanjia/shichangjia,2)*10
		   djj_jg_name2 	=  "【"&jiagename3&"】" 
		   djj_jg_vlaue2 	=	formatnumber(vipjia,2) & ""
			djj_jg_dz2		=	round(vipjia/shichangjia,2)*10
		   djj_jg_name3 	=  "【"&jiagename4&"】" 
		   djj_jg_vlaue3 	=	formatnumber(pifajia,2) & ""
			djj_jg_dz3		=	round(pifajia/shichangjia,2)*10
	else
	'----- not  all
			if djj_jggz = 1  then
			'----- ben zu
							   djj_jg_vlaue1 	=	"no permission to check"
							   djj_jg_vlaue2	=	"no permission to check"
							   djj_jg_vlaue3 	=	"no permission to check"
					if reglx = 2 then 'vip
					   djj_jg_name2 	=  "【"&jiagename3&"】" 
					   djj_jg_vlaue2 	=	formatnumber(vipjia,2) & ""
						djj_jg_dz2		=	round(vipjia/shichangjia,2)*10
							   
					else
							if reglx = 3 then 'pifajia
							   djj_jg_name3 	=  "【"&jiagename4&"】" 
							   djj_jg_vlaue3	=	formatnumber(pifajia,2) & ""
								djj_jg_dz3		=	round(pifajia/shichangjia,2)*10
							else
							'hui
							   djj_jg_name1 	=  "【"&jiagename2&"】" 
							   djj_jg_vlaue1 	=	formatnumber(huiyuanjia,2) & ""
								djj_jg_dz1		=	round(huiyuanjia/shichangjia,2)*10
							end if
					end if
			else
			'<> 1
			'---bu shi  ben zu
					if djj_jggz = 2 then
					'--- ben zu  + yi xia 
					   djj_jg_name1 	=  "【"&jiagename2&"】" 
					   djj_jg_vlaue1 	=	formatnumber(huiyuanjia,2) & ""
					   	djj_jg_dz1		=	round(huiyuanjia/shichangjia,2)*10

					   if reglx > 2 then
							   djj_jg_name3 	=  "【"&jiagename4&"】" 
							   djj_jg_vlaue3 	=	formatnumber(pifajia,2) & ""
								djj_jg_dz3		=	round(pifajia/shichangjia,2)*10
								else
						djj_jg_vlaue3	=	"no permission to check"

						end if
						if reglx > 1 then
							   djj_jg_name2 	=  "【"&jiagename3&"】" 
							   djj_jg_vlaue2 	=	formatnumber(vipjia,2) & ""
								djj_jg_dz2		=	round(vipjia/shichangjia,2)*10
								else
								 djj_jg_vlaue2 	=	"no permission to check"

						
					   end if
					end if
			end if
	end if
end if
'------------------------------------
%>
<script src="<%=weburl%>pic.js" type="text/javascript"></script>
<script LANGUAGE="javascript">
<!--
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
function check()
{
  if(checkspace(document.pinglunform.pingluntitle.value)) {
	document.pinglunform.pingluntitle.focus();
    alert("Please fill in the title!");
	return false;
  }
  if(checkspace(document.pinglunform.pinglunname.value)) {
	document.pinglunform.pinglunname.focus();
    alert("Please fill in your name!");
	return false;
  }
  if(checkspace(document.pinglunform.pingluncontent.value)) {
	document.pinglunform.pingluncontent.focus();
    alert("Please fill in the message body!");
	return false;
  }
	  }
//-->
</script>
<style type="text/css">
<!--
.style1 {color: #FF0000}
.style4 {
	font-size: 18px;
	font-weight: bold;
}
.style5 {color: #006600}
.STYLE7 {
	color: #990000;
	font-weight: bold;
}
-->
</style>
<!--#include file="webtop.asp"-->
<table width="1000" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="6" colspan="2"></td>
  </tr>
  <tr>
    <td width="20">&nbsp;</td>
    <td valign="bottom"><img src="<%=weburl%>images/arrow01.gif" width="11" height="11" /> Your present position: <a href="<%=weburl%>"><%=webname%></a> -> <a href=class.asp?lx=big&anid=<%=anclassid%> targer=_blank><%=anclass%></a> ->	  <a href=class.asp?lx=small&anid=<%=anclassid%>&nid=<%=nclassid%> targer=_blank><%=nclass%></a></span></span> -> <%=xhtml%>    </td>
  </tr>
  <tr>
    <td height="6" colspan="2"></td>
  </tr>
</table>
<table width="1000"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="205" valign="top">
	<!--#include file="index_login.asp"--><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="5"><img src="images/ge.gif" width="1" height="5"></td>
  </tr>
</table>
	<!--#include file="rexiao.asp"--><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="5"><img src="images/ge.gif" width="1" height="5"></td>
  </tr>
</table>
    <%if session("username")<>"" then%>
	<table width="200" border="0" align="center" cellpadding="1" cellspacing="1" background="<%=weburl%>images/skin<%=cssid%>/z02.jpg">
      <tr>
        <td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td height="30" background="<%=weburl%>images/skin<%=cssid%>/z01.jpg"><div align="center"><span style="font-weight: bold; color: #000000">Your Recent History</span></div></td>
            </tr>
            <tr>
              <td valign="middle"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                <%set rsl=server.createobject("adodb.recordset")
		    rsl.open "select * from shop_his where username='"&session("username")&"' and lx=1 order by ltime desc",conn,1,1
			while not rsl.eof%>
                <tr>
                  <td height="22"><img src="<%=weburl%>images/arrow03.gif" width="4" height="6" /> <a href='list.asp?id=<%=rsl("shopid")%>' target=_blank>
                    <%if len(trim(rsl("shopname")))>14 then
	response.write left(trim(rsl("shopname")),14)&".."
	else
	response.write trim(rsl("shopname"))
	end if%>
                  </a></td>
                </tr>
                <tr>
                  <td><img src="<%=weburl%>images/xuxian.gif" width="163" height="1" /></td>
                </tr>
                <%rsl.movenext
		    wend
		    rsl.close
		  %>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="5"><img src="images/ge.gif" width="1" height="5"></td>
  </tr>
</table>
<table width="200" border="0" align="center" cellpadding="1" cellspacing="1" background="<%=weburl%>images/skin<%=cssid%>/z02.jpg">
      <tr>
        <td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td height="30" background="<%=weburl%>images/skin<%=cssid%>/z01.jpg"><div align="center"><span style="font-weight: bold; color: #000000">Search History</span></div></td>
            </tr>
            <tr>
              <td valign="middle"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                <%set rss=server.createobject("adodb.recordset")
		    rss.open "select * from shop_his where username='"&nosql(session("username"))&"' and lx=2 order by ltime desc",conn,1,1
			while not rss.eof%>
                <tr>
                  <td height="22"><img src="<%=weburl%>images/arrow03.gif" width="4" height="6" />
                      <%if len(trim(rss("shopname")))>14 then
	response.write left(trim(rss("shopname")),14)&".."
	else
	response.write trim(rss("shopname"))
	end if%>
                    </a></td>
                </tr>
                <tr>
                  <td><img src="<%=weburl%>images/xuxian.gif" width="163" height="1" /></td>
                </tr>
                <%rss.movenext
		    wend
		    rss.close
			set rss=nothing%>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table>
	  
        <%end if%>
    </td><td valign="top"><%
		'call history
if session("username")<>"" then 
set rs_s=server.CreateObject("adodb.recordset")
rs_s.open "select * from [shop_user] where username='"&checkFFSQLStr(session("username"))&"'",conn,1,1
t_userid=rs_s("userid")
rs_s.close
		    set rs_s=server.createobject("adodb.recordset")
		    rs_s.open "select * from shop_his where shopid="&request("id")&" and username='"&checkFFSQLStr(session("username"))&"' and lx=1",conn,1,3
		    if rs_s.recordcount>0 then 
			rs_s("ltime")=now()
			rs_s("userid")=t_userid
			rs_s.update
			rs_s.close
			set rs_s=nothing
		    else
		    	rs_s.close
		    	set rs_s=server.createobject("adodb.recordset")
		    	rs_s.open "select * from shop_his where username='"&checkFFSQLStr(session("username"))&"' and lx=1 order by ltime",conn,1,3
		    	if rs_s.recordcount>=4 then
		    	    rs_s.delete
		    	    rs_s.update
		    	end if
		    	rs_s.addnew
		    	    rs_s("username")=session("username")
		    	    rs_s("shopid")=request("id")
		    	    rs_s("shopname")=shopname
			        rs_s("userid")=t_userid
		    	    rs_s("lx")=1
		    	    rs_s("ltime")=now()
		        rs_s.update
			rs_s.close
			set rs_s=nothing
		    end if
end if
		%>
      <table width="100%" height="30" border="0" align="center" cellpadding="0" cellspacing="0" background="<%=weburl%>images/skin<%=cssid%>/newsbj.gif">
        <tr>
          <td width="61%" align="center">
            <MARQUEE onmouseover=this.stop(); onmouseout=this.start(); scrollAmount=3 scrollDelay=80 width=100%>
            <%
				set rss=server.createobject("adodb.recordset")
		rss.open "select Top 9 * From shop_yh  order by id desc",conn,1,1
		if rss.recordcount>0 then 
		%>
      <a href=list.asp?id=<%=rss("shopid")%> title=<%=year(rss("adddate"))%>年<%=month(rss("adddate"))%>月<%=day(rss("adddate"))%>日建立><span class="style1"><%=rss("username")%></span>加入 <%=trim(rss("shopname"))%> 的商友会: <%=rss("py")%> </a>
      <%
		end if
		rss.close
		set rss=nothing
		%>
            </MARQUEE>
          </td>
          <td width="39%" align="center">Page Views:<span class="style1"><%=hot%></span> | Volume of sales:<span class="style1"><%=xiao%></span><a href="rss_list.asp?a=<%=shopid%>"> <img src=img/xml.gif border=0 alt="RSS2.0支持"></a></td>
        </tr>
      </table><br>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>
            <table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="45%"><table width="100%" border="0" cellspacing="0" cellpadding="2">
                  <tr valign="top">
                    <td width="99%" align="center"><script LANGUAGE="javascript">
var cpAD=new Array(); 
var cpADlink=new Array(); 
var cpADmsg=new Array(); 
var adNum=5; 
var coll=0;

cpAD[0]="<%=weburl%><%=zhuang%>"; 
cpADlink[0]="<%=weburl%><%=zhuang%>"; 
cpADmsg[0]="1"; 

cpAD[1]="<%=weburl%><%=p1%>"; 
cpADlink[1]="<%=weburl%><%=p1%>"; 
cpADmsg[1]="2"; 


cpAD[2]="<%=weburl%><%=p2%>"; 
cpADlink[2]="<%=weburl%><%=p2%>"; 
cpADmsg[2]="3"; 

cpAD[3]="<%=weburl%><%=p3%>"; 
cpADlink[3]="<%=weburl%><%=p3%>"; 
cpADmsg[3]="4"; 

cpAD[4]="<%=weburl%><%=p4%>"; 
cpADlink[4]="<%=weburl%><%=p4%>"; 
cpADmsg[4]="5"; 

var preloadedimages=new Array(); 
for (i=1;i<cpAD.length;i++){ 
preloadedimages[i]=new Image(); 
preloadedimages[i].src=cpAD[i]; 
} 

function jump2url()
{ 
jumpUrl=cpADlink[adNum]; 
jumpTarget='_blank'; 
if (jumpUrl != '')
{ 
	if (jumpTarget != '')
		window.open(jumpUrl,jumpTarget); 
	else location.href=jumpUrl; 
	} 
}
function changeimg(n)
{
	adNum=n;
	switch(adNum)
	{
	case 0:
	{
		window.img1.src="img/list/1-2.gif";
		window.img2.src="img/list/2.gif";
		window.img3.src="img/list/3.gif";
		window.img4.src="img/list/4.gif";
		window.img5.src="img/list/5.gif";
		break;
	}
	case 1:
	{
		window.img1.src="img/list/1.gif";
		window.img2.src="img/list/2-2.gif";
		window.img3.src="img/list/3.gif";
		window.img4.src="img/list/4.gif";
		window.img5.src="img/list/5.gif";
		break;
	}
	case 2:
	{
		window.img1.src="img/list/1.gif";
		window.img2.src="img/list/2.gif";
		window.img3.src="img/list/3-2.gif";
		window.img4.src="img/list/4.gif";
		window.img5.src="img/list/5.gif";
		break;
	}
		case 3:
	{
		window.img1.src="img/list/1.gif";
		window.img2.src="img/list/2.gif";
		window.img3.src="img/list/3.gif";
		window.img4.src="img/list/4-2.gif";
		window.img5.src="img/list/5.gif";
		break;
	}
		case 4:
	{
		window.img1.src="img/list/1.gif";
		window.img2.src="img/list/2.gif";
		window.img3.src="img/list/3.gif";
		window.img4.src="img/list/4.gif";
		window.img5.src="img/list/5-2.gif";
		break;
	}
	}
	window.clearInterval(theTimer);
	adNum=adNum-1;
	nextAd();
}
function nextAd(){ 
coll++;
if(coll>1)
{
switch(adNum+1)
{
	case 5:
	{
		window.img1.src="img/list/1-2.gif";
		window.img2.src="img/list/2.gif";
		window.img3.src="img/list/3.gif";
		window.img4.src="img/list/4.gif";
		window.img5.src="img/list/5.gif";
		break;
	}
	case 1:
	{
		window.img1.src="img/list/1.gif";
		window.img2.src="img/list/2-2.gif";
		window.img3.src="img/list/3.gif";
		window.img4.src="img/list/4.gif";
		window.img5.src="img/list/5.gif";
		break;
	}
	case 2:
	{
		window.img1.src="img/list/1.gif";
		window.img2.src="img/list/2.gif";
		window.img3.src="img/list/3-2.gif";
		window.img4.src="img/list/4.gif";
		window.img5.src="img/list/5.gif";
		break;
	}
	case 3:
	{
		window.img1.src="img/list/1.gif";
		window.img2.src="img/list/2.gif";
		window.img3.src="img/list/3.gif";
		window.img4.src="img/list/4-2.gif";
		window.img5.src="img/list/5.gif";
		break;
	}
    case 4:
	{
		window.img1.src="img/list/1.gif";
		window.img2.src="img/list/2.gif";
		window.img3.src="img/list/3.gif";
		window.img4.src="img/list/4.gif";
		window.img5.src="img/list/5-2.gif";
		break;
	}
}
}
if(adNum<cpAD.length-1)adNum++ ; 
else adNum=0; 
setTransition(); 
document.images.cpADrush.src=cpAD[adNum]; 
playTransition(); 
displayStatusMsg();
theTimer=setTimeout("nextAd()", 7000); 
} 

function setTransition(){ 
if (document.all){ 
cpADrush.filters.revealTrans.Transition=23; 
cpADrush.filters.revealTrans.apply(); 
} 

} 
function playTransition(){ 
if (document.all) 
cpADrush.filters.revealTrans.play() 
} 
function displayStatusMsg() { 
//status=cpADmsg[adNum]; 
document.returnValue = true; 
} 
//结束
                </script>
                        <%if zhuang="" then%>
                        <table width="120" height="120" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td background="img/musicbj.gif"><div align="center"><img src=img/emptyshop.gif border=0></div></td>
                          </tr>
                        </table>
                      <%else%>
                        <table width="300" border="0" cellspacing="0" cellpadding="0" height="200">
                          <tr>
                            <td background="img/musicbj.gif"><div align="center"></div>
                                <div align="center"><a href="javascript:jump2url()"> <img src name="cpADrush" width="300" height="300" border="0" style="filter: revealTrans(duration=2, transition=23)"></a></div></td>
                            <script language="JavaScript">nextAd()</script>
                          </tr>
                          <tr>
                            <td height="22" align="center" background="img/musicbj.gif"><table width="100" border="0" cellpadding="0" cellspacing="0" id="T1"  name="T1">
                                <tr>
                                  <td width="20" height="16" valign="bottom"><a href="javascript:;" onMouseOver="changeimg(0)"><img name="Image2"  id="img1" border="0" src="img/list/1.gif" width="20" height="16" onClick="changeimg(0)"></a></td>
                                  <td width="20" valign="bottom"><a href="javascript:;" onMouseOver="changeimg(1)"><img name="Image3" id="img2" border="0" src="img/list/2.gif" width="20" height="16" onClick="changeimg(1)"></a></td>
                                  <td width="20" valign="bottom"><a href="javascript:;" onMouseOver="changeimg(2)"><img name="Image4" id="img3" border="0" src="img/list/3.gif" width="20" height="16" onClick="changeimg(2)"></a></td>
                                  <td width="20" valign="bottom"><a href="javascript:;" onMouseOver="changeimg(3)"><img name="Image5" id="img4" border="0" src="img/list/4.gif" width="20" height="16" onClick="changeimg(3)"></a></td>
                                  <td width="20" valign="bottom"><a href="javascript:;" onMouseOver="changeimg(4)"><img name="Image6" id="img5" border="0" src="img/list/5.gif" width="20" height="16" onClick="changeimg(4)"></a></td>
                                </tr>
                            </table></td>
                          </tr>
                        </table>
                        <p>
                          <%end if%>                    
                      </p>
                      <p>&nbsp;</p></td>
                  </tr>
                </table>
                  <DIV align="left"><span class="STYLE7">TIPS:</span>The number of shoppers reached   100 or the amount accumulated to 10000 can enjoy more preferential price!</DIV>
                  <br>
                    <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
                      
                      <tr>
                        <td height="70"><div align="center"><a href="gouwu.asp?id=<%=shopid%>&action=add"><img src="images/goumai.gif" width="166" height="40" border="0"></a></div></td>
                      </tr>
                  </table>
                    <div align="center"><br>
  </div></td><td width="55%" valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0">
                    <tr>
                      <td height="30"><span class="style4"> <font color="#ff6600"> <%=shopname%> </font></span></td>
                    </tr>
                    <tr>
                      <td height="22"><table width="60%" border="0" align="left" cellpadding="0" cellspacing="0">
                        <tr>
                          <td height="11"><strong>【<%=jiagename1%>】:</strong><%=hb%> <%=formatnumber(shichangjia,2)%></td>
                        </tr>
                        

                      </table></td>
                    </tr>
                    <tr>
                      <td height="22">【State】<%if kucun>0 then%> in stock
                  <%else%>
                  <font color="#FF0000">out of stock</font>
                  <%end if%>                      </td>
                    </tr>
					 <tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
					<tr>
                      <td height="22">【Brands】<%=pinpai%></td>
                    </tr>
					 <tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <tr>
                      <td height="22">【<%=isbn1%>】<%=isbn%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <tr>
                      <td height="11">【<%=jj%>】<%=shopchuban%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <tr>
                      <td height="5">【<%=cj%>】<%=cjname%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <tr>
                      <td height="6">【<%=gj%>】
                          <%
	   sorts2=gjz
	  sorts2=trim(sorts2)
	if sorts2<>"" then 
	   bsort2=split(sorts2,",")
	  for i=0 to ubound(bsort2)
	   bsortb2=bsort2(i)
	   bsortb2=trim(bsortb2)
	  response.write "<a href=research.asp?action=2&searchkey="&bsortb2&"><u>"&bsortb2&"</u></a>&nbsp;"
	    next
		  end if%>                      </td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <tr>
                      <td height="22">【Categories】<a href=class.asp?lx=big&anid=<%=anclassid%> targer=_blank><%=anclass%></a> -> <a href=class.asp?lx=small&anid=<%=anclassid%>&nid=<%=nclassid%> targer=_blank><%=nclass%></a>  -> <%=xhtml%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <tr>
                      <td height="11">【Scores】<%=yeshu%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <%if x1<>"" then%>
                    <%end if%>
                    <%if x2<>"" then%>
                    <tr>
                      <td height="6">【<%=x2%>】<%=y2%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <%end if%>
                    <%if x3<>"" then%>
                    <tr>
                      <td height="11">【<%=x3%>】<%=y3%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <%end if%>
                    <%if x4<>"" then%>
                    <tr>
                      <td height="11">【<%=x4%>】<%=y4%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <%end if%>
                    <%if x5<>"" then%>
                    <tr>
                      <td height="11">【<%=x5%>】<%=y5%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
                    <%end if%>
                    <%if x6<>"" then%>
                    <tr>
                      <td height="11">【<%=x6%>】<%=y6%></td>
                    </tr>
					<tr>
                     <td><img src="<%=weburl%>images/xuxian04.gif" width="300" height="1" /></td>
                    </tr>
					<%end if%>
					
                    
                    
                    <tr>
                      <td height="11"><a href="shoucang.asp?id=<%=shopid%>&action=add"><img src="img/sc.gif" width="84" height="26" border="0"></a> <a href="to.asp?id=<%=shopid%>&action=add"><img src="img/db.gif" width="84" height="26" border="0"></a> <a href="#" onClick="javascript:window.open('shangpintj.asp?id=<%=request("id")%>','pingluntj','width=325,height=200,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=no')"><img src="img/tj.gif" width="130" height="26" border="0"></a> <br>
                      <a href="?action=Previous&id=<%=shopid%>"><strong><font color="#FF0000"><img src="img/sf.gif" width="84" height="26" border="0"></font></strong></a>&nbsp;<strong><a href="?action=next&id=<%=shopid%>"><font color="#FF0000"><img src="img/xf.gif" width="84" height="26" border="0"></font></a></strong></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <br>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
                    <tr>
                      <td><img src="<%=weburl%>images/skin<%=cssid%>/spxq.jpg" width="780" height="40"></td>
                    </tr>
                  </table>
                    <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td width="680">

                        <%=shopcontent%></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                  </table></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="15"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
            <tr>
              <td><img src="<%=weburl%>images/skin<%=cssid%>/sppl.jpg" width="780" height="33"></td>
            </tr>
            <tr>
              <td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
            <form action=pinglun.asp method=post name="pinglunform" id="pinglunform">
              <tr >
                <td width="33%" height="30" >&nbsp;Title：
                  <input name="pingluntitle"  class="wenbenkuang"type="text" id="pingluntitle2" size="25"></td>
                <td width="32%" >&nbsp;Your Name：
                  <input name="pinglunname" class="wenbenkuang"type="text" id="pinglunname" size="20"></td>
                <td width="35%" >&nbsp;Choose Rank：
                  <select name="pingji" id="select2">
                      <option value="5">★★★★★</option>
                      <option value="4">★★★★☆</option>
                      <option value="3">★★★☆☆</option>
                      <option value="2">★★☆☆☆</option>
                      <option value="1">★☆☆☆☆</option>
                    </select>
                    <input name="id" type="hidden" value=<%=request("id")%>>
                    <input name="shopname" type="hidden" value=<%=shopname%>>     </td>
              </tr>
              
              
              <tr >
                <td height="12" colspan="3" align="left" valign="top" >&nbsp;<textarea name="pingluncontent"border-right: #ffffff 1px groove; border-top: border-left: color: #333333; border-bottom: height: 18px;  cols="90" rows="5" id="textarea2" class="wenbenkuang"></textarea></td>
                </tr>
              
              <tr>
                <td height="30" colspan="3"><div align="left"><font 
                  color=#000000><b><strong>&nbsp;<font color="<%=flzhzt%>"></font></strong></b></font>
                    <input name="Submit" type="submit" class="go-wenbenkuang" value="Submit" onClick="return check();">
                  &nbsp;
                    <input name="Submit22" type="reset" class="go-wenbenkuang" value="Reset">                
                </div></td>
              </tr>
            </form>
          </table></td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="15">            </td>
        </tr><%		set rs=server.createobject("adodb.recordset")
		if shenhe=1 then
		rs.open "select  * from shop_pinglun where shopid="&shopid&" and shenhe=1 order by pinglundate desc",conn,1,1
		else
		rs.open "select  * from shop_pinglun where shopid="&shopid&" order by pinglundate desc",conn,1,1
        end if
		j=rs.recordcount
		plcount=rs.recordcount
		if j>0 then
		%>
        
        <%
		if j>6 then j=6
		for i=1 to j
%>
        <tr>
          <td>
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
              <tr>
                <td colspan="3"><img src="<%=weburl%>images/xuxian05.gif" width="760" height="1" /></td>
              </tr>
              <tr bgcolor="#FFFFFF">
                <td height="22" align="right"><div align="center"><img src="<%=weburl%>images/arrow03.gif" width="4" height="6" /> </div></td>
                <td width="309" height="22" bgcolor="#FFFFFF"><b>Title：</b><%=trim(rs("pingluntitle"))%><strong>Rank：</strong><img src="img/pingji/<%=rs("pingji")%>.gif"> </td>
                <td bgcolor="#FFFFFF"><div align="right"><b>Writer：</b><%=trim(rs("pinglunname"))%>　(<%=trim(rs("pinglundate"))%>)<strong> IP：</strong><%=trim(rs("ip"))%></div></td>
              </tr>
              
              <tr bgcolor="#FFFFFF">
                <td width="12">&nbsp;</td>
                <td colspan="2"><b>Content：</b><%=rs("pingluncontent")%> </td>
              </tr>
              <%if trim(rs("huifu"))<>"" then%>
              <tr bgcolor="#FFFFFF">
                <td height="22" align="right"><div align="center"><img src="<%=weburl%>images/arrow03.gif" width="4" height="6" /> </div></td>
                <td colspan="2" bgcolor="#FFFFFF"><b><font color="#FF6600">Reply：</font></b><font color="#FF0000"><%=rs("huifu")%></font></td>
              </tr>
              <%end if%>
          </table></td>
        </tr>
        <%	
		rs.movenext
		next
		if plcount>0 then 
  %>
        <tr>
          <td align=right height="22"><a href=list_pinglun.asp?id=<%=request("id")%>>&gt;&gt;More Comments:<span class="style1"><%=plcount%></span></a></td>
        </tr>
        <%end if%><%end if%>
      </table></td>
    <td width="12">&nbsp;</td>
  </tr>
</table>
<map name="Map">
  <area shape="rect" coords="46,14,132,36" href="class.asp?lx=new">
</map>
<map name="Map2">
  <area shape="rect" coords="46,16,159,38" href="class.asp?lx=tejia">
</map>
<map name="Map3">
  <area shape="rect" coords="48,17,156,36" href="class.asp?lx=cx">
</map>
<map name="Map4">
  <area shape="rect" coords="45,18,108,34" href="class_zhk.asp">
</map>

<map name="Map5">
  <area shape="rect" coords="137,19,172,31" href="gg_show.asp">
</map>
</body>
</html>             
<!--#include file="copyright.asp"-->