<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="../inc/conn.asp"-->
<!--#include file="Inc/Admin.Asp"-->
<!--#include file="Inc/Function.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>重置竞价到期信息</title>
<link href="css/adminstyle.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
	<div class="local"><h3>您现在的位置：<a href="admin_Index_Main.asp">管理首页</a> >> 重置竞价到期信息</h3></div>
	<table width="100%" border="0" cellpadding="10" cellspacing="0" class="border" style="margin-top:10px;">
    <tr>
      <td>
        <div class="page_content">
          <div class="r_title">
            <h3><img src="images/xiao.jpg" /> 重置竞价到期信息</h3>
          </div>
<%
addok=request("addok")
if addok="" or isnull(addok) then
%>
          <form  method="post" name="setup" id="setup" action="?addok=add">
            <table width="100%" border="0" cellpadding="2" cellspacing="1" class="table_style"> 
              <tr>
                <td height="30" colspan="2" align="center">
                  <input type="submit" value="重置竞价到期信息">
                </td>
              </tr>
            </table>
          </form>
<%
end if
if addok="add" then
Conn.execute "Update Dream_Menpiao set Dream_OrderID=0 where DateDiff('d',Dream_OrderEndTime,#"&date()&"#)>0"
%>
<table width="100%" border="0" cellpadding="2" cellspacing="1">              
  <tr>
	<td height="200" align="center" valign="middle" style="color:#FF0000; font-size:16px;">重置成功</td>
	</tr>
</table>	
<%
end if
%>		  
        </div>
      </td>
    </tr>
  </table>
</div>
</body>
</html>