📄 answerjingjia.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<%
if request.Cookies("days6")("username")="" then
response.write "<script language=javascript>alert('您没用会员帐号登陆!!');history.go(-1);</script>"
cl
response.End
end if%>
<html>
<head>
<title><%=webname%>--联系交易</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
<%
dim id
id=request.QueryString("id")
if not isnumeric(id) then
response.write"<script>alert(""非法访问!"");location.href=""index.asp"";</script>"
response.end
end if%>
<script>
function IsDigit()
{
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
</head>
<body>
<form name="myform" method="post" action="savejingjiaorder.asp?id=<%=id%>">
<table width="100%" border="0" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF" class="css03">
<tr>
<td><div align="center"></div></td>
<td><font color="#C061D1">竞价结果处理</font></td>
</tr>
<%
dim rs1,rs2
set rs2=server.CreateObject("adodb.recordset")
rs2.open "select * from bookjia where id="&id&" ",conn,1,1
set rs1=server.CreateObject("adodb.recordset")
rs1.open "select bookid,vipjia,kucun,bookchuban,name,closedate,newsbook from shop_books where bookid="&rs2("bookid"),conn,1,1
%>
<tr>
<td width="34%"> <div align="right"><font color="#C061D1">竞价价格:</font></div></td>
<td width="66%"><font color="#C061D1"> <%=rs2("jiage")%> 元/<%=rs1("bookchuban")%></font></td>
</tr>
<tr>
<td><div align="right"><font color="#C061D1">竞价数量:</font></div></td>
<td><font color="#C061D1"> <%=rs2("shuliang")%> <%=rs1("bookchuban")%></font></td>
</tr>
<tr>
<td><div align="right"><font color="#C061D1">运 费:</font></div></td>
<td> <font color="#C061D1"> <%=rs1("vipjia")%> 元/<%=rs1("bookchuban")%>
<%
if rs1("name")<>request.cookies("days6")("userzhenshiname") then
response.write "<script language=javascript>alert('这不是你的商品!!!');history.go(-1);</script>"
cl
response.end
end if%>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#C061D1">运费支付:</font></div></td>
<td><font color="#C061D1"> [
<%
if rs1("newsbook")=1 then
response.write"买家支付"
elseif rs1("newsbook")=2 then
response.write"卖家支付"
elseif rs1("newsbook")=3 then
response.write"双方各半"
elseif rs1("newsbook")=4 then
response.write"双方协商"
end if%>
] </font></td>
</tr>
<tr>
<td><div align="right"><font color="#C061D1">竞价数量:</font></div></td>
<td><font color="#C061D1">
<input name="shuliang" type="text" id="shuliang" size="8" ONKEYPRESS="event.returnValue=IsDigit();" >
<%=rs1("bookchuban")%> </font></td>
</tr>
<tr>
<td><div align="right"><font color="#C061D1">可购数量:</font></div></td>
<td><font color="#C061D1"> <%=rs1("kucun")%><%=rs1("bookchuban")%></font></td>
</tr>
<tr>
<td><div align="center"> </div></td>
<td><input type="submit" name="Submit" value="发送交易信息"></td>
</tr>
</table>
</form>
</body>
</html>
<%
rs1.close
set rs1=nothing
rs2.close
set rs2=nothing
rs3.close
set rs3=nothing
%>
<%sub cl()%>
<body onLoad="setTimeout(window.close, 1000)">
<%end sub%>
<%closedb%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -