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

📄 prefill.asp

📁 fger th t ytwety w4t qrt 43 q34rt5 q34t3q4t
💻 ASP
字号:
<html>
 <head>
  <title>缺货登记</title>
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  <style>
   <!-- 
    .class1{font:10pt; color:#9900CC;}
    .class2{font:11pt;}
    input{background-color:#eeeeee;border-style:solid;border-color:#6666cc;border-width:1;}
    -->
   </style>
  </head>

 <body bgcolor="#FFFFFF" style="font:10pt;margin-left:20pt">
 <%
   status=trim(request.querystring("result"))
   if status="success" then
     response.write "<font style=""font:10pt;color:999933"">&nbsp;&nbsp;预定成功!请继续...</font>"
   end if
 %>
 <div id="floater" align="center" style="left: 15px; top: 2px; width: 280;font:10pt"> 
  <table width=270 border=0 cellspacing="1" bgcolor="#b0cfef">
    <tr>
      <td align=center bgcolor="#D8F3FE"> <b><font color=#669900 class=class2>缺货登记表</font><font color=999999 face=arial size=4>...</font> 
        </b> 
      </td>
    </tr>
    <tr>
      <td align=center bgcolor="#ffffff"> 
   <form name="preorder" action="preorder.asp" method=post><br>
     <font class=class1>请输入您的用户名:</font><input type=text size=18 name="userid"><br>
     <font class=class1>&nbsp; 请输入您的密码:</font><input type=password size=18 name="userpw"><br>
     <font class=class1>要预定的商品名称:</font><input type=text size=18 name="productname"><br>
     <font class=class1>要预定的商品品牌:</font><input type=text size=18 name="nametag"><br><br>
     <center><font class=class1>请给出商品的简单描述:</font>
           <textarea cols=31 rows=4 name="descrip"></textarea><br><br>
           <input type=button name=tijiao value="提 交">
           &nbsp;&nbsp;
           <input type=reset value="重 写">
     </center>
    </form>
      </td>    
    </tr>    
  </table>    
  <div id="Layer1" style="position:absolute; width:238px; height:210px; z-index:1; left: 317px; top: 90px; background-color: eeeeee; layer-background-color: eeeeee; border: 1px none #000000"> 
    <div align="left"> 
      <p><br>
        缺货登记说明:</p>
      <p> 一、功能实现<br>
        &nbsp;&nbsp;&nbsp;您可能在我们的网站没有找到所需要的商品。那么,您可以通过这个功能向我们的商店预定,我们将尽力为您找到您需要的商品,并将及时地通知您。</p>
      <p>二、为什么限制预定人<br>
        &nbsp;&nbsp;&nbsp;因为涉及到数据库的管理方便,所以我们只允许本站注册用户才享有此预定商品的权利。如果您希望成为我们商店的会员,请<a href="enroll.asp">注册</a>。 
      </p>
    </div>
  </div>
</div>    
</body>    
</html>    
<script language=vbscript>
sub tijiao_onclick()
dim msgstr
  userid=trim(preorder.userid.value)
  userpw=trim(preorder.userpw.value)

  if userid="" or userpw="" then
     msgsrt="用户名和密码必须输入完整!"
  end if

  productname=trim(preorder.productname.value)

  if productname="" then
     msgstr=msgstr&"必须输入需要预定的商品名!"
  end if

  if msgstr="" then
     preorder.submit
  else
     alert msgstr
	 exit sub
  end if
end sub
</script>

⌨️ 快捷键说明

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