<!--#include file="../0.asp"--><!--#include file="../../../conn/zkconn.asp"-->
<html>
<head>
<title>电话定购第一步</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../../css/css.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">

<table width="98%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td valign="middle" align="center"> 
      <% Select case Request("add")
   case "t"%>
  <form method="POST" action="?add=a">
        第一步：录入送货清单日期<br>
        <br>
        <table bgcolor=#CCCCCC border=0 cellpadding=3 cellspacing=1 
        width="400" align="center" class="9bang">
          <tbody>
            <tr> 
              <td bgcolor=#f1f1f1 class="008c5e" width="100" height="25" align="center"><font size="2">送货清单日期</font></td>
              <td width="300" height="25" bgcolor=#FFFFFF class="008c5e"> <font size="2"> 
                &nbsp;
                <input name="n" type="text" class="wenbenkuang" id="n" value="2003" size="8" maxlength="4">
                年 
                <input name="y" type="text" class="wenbenkuang" id="y" value="" size="4" maxlength="2">
                月
                <input name="r" type="text" class="wenbenkuang" id="r" value="" size="4" maxlength="2">
                日 </font></td>
            </tr>
            <tr> 
              <td bgcolor=#f1f1f1 class="008c5e" width="100" height="25">&nbsp;</td>
              <td width="300" height="25" bgcolor=#ffffff class="008c5e"> <font size="2">&nbsp; 
                <input name="submit" type="submit" class="go-wenbenkuang" value="提交">
                <input name="Reset" type="reset" class="go-wenbenkuang" value="重填">
                <input name="Submit" type="button" class="go-wenbenkuang" onclick="javascript:window.history.go(-1)" value="返回">
                <input name="id" type="hidden" id="id" value="<%=Request("id")%>">
                </font></td>
            </tr>
          </tbody>
        </table>
        </form>
<%case "a"
conn.execute("Insert into sh_sj(n,y,r,user_name)values('"&Request("n")&"','"&Request("y")&"','"&Request("r")&"','"&session("www.loogoo.com")&"')")
set rs2 = conn.execute("select id from sh_sj where  n='"&Request("n")&"' and y='"&Request("y")&"' and r='"&Request("r")&"'")
Response.redirect "add2.asp?id="&rs2("id")&""
rs2.close
set rs2=nothing
End Select
%>
    </td>
  </tr>
</table>
</body>
</html>