📄 views.asp
字号:
<!--#include file="top.asp"-->
<TABLE width=778 border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD colSpan=4 height=3></TD>
</TR>
<TR>
<td width="180" valign="top">
<!--#include file="log.asp"-->
<!--#include file="insearch.asp"-->
<!--#include file="insort.asp"-->
</td>
<TD width=13 height=150></TD>
<TD width=575 height=150 valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" style="margin-bottom: 6">
<tr bgcolor="#FFFFFF">
<td height="100" colspan="2" align="center">
<div align="center"></div>
<table width="95%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
<%
hw_id = Request.QueryString("hw_id")
If Not(isNumeric(hw_id)) Then
Response.Write "<p align=center>The wrong URL.</p>"
Response.End
End If
sql="select * from hw where hw_id="&int(request("hw_id"))
rs.open sql,conn,3,3
if rs.eof then
%>
<tr>
<td width="380" height="18">the product is not found.</td>
</tr>
<%else
do while not rs.eof
%>
<tr>
<td width="100%" valign="top">
<table border="0" width="100%" cellspacing="0">
<tr>
<td width="100%" bgcolor="#FFFFFF" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" style="border-right:#DBC2B0 1px solid">
<div align="center"><a href="<%=rs("hw_pic")%>" target="_blank">
<img border="0" src="<%=rs("hw_pic")%>" width="100" height="100"></a></div>
</td>
<td width="362" align="center"><a href="views.asp?hw_id=<%=rs("hw_id")%>"><font color="#D06800"><b class="dz1"></b></font></a>
<div align="center">
<center>
<table width="90%" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#808080" bgcolor="#F5EFE7">
<tr align="center">
<td height="25" colspan="2">Product Name:<%=rs("hw_name")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="50%" height="25">
<div align="right">Market Price:</div>
</td>
<td width="50%" height="25">
<div align="center"><s><%=rs("pifa")%></s>RMB</div>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">
<div align="right">Member Price:</div>
</td>
<td height="25">
<div align="center"><font color="#D03430"><%=rs("hw_cash")%></font>RMB</div>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25">
<div align="right"><font face="sans-serif">VIP</font> Price:</div>
</td>
<td height="25">
<div align="center"><font color="#D03430"><%=rs("daili")%></font>RMB</div>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">Company:</td>
<td height="25" align="center"><%=rs("chubsh")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">Packing:</td>
<td height="25" align="center"><%=rs("zhuang")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">Color:</td>
<td height="25" align="center"><%=rs("yeshu")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">Size:</td>
<td height="25" align="center"><%=rs("kaiben")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right">Points:</td>
<td height="25" align="center"><%=rs("isbn")%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="35" colspan="2">
<div align="center"><a href='javascript:openbag(<%=rs("hw_id")%>)'>Order now!<img border="0" src="img/order.gif" align="absmiddle"></a></div>
</td>
</tr>
</table>
</center>
</div>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" valign="bottom"><%=rs("hw_content")%></td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<% if rs("tuijian")=-1 then %>
<img src="img/ttt.gif" width="40" height="20">
<% else %>
<% end if %>
</td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"><img src="img/seperator.gif" width="359" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF" valign="top" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="f7f7f7" style="border-bottom:#cccccc 1px solid">
<b>Detail:</b></td>
</tr>
<tr>
<td style="line-height:20px"><%=rs("hw_content2")%></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td bgcolor="#F7F7F7" style="border-bottom:#cccccc 1px solid"> Comments:
<a href="javascript:openScript('addly.asp?id=<%=rs("hw_id")%>',450,300)"><font color="#FF0000">Submit Your Comment</font></a></td>
</tr>
<tr>
<td height="35">
<%
sql2="SELECT * FROM comment where fu<>'' and dataid="&request("hw_id")
Set rs2= Server.CreateObject("ADODB.Recordset")
rs2.open sql2,conn,1,1
if rs2.eof then
response.write "<p style=line-height: 150%; margin: 5 10>No Comment"
end if
do while not rs2.eof
%><div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%">
<tr>
<td width="100%" style="border-bottom: 1px dotted #C0C0C0; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1">
[<a href=mailto:<%=rs2("MailX")%>><%=rs2("MailX")%></a>:] <%=rs2("CommentX")%> [Re:] <%=rs2("fu")%></td>
</tr>
</table>
</center>
</div>
<%
rs2.movenext
loop
%>
</td></tr></table>
</td>
</tr>
<%rs.movenext
loop
end if
rs.close
%>
</table>
</td>
</tr>
<tr>
<td width="100%"></td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="f7f7f7" style="border-bottom:#cccccc 1px solid">Contact:</td>
</tr>
<tr>
<td style="line-height:20px">Add:<%=rs7("ymaddr")%><br>
Zipcode:<%=rs7("code")%><br>
Tel:<%=rs7("tel")%></td>
</tr>
</table></td>
</tr>
</table>
</TD>
<TD width=10 height=150></TD>
</TR>
<TR>
<TD colSpan=4 height=2></TD>
</TR>
</TBODY>
</TABLE>
<!--#include file="copy.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -