⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 preaucbid.asp

📁 实用的拍卖源码。适合个人建站学习使用。仅供学习参考
💻 ASP
字号:
<!-- #include file="inc/char.asp" -->
<%
call chk(rst("bidtype"),"char")
%>
<!-- #include file="conn.asp" -->
<!-- #include file="chksession.asp" -->
<!-- #include file="head.asp" -->
<%
response.buffer=true
'on error resume next

sqlget = "select * from users where regname<>'' and regaddress1<>'' and regaddress2<>'' and regusername='" &session("user")&"'"
set rsget =conn.execute(sqlget)
'--------判断是否注册了详细资料或者是否注册了详细资料---------
if rsget.eof then
response.write "<script language=javascript>alert('你还没有填写详细信息或者你注册的资料还没有通过审核!');this.location.href='vqqqinfo_change.asp';</script>"
response.end
'--------判断帐号是否被锁定---------
elseif rsget("regadmin")="Y" then
response.write "<script language=javascript>alert('你的帐号已经被管理员锁定,请联系管理员!');this.location.href='index.asp';</script>"
response.end
'---------------------------------------------------------
elseif rsget("credit")<cint(rst("limit")) then
response.write "<script language=javascript>alert('卖家要求信用等级限制,你的等级未能满足要求!');this.location.href='index.asp';</script>"
response.end
else
sUser   = session("user") 
auc_title=rst("auc_title")
auc_place=rst("auc_place")
zhifu=rst("zhifu")
getnum=rst("getnum")
yunfei=rst("yunfei")
aucItemOwner=rst("aucItemOwner") 
    bid_price  = FVal(Request.Form("bid_price"))
    auc_id    = FVal(Request.Form("auc_id"))

end if

%>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=760>
  <tr>
    <td height="5"></td>
  </tr>
</table>
<% if rst("bidtype")="bid" then %>
<table width="760" border="0" cellspacing="1" cellpadding="0" id="bg01" class=tablebg align=center>
  <tr class=titletd>
	<td align="center" id="bg02" height="25" colspan="4"><b>请进行出价确认</b></td>
  </tr>
  <tr class=td> 
            <td height="20" width="100" align="right">商品名称:</td>
            <td height="20" width="300" align="left">&nbsp;<%=auc_title%></td>
            <td height="20" width="100" align="right">商品所在地:</td>
            <td height="20" align="left">&nbsp;<%=auc_place%></td>
          </tr>
          <tr class=td> 
            <td height="20" align="right" width="100">您的最高出价:</td>
            <td height="20" align="left" width="300">&nbsp;<%=bid_price%> 元</td>
            <td height="20" align="right" width="100">谁负担运费:</td>
            <td height="20"align="left">&nbsp;<%=yunfei%> </td>
          </tr>
          <tr class=td> 
            <td height="20" align="right" width="100">购买数量:</td>
            <td height="20" align="left" width="300">&nbsp;<%=getnum%> 件</td>
            <td height="20" align="right" width="100">支付方式:</td>
            <td height="20" align="left">&nbsp;<%=zhifu%></td>
  </tr>
</table>
<% elseif rst("bidtype")="ykjbid" then %>
<table width="760" border="0" cellspacing="1" cellpadding="0" id="bg01" class=tablebg align=center>
  <tr class=titletd>
	<td align="center" id="bg02" height="25" colspan="4"><b>请进行出价确认</b></td>
  </tr>
  <tr class=td> 
            <td height="20" width="100" align="right">商品名称:</td>
            <td height="20" width="300" align="left">&nbsp;<%=auc_title%></td>
            <td height="20" width="100" align="right">商品所在地:</td>
            <td height="20" align="left">&nbsp;<%=auc_place%></td>
          </tr>
          <tr class=td> 
            <td height="20" align="right" width="100">您的一口价:</td>
            <td height="20" align="left" width="300">&nbsp;<%=bid_price%> 元</td>
            <td height="20" align="right" width="100">谁负担运费:</td>
            <td height="20"align="left">&nbsp;<%=yunfei%> </td>
          </tr>
          <tr class=td> 
            <td height="20" align="right" width="100">购买数量:</td>
            <td height="20" align="left" width="300">&nbsp;<%=getnum%> 件</td>
            <td height="20" align="right" width="100">支付方式:</td>
            <td height="20" align="left">&nbsp;<%=zhifu%></td>
  </tr>
</table>
<%
else
    errors("你选择要求的出价方式!")
%>
<% end if %>

<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
<form  method=post action=saveaucbid.asp> 
  <tr align="center"> 
    <td>
<% bidtype=rst("bidtype") %>

	<input type="hidden" name="bidtype" value='<%=bidtype%>'>	
	<input type=hidden name=limit value="<%=rst("limit")%>">
	<input type="hidden" name="auc_title" value='<%=auc_title%>'>
	<input type="hidden" name="auc_place" value='<%=auc_place%>'>
	<input type="hidden" name="bid_price" value='<%=bid_price%>'>
	<input type="hidden" name="getnum" value='<%=getnum%>'>
	<input type="hidden" name="zhifu" value='<%=zhifu%>'>
	<input type="hidden" name="yunfei" value='<%=yunfei%>'>
	<input type="hidden" name="auc_id" value='<%=auc_id%>'>
	<input type="hidden" name="bidItemID" value='<%=bidItemID%>'>
	<input type="hidden" name="bidItemsonID"value='<%=bidItemsonID%>'>
	<input type="hidden" name="BidderID" value='<%=BidderID%>'>
	<input type=hidden name="aucItemOwner" value="<%=aucItemOwner%>">
        <input name="bt13" type=submit id="b1" STYLE="color: white;border-color: #CECBCE; background-color: #EF7608;" o1nClick="calc()" value="  好了我已经确认了  " >
        <input name="bt132" type=button id="b1" style="color: white;border-color: #CECBCE; background-color: #EF7608;" o1nclick="calc()" value="  取消并返回商品搜索面  " onclick="javascript:history.back();">
      </td>
    <td></td>
  </tr>
</form>
</table>
<!-- #include file="bottom.asp" -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -