?? showok.asp
字號:
<!-- #include file="bkconn.asp"-->
<!-- #include file="include/convert.asp"-->
<html>
<head>
<title>專業化妝品銷售PiggyBeauty</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body text="#000000" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="758" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="2"><img src="images/1.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="1" bgcolor="#555555"><img src="images/1.gif" width="1" height="1"></td>
</tr>
</table>
<table width="758" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="1" bgcolor="#555555"><img src="images/1.gif" width="1" height="1"></td>
<td><table width="756" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><!--#include file="share/head.asp"--></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="170" valign="top" bgcolor="#F8F2F8"><!--#include file="share/left.asp"--></td>
<td width="1" bgcolor="#FFFFFF"><img src="images/1.gif" width="1" height="1"></td>
<td width="1" bgcolor="#BDA1BC"><img src="images/1.gif" width="1" height="1"></td>
<td width="1" bgcolor="#FFFFFF"><img src="images/1.gif" width="1" height="1"></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#A5BC69"><div align="center"><font color="#FFFFFF">商品詳細介紹</font></div></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td height="250" valign="top">
<%
sql="select * from product where id="&Request("id")
set rs=conn.execute (sql)
if not (rs.eof or err) then
dim w,h
w=rs("width")
h=rs("height")
%>
<table width="100%" border="0" bordercolordark=#ffffff bordercolorlight=#FFCF00 cellspacing="0" cellpadding="8" align="center">
<tr>
<td width="100" valign="top">
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="<%
if rs("bigImg")="nothing" then
response.write "#"
else
response.write "bigImg/"&rs("bigImg")
end if
%>"><img src="<%
if rs("bigImg")="nothing" then
response.write "images/noBigImg.gif"
else
response.write "bigImg/"&rs("bigImg")
end if
%>" width="<%=w%>" height="<%=h%>" border="0"></a></td>
</tr>
</table></td>
<td valign="top"> <b><%=rs("name")%></b>
<br><br>
<%if rs("tejia")=1 then%>
<font color="#CC0000"><strong>特價產品</strong></font><br>
特價:<%=rs("tejia1")%>
<%end if%>
<br>市場格價:<%=rs("memberPrice")%> 元 <br>
會員價:<%=rs("costPrice")%> 元 <br>
VIP價:<%=rs("vip")%> 元 <br>
規 格:<%=rs("spec")%><br>
產 地:<%=rs("outer")%><br>
<%dim pinpai,url
pinpai=rs("pinpai")
sql="select * from pinpai where id ="&pinpai
set rs=conn.execute (sql)
url=rs("url")
while not rs.eof
%>
品 牌:<a href="http://<%=url%>" target="_blank"><%=rs("name")%></a><%rs.movenext
wend%>
<br>
<%sql="select * from product where id="&Request("id")
set rs=conn.execute (sql)%>點擊量:<%=rs("hitNum")%><br>購買量:<%=rs("buyNum")%><br><font color="#8E101C">[</font><a href="shopCart.asp?productid=<%=rs("id")%>"><font color="#8E101C">購買</font></a><font color="#8E101C">]</font><br>
<br>
<font color="#489781"><strong>[詳細介紹]</strong></font><br>
<%=convert(rs("explain"))%> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1" valign="top"><img src="images/1.gif" width="1" height="1"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" bgcolor="#555555"><img src="images/1.gif" width="1" height="1"></td>
</tr>
<tr>
<td><div align="center"><font color="#3A8570">CopyRight2002-2004 PiggyBeauty.com(GuangZhou)</font>
<br>
<strong><font color="#3A8570">版權所有:廣州妝色網</font></strong></div></td>
</tr>
</table></td>
<td width="1" bgcolor="#555555"><img src="images/1.gif" width="1" height="1"></td>
</tr>
</table>
<table width="758" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1" bgcolor="#555555"><img src="images/1.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="2"><img src="images/1.gif" width="1" height="1"></td>
</tr>
</table><%
'修改點擊率+1
sql="update product set hitNum=hitNum+1 where id="&Request("id")
conn.execute (sql)
end if %>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -