?? say.asp
字號(hào):
<%@ language="vbscript" %>
<%
idname=trim(request("id"))
if idname="" then
response.write "操作錯(cuò)誤"
response.end
else
id=Cint(idname)
end if
set conn=server.createobject("ADODB.connection")
conn.open "DBQ=" & server.MapPath("datebase.mdb") & ";DRIVER={Microsoft Access Driver (*.mdb)}"
set rs=conn.execute("select * from goodslist where id=" & id)
set ur=conn.execute("select * from onsell where 商品id='" & idname & "' order by 叫價(jià) desc")
%>
<div align="center"><center>
<table border="1" cellpadding="0" cellspacing="0" width="80%" style="font-size: 9pt"
height="85">
<tr>
<td width="25%" height="19">拍賣(mài)商品名稱(chēng)</td>
<td width="25%" height="19"><%=rs("商品名稱(chēng)")%></td>
<td width="25%" height="19">代號(hào)</td>
<td width="25%" height="19"><%=rs("商品代號(hào)")%></td>
</tr>
<tr>
<td width="25%" height="19">底價(jià)</td>
<td width="25%" height="19"><%=rs("底價(jià)")%></td>
<td width="25%" height="19">目前最高叫價(jià)</td>
<td width="25%" height="19"><%
if ur.eof then
%>目前沒(méi)有任何叫價(jià)<%
else
%><%=ur("叫價(jià)")%><%
end if%>
</td>
</tr>
<tr>
<td width="25%" height="19">叫價(jià)單位</td>
<td width="25%" height="19"><%=rs("叫價(jià)單位")%></td>
<td width="25%" height="19">開(kāi)始日期</td>
<td width="25%" height="19"><%=rs("開(kāi)始日期")%></td>
</tr>
<tr>
<td width="25%" height="20">最后成交日期</td>
<td width="25%" height="20"><%=rs("成交日期")%></td>
<td width="25%" height="20">圖片</td>
<td width="25%" height="20"></td>
</tr>
</table>
</center></div>
<hr>
<%=rs("介紹")%>
<hr><%
if ur.eof then%>
目前沒(méi)有任何叫價(jià)
<%else%>
<div align="center"><center>
<table border="1" cellpadding="0" cellspacing="0" width="80%" style="font-size: 9pt">
<tr>
<td width="17%" align="center">叫價(jià)用戶(hù)</td>
<td width="13%" align="center">目前叫價(jià)</td>
<td width="18%" align="center">狀態(tài)</td>
<td width="52%" align="center">留言</td>
</tr>
<%
mc=1
do until ur.eof
%>
<tr>
<td width="17%" align="center"><%=ur("叫價(jià)用戶(hù)")%></td>
<td width="13%" align="center"><%=ur("叫價(jià)")%></td>
<td width="18%" align="center"><%
if mc=1 then%>
領(lǐng)先<%
else%>
出局<%
end if%></td>
<td width="52%" align="center"><%=ur("留言")%></td>
</tr>
<%
mc=mc+1
ur.movenext
loop
%>
</table>
</center></div>
<%end if%>
<a href="jj.asp?id=<%=idname%>">我要叫價(jià)</a>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -