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

📄 aucinfo.asp

📁 实用的拍卖源码。适合个人建站学习使用。仅供学习参考
💻 ASP
📖 第 1 页 / 共 3 页
字号:


<div align="center">
  <center>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="760" style="border-collapse: collapse" bordercolor="#111111">
  <TBODY>
  <TR id=bg01 ?>
    <TD colSpan=2 height=20 id=B2><NOBR><B><FONT id=f4>出价:<A 
      name=chujia></A></FONT></B></NOBR></TD></TR>
  <TR>
    <TD colSpan=2 height=5></TD></TR>
  <TR>
    <TD id=b1 vAlign=top>
<% if rs("aucended")="Y" or rs("aucnum")=0 then %>
<br><center><font color=#ff0000>竞价已经结束,不再接受出价!</font></center><br>
<% elseif rs("aucMinimumIncrement")<>"" then %>
	              <table width="98%" border="0" cellspacing="0" cellpadding="0">
 <form action=preaucbid.asp method=post name=bidf1 onsubmit="return ckck1()">
		        <tr> 
		          <td colspan="4" height="3" id="bg01""><img src="img/trans1p.gif" width="1" height="1"></td>
		          	<input type=hidden name=bidtype value="bid">
		          	<input type=hidden name=limit value="<%=rs("limit")%>">
		          	<input type=hidden name=auc_id value="<%=rs("aucid")%>">
				<input type=hidden name=aucItemOwner value="<%=rs("aucItemOwner")%>">
		          	<input type=hidden name=auc_title value='<%=rs("aucItemTitle")%>'>
				<input type=hidden name=auc_place value='<%=rs("regState")%><%=rs("regCity")%>'>
				<input type=hidden name=zhifu value='<%=rs("zhifu")%>'>
				<input type=hidden name=yunfei value='<%=rs("yunfei")%>'>
		          <tr> 
		            <td id="bg01"" rowspan="5" width="3"></td>
		            <td colspan="2" id="B1" height="20"><nobr> <b id="B2">填入您愿意接受的最高价格</b> 
		              <span id="O2">(现价:<%=rs("aucCurrentBid")%>元/件)</span></td>
		            <td id="bg01"" rowspan="5" width="4"></td>
		          </tr>
		          <tr> 
		            <td colspan="2" height="1" id="bg01""><img src="img/trans1p.gif" width="1" height="1"></td>
		          </tr>
		          <tr id="B2"> 
		            <td height="20" width="50%"><nobr> 需要数量:(现有可购数量:<%=rs("aucnum")%>件)<br> <input type="text" name="getnum" id="B2" value="1" size="20"> 
		            </td>
		            <td><nobr> 每件出价(元):<br> <input type="text" name="bid_price" id="B2" value="<%a=cdbl(rs("aucCurrentBid"))
					b=cdbl(rs("aucMinimumIncrement"))
					c=a+b
					response.write c
					%>" size="20" readonly> 
					
		            </td>
		          </tr>
		          <tr id="B1"> 
		            <td width="50%"> 
		              		            </td>
		            <td height="20"> (不得低于<%=c%>元)</td>
		          </tr>
		          <tr> 
		            
            <td width="50%" id="B1"> <strong>为什么要填能接受的最高价格?</strong></td>
		            <td height="25"align="center"> 
		              
		              <input name="bid_x" type=submit id="b1" STYLE="color: white;border-color: #CECBCE; background-color: #EF7608;" value="   出价   "> 
		            </td>
		          </tr>
		          <tr> 
		            <td colspan="4" height="3" id="bg01""><img src="img/trans1p.gif" width="1" height="1"></td>
		          </tr>
		        </form>
		      </table>
<% if rs("aucbuyprice")<>0 then %>
   <table width="98%" border="0" cellspacing="0" cellpadding="0">
 <form action=preaucbid.asp method=post name=bidf1 onsubmit="return ckck1()">
		        <tr> 
		          <td colspan="4" height="3" id="bg01""><img src="img/trans1p.gif" width="1" height="1"></td>
		          	<input type=hidden name=bidtype value="ykjbid">
		          	<input type=hidden name=limit value="<%=rs("limit")%>">
		          	<input type=hidden name=auc_id value="<%=rs("aucid")%>">
				<input type=hidden name=aucItemOwner value="<%=rs("aucItemOwner")%>">
		          	<input type=hidden name=auc_title value='<%=rs("aucItemTitle")%>'>
				<input type="hidden" name="auc_place" value='<%=rs("regState")%><%=rs("regCity")%>'>
				<input type=hidden name=zhifu value='<%=rs("zhifu")%>'>
				<input type=hidden name=yunfei value='<%=rs("yunfei")%>'>
				<input type=hidden name=bid_price value='<%=rs("aucbuyprice")%>'>
			</td></tr>
			<hr width=100% size=1 class=huise_bg noshade>
		          <tr> 
		            <td colspan="2" width=100% align=left><b>一口价购买:</b></td>
		          </tr>			
		          <tr> 
		            <td colspan="2" height="1" id="bg01""><img src="img/trans1p.gif" width="1" height="1"></td>
		          </tr>
		          <tr id="B2"> 
		            <td height="20" width="50%"><nobr> 需要数量:(现有可购数量:<%=rs("aucnum")%>件)<br> <input type="text" name="getnum" id="B2" value="1" size="20"> 
		            </td>
		            <td>每件一口价:<%=rs("aucbuyprice")%> (元)</td>
		          </tr>
		          <tr>          
          		  <td width="50%" id="B1">&nbsp;</td>
		          <td height="25"align="center">     
		              <input name="bid_x" type=submit id="b1" STYLE="color: white;border-color: #CECBCE; background-color: #EF7608;" value="一口价购买"> 
		          </td>
		          </tr>
		          <tr> 
		            <td colspan="2" height="3" id="bg01""><img src="img/trans1p.gif" width="1" height="1"></td>
		          </tr>
		        </form>
		      </table>
<%
 end if
 else
   errors("对不起,此商品信息出错了!不能再接受竞价")
 %>
<% end if %>

      
      <DIV align=center><BR>请您遵守<A href="help.asp" target=_blank>vqqq.com拍卖网服务协议</A>诚信出价购买,一经成交您将依法承担应履行的交易义务<BR><BR>请点击<A 
      href="help.asp" 
      target=_blank>诚信与安全</A>了解更多安全交易的信息<BR></DIV></TD>
    <TD vAlign=top width=260>
      <TABLE class=td border=0 cellPadding=0 cellSpacing=1 width="300"><TBODY>
        <TR>
          <TD>
            <div align="center">
              <center>
            <TABLE border=0 cellPadding=2 cellSpacing=0 width="300" style="border-collapse: collapse">
              <TBODY>
              <TR class=titletd>
                <TD align=middle colSpan=2 height=22 id=B1"><B><FONT 
                  id=f4>对卖家不放心?</FONT></B></TD></TR>
              <TR>
                <TD id=B1 vAlign=top width=12>·</TD>
                <TD id=B1><STRONG>对卖家不放心?</STRONG>--参考卖家信用记录能帮助你作出正确的决定,来看看别的买家对卖家 
                </TD>
              </TR>
              <TR>
                <TD id=B1 vAlign=top width=12>·</TD>
                <TD id=B1><STRONG>怎样才算竞价成功?</STRONG>--到商品截标时,您的出价状态是领先的话,您竞价就成功了。</TD></TR>
              <TR>
                <TD id=B1 vAlign=top width=12>·</TD>
                <TD id=B1><STRONG>出价成功了,然后呢?</STRONG>--请主动与卖家联系,进行线下交易。联系方式会被发送到您的注册邮箱,您也可到<A 
                  href=vqqqbought.asp 
                  target=_blank>我的vqqq.com--已买入的商品</A>中查询。</TD>
              </TR>
              <TR>
                <TD id=B1 vAlign=top width=12>·</TD>
                <TD id=B1STRONG>如何付款拿货?</STRONG>-- 
                一般有三类方式:a.款到发货 b.货到付款 c.见面交易。具体请与卖家协商。 
                  <TABLE align=center border=0 cellPadding=0 cellSpacing=0>
                    <TBODY>
                    <TR>
                      <TD align=left height=15 id=b1 vAlign=top"><font class=fred><b>身份证认证</b></font> 查看卖家是否进行真实身份认证,可以提高交易安全。用户通过真实身份认证后,用户店铺将自动拥有营业执照标志!</TD>
                    </TR></TBODY></TABLE></TD></TR>
              <TR class=titletd>
                <TD colSpan=2 id=b1>
                  <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="88%">
                    <TBODY>
                    <TR>
                      <TD height=15 id=b1 vAlign=top align=center><a href="help.asp">更多帮助</a></TD>
                    </TR></TBODY></TABLE></TD></TR></TBODY></TABLE></center>
            </div>
          </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></center>
</div>
<!-- -----------显示大图片------------- -->
<A name=pic></A>
<div align="center" id="bphoto">
<TABLE border=0 cellPadding=0 cellSpacing=1 width="760" style="border-collapse: collapse" class=tablebg><TBODY>
  <TR>
    <TD align=middle id=bg01 class=titletd><B><A name=pic></A>商品图片</B></TD>
  </TR>
  <TR>
    <TD align=middle class=td><BR>
      <%
	  if rs("aucImageURL")="NULL" then
	  response.write "没有图片"
	  else%>
      <img src="<%=rs("aucImageURL")%>" border="0"> 
      <%end if%>
      <BR>
    </TD></TR></TBODY></TABLE>
  </center>
</div>
<!-- --------其他商品列表------- -->

<TABLE border=0 id=B1 width="760" style="border-collapse: collapse" cellpadding="0" cellspacing="1" class=tablebg align=center><tr><td class=td>☆<font class=fblack><b>卖家正在出售的商品情况(共<%=rsselling("sellnum")%>件)</b></FONT>&nbsp;&nbsp;&nbsp;&nbsp;
<%if rs_s.eof then
 response.write"★此用户未申请开店"
 else
%><a href="usershop.asp?sid=<%=rs_s("shopid")%>">此用户店铺(<%=rs_s("shopname")%>)</a><%end if%>&nbsp;&nbsp;
<%
				if rs("degrade")="身份证" then
				   response.write"<img src='images/yingyezhizhao.gif' border='0' alt='已进行真实身份认证'>"
				else
				   response.write"&nbsp;<font class=fblue>(未申请营业执照)</font>"
				end if
%>
</td></tr></table>
<TABLE border=0 id=B1 width="760" style="border-collapse: collapse" cellpadding="0" cellspacing="1" class=tablebg align=center>
  <TBODY>
<%
  sql="select * from Auctions where aucItemOwner="&rs("aucItemOwner")&" and aucended='N'"
  set rs2=conn.execute(sql)
  if rs.eof then
  response.write "<tr><td width=98% align=center class=td>该用户没有正在竞拍的商品</td></tr>"
  else
%>
  <TR class=titletd> 
    <td width="312"> 
      <div align="center">商品名称</div>
    </td>
    <td width="91"> 
      <div align="center">现价</div>
    </td>
    <td width="81"> 
      <div align="center">竞标数</div>
    </td>
    <td width="167"> 
      <div align="center">剩余时间</div>
    </td>
  </tr>
<%
  dim tempc
  tempc=0
  do while not rs2.eof
  if tempc<8 then
  %>
  <TR id=bg02 class=td>
    <TD height=20>&nbsp;&nbsp;★<NOBR><A href="aucinfo.asp?aucid=<%=rs2("aucId")%>" target=_blank><%=rs2("aucItemTitle")%></A>★</NOBR></TD>
    <TD align=center height=20 width=69 align=center><B><%=rs2("aucCurrentBid")%></B></TD>
    <TD align=center height=20 width=69 align=center><B>
	<div align="center"><%=rs2("bidtimes")%></div></B></TD>
    <TD height=20 width=167 align=center><NOBR>
 <%
date2 = rs2("aucCloseDate")
date1 = now()
sDate = DateDiff("s", date1, date2) '总秒数
sDay = fix(sDate/60/60/24) '天数
sDate1 = sDate mod 60*60*24 '余数
sHour = fix(sDate1/60/60) '小时
sDate2 = sDate1 mod 60*60 '余数
sMinute = fix(sDate2/60) '分钟
sDate3 = sDate2 mod 60 '余数
if sDate3>=0 then
response.write sDay & "天" & sHour & "小时" & sMinute & "分钟" & sDate3 & "秒"
end if
if sDate3 < 0 then
response.write "<font color=#ff0000><b>竞价结束!</b></font>"
end if

%>
</NOBR>
</TD>
</TR>
 
  <%
  tempc=tempc+1
  else
  exit do
  end if
  rs2.movenext
  loop
  %>
  </TBODY></TABLE><BR>
<%end if%>
<div align="center">
  <center>
<TABLE border=0 cellPadding=5 cellSpacing=0 id=bg01 width="760" style="border-collapse: collapse" bordercolor="#111111">
  <TBODY>
  <TR>
    <TD align=middle id=bg02><IMG height=43 src="img/chen.gif" width=20></TD>
    <TD bgColor=<%=bgcolor%>><SPAN 
      id=b1>vqqq是一个诚信、公平、公开、公正的交易社区。在这里,相信每个卖家、买家都是诚实可信的。<BR>目前,我们正与国家有关部门携手,坚决抵制任何违法、违规的交易行为,并加强打击力度。<BR>如果您发现有任何违反诚信交易原则的行为,请<A 
      href="MAILTO:<%=EMAIL%>">联系</A>vqqq诚信部门。</SPAN></TD></TR></TBODY></TABLE>
  </center>
</div>
<!-- ----------------------------------------------统计---------------------------------------------------------------------- -->
</CENTER>
<!-- #include file="bottom.asp" -->
</BODY></HTML>

⌨️ 快捷键说明

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