www.gusucode.com > 凡人网络购物系统 2008源码程序 > IncAsp/venshop_topcom.asp

    <%if Request.Cookies("venshop")("com")<>"" then%><%comid=split(Request.Cookies("venshop")("com"),"/")%>
<DIV id=floatcom style="Z-INDEX:100; RIGHT: 0px; FILTER: alpha(opacity=60); WIDTH: 110px; POSITION: absolute; TOP: 300px" align=center>
	<table border="0" cellspacing="0" width="100%" cellpadding="0" style="border: 1px solid #D7D7D7">
		<tr><td align="center" height="30" class="cartshowa"><b>产品对比</b></td>
			<td align="center" class="cartshowa"><a href="#" onclick='hidecom()'>隐藏</a></td>
		</tr><tr><td align="center" colspan="2">
<table border="0" cellspacing="0" width="100%" cellpadding="3" bgcolor="#FFFFFF"><%
for i=0 to ubound(comid)
comp_id=trim(comid(i))
set rs=server.createobject("adodb.recordset")
rs.open "select hw_id,hw_name from venshop_hw where hw_id="&comp_id&"",conn,1,3%>  
<tr class="cartshow<%=(i mod 2)%>"><td><a href=views.asp?hw_id=<%=rs("hw_id")%>><%=left(rs("hw_name"),15)%></a></td>
<td width="5"><a style="font-size: 11pt; color: #FF0000; font-weight: bold" href="com.asp?hw_id=<%=rs("hw_id")%>&action=del">×</a></td></tr>
<%rs.close
set rs=nothing
next%></table></td></tr>
<tr class="cartshow<%=(i mod 2)%>"><td height="23" align="center" colspan="2">
<a href="com.asp">对比</a>
<a href="com.asp?action=delall" onClick="return confirm('确定清空对比框中所有产品吗?')">清空</a>
</td></tr></table></DIV>
<SCRIPT language=JavaScript src="inc/com.js"></SCRIPT>
<%end if%>