<% userPageRights="{tour}" %>
<!--#include file="check.asp"-->
<!--#include file="../Include/Char.asp" -->
<!--#include file="../include/md5.asp"-->
<%
'Define Variable 
dim i
dim rs
dim mGrade,m_SQL,mFlag,mBgColor
'initialization 
mFlag=true'add

'Display
if request("action")="edit" then 
 m_SQL="Select * From Tour_TravelLineOrder Where F_ID="&Request.QueryString("ModifyID")
 Set rs = conn.Execute(m_SQL)
 if Not rs.Eof then
   m_TravelLineID = Trim(rs("F_TravelLineID"))
   m_BeginYear = Trim(rs("F_BeginYear"))
   m_BeginMonth = Trim(rs("F_BeginMonth"))
   m_BeginDay = Trim(rs("F_BeginDay"))
   m_EndYear = Trim(rs("F_EndYear"))
   m_EndMonth = Trim(rs("F_EndMonth"))
   m_EndDay = Trim(rs("F_EndDay"))
   m_Linkman = Trim(rs("F_Linkman"))
   m_PersonNumber = Trim(rs("F_PersonNumber"))
   m_CityNumber = Trim(rs("F_CityNumber"))
   m_Tel = Trim(rs("F_Tel"))
   m_Price = Trim(rs("F_Price"))
   m_Email = Trim(rs("F_Email"))
   m_Address = Trim(rs("F_Address"))
   m_Memo = Trim(rs("F_Memo"))
  End if
  mFlag=false
  rs.Close
end if

if Request.ServerVariables("REQUEST_METHOD")="POST" then
   m_TravelLineID = Request.form("selTravelLineID")
   m_BeginYear = checkStr(Trim(Request.Form("selBeginYear")))
   m_BeginMonth = checkStr(Trim(Request.Form("selBeginMonth")))
   m_BeginDay = checkStr(Trim(Request.Form("selBeginDay")))
   m_EndYear = checkStr(Trim(Request.Form("selEndYear")))
   m_EndMonth = checkStr(Trim(Request.Form("selEndMonth")))
   m_EndDay = checkStr(Trim(Request.Form("selEndDay")))
   m_Linkman = checkStr(Trim(Request.Form("txtLinkman")))
   m_PersonNumber = checkStr(Trim(Request.Form("txtPersonNumber")))
   m_CityNumber = checkStr(Trim(Request.Form("txtCityNumber")))
   m_Tel = checkStr(Trim(Request.Form("txtTel")))
   m_Price = checkStr(Trim(Request.Form("txtPrice")))
   m_Email = checkStr(Trim(Request.Form("txtEmail")))
   m_Address = checkStr(Trim(Request.Form("txtAddress")))
   m_Memo = Request.Form("txtMemo")
 if Request.Querystring("action")="Insert" then
      m_SQL = "Insert Into Tour_TravelLineOrder(F_TravelLineID,F_BeginYear,F_BeginMonth,F_BeginDay,F_EndYear,F_EndMonth,F_EndDay,F_PersonNumber,F_Price,F_Linkman,F_Email,F_CityNumber,F_Tel,F_Address,F_Memo)Values"
      m_SQL = m_SQL + "("&m_TravelLineID&",'"&m_BeginYear&"','"&m_BeginMonth&"','"&m_BeginDay&"','"&m_EndYear&"','"&m_EndMonth&"','"&m_EndDay&"',"&m_PersonNumber&","&m_Price&",'"&m_Linkman&"','"&m_Email&"','"&m_CityNumber&"','"&m_Tel&"','"&m_Address&"','"&m_Memo&"')"
	  conn.Execute(m_Sql)
      response.redirect "Tour_TravelOrderManage.asp?action=IsInsert&pageno="&Request("pageno")
  else 
      m_SQL = "UPDATE Tour_TravelLineOrder SET"
      m_SQL = m_SQL+" F_TravelLineID="&m_TravelLineID&","
      m_SQL = m_SQL+" F_BeginYear='"&m_BeginYear&"',"
      m_SQL = m_SQL+" F_BeginMonth='"&m_BeginMonth&"',"
      m_SQL = m_SQL+" F_BeginDay='"&m_BeginDay&"',"
      m_SQL = m_SQL+" F_EndYear='"&m_EndYear&"',"
      m_SQL = m_SQL+" F_EndMonth='"&m_EndMonth&"',"
      m_SQL = m_SQL+" F_EndDay='"&m_EndDay&"',"
      m_SQL = m_SQL+" F_PersonNumber="&m_PersonNumber&","
      m_SQL = m_SQL+" F_Price="&m_Price&","
      m_SQL = m_SQL+" F_Linkman='"&m_Linkman&"',"
      m_SQL = m_SQL+" F_Email='"&m_Email&"',"
      m_SQL = m_SQL+" F_CityNumber='"&m_CityNumber&"',"
      m_SQL = m_SQL+" F_Tel='"&m_Tel&"',"
      m_SQL = m_SQL+" F_Address='"&m_Address&"',"
      m_SQL = m_SQL+" F_Memo='"&m_Memo&"'"
      m_SQL = m_SQL +" WHERE F_ID=" & Request("ModifyID") 
      conn.Execute(m_SQL)
      Response.redirect "Tour_TravelOrderManage.asp?action=IsModify&pageno="&Request("pageno")
   End if
 End if

'Delect Records
if request("action")="Delete" then
  m_SQL = "DELETE FROM Tour_Hotel WHERE F_ID=" &Request.QueryString("DeleteID")
  conn.execute m_SQL
  '---delete sub
  m_SQL = "DELETE FROM Tour_TravelLineOrder WHERE F_ID=" &Request.QueryString("DeleteID")
  conn.execute m_SQL
  Response.write "<script>location.replace('Tour_TravelOrderManage.asp?action=IsDelete&pageno="&Request.Querystring("pageno")&"')</script>"
end if
%>

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../Files/Style.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript">
function jDelete(url)
{
  if((confirm(" 警告:请确定是否删除,删除后不能恢复! "))==true) 
	self.location=url+'&action=Delete';
}
</SCRIPT>
</head>
<body text="#000000" >
<table width="100%" height="1"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table>
<TABLE width=100% height=22 border=1 align="center" cellPadding=0 
cellSpacing=0 borderColor=#7c96b8 borderColorDark=#ffffff>
  <TBODY>
    <TR align="center" > 
      <TD width="100%" height=20 align="left" background="Images/mmTo.gif" > <span style="CURSOR: hand; FILTER: dropshadow(color=#FFFFFF, offx=1, offy=1, positive=1);  WIDTH: 100%"> 
        <FONT color=#336699>※当前路径：网站后台管理 → 旅游预订 → 客户订单</FONT></span></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE width=100% height=95% border=1 align="center" cellPadding=0 
cellSpacing=0 borderColor=#7c96b8 borderColorDark=#ffffff>
  <TBODY>
    <TR> 
      <TD width="100%" align=center valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
          <tr style="cursor:hand" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#EBEEF6'"  bgcolor="#dde1ec" align="center"> 
            <td width="8%"><font color="#666666"><b>ID</b></font></td>
            <td width="25%"><font color="#666666"><b>路线名称</b></font></td>
            <td><font color="#666666"><b>人数</b></font></td>
            <td width="9%"><font color="#666666"><b>价格</b></font></td>
            <td width="14%"><font color="#666666"><b>联系人</b></font></td>
            <td width="17%"><font color="#666666"><b>联系电话</b></font></td>
            <td width="15%"><font color="#666666"><b>管理<a title="添加记录" href='Tour_TravelOrderManage.asp?pageno=<%=mPage%>#anInsert'><font color="#FF0000">[添加]</font></a></b></font></td>
          </tr>
        </table>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#ebeef6">
          <%  
	Set rs=Server.createobject("Adodb.RecordSet")
    pageno=request.querystring("pageno")
    pmcount=16  
    m_SQL="select * from Tour_TravelLineOrder order by F_ID desc"
	rs.open m_SQL,conn,1,1
	if rs.eof then
	  'response.write "<br><p  align='center'><font color=red><B> 对不起，数据已清空！</B></font></p>"
    else
    rs.pagesize=pmcount
    mpage=rs.pagecount
    if pageno="" then pageno=1
    if  cint(pageno)<1 or cint(pageno)>mpage then  pageno=1
    rs.absolutepage=pageno

 Dim rc,re
 rc=rs.pagesize
 re=1
 do while not rs.eof and rc>0
 mBgColor=Request.Querystring("BgColor")
 if Trim(rs("F_ID"))=Trim(mBgColor) then mColor= "D6DFFF" else mColor= "ffffff"
%>
          <tr bgcolor="<%=mColor%>"   onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#EBEEF6'" > 
            <td  width="8%" align="center"><%=rs("F_ID")%></td>
            <td width="25%" align="center" >
			<a target="_blank" href="../Tour/Travel_LineShow.asp?ID=<%=rs("F_TravelLineID")%>"> 
            <%
			m_SQL = "SELECT F_LineName FROM Tour_TravelLine Where F_ID="&rs("F_TravelLineID")
			Set rst = conn.Execute(m_SQL)
			if not rst.Eof then
			  Response.write rst(0)
			else
			  Response.Write "无"
			end if
			rst.Close
			%>
             </a>
			  </td>
            <td align="center" >
			
			<%=rs("F_Linkman")%></td>
            <td width="9%" align="center" ><%=rs("F_Price")%></td>
            <td width="14%" align="center" ><%=rs("F_Linkman")%></td>
            <td width="17%" align="center" > <%=rs("F_CityNumber")%>-<%=rs("F_Tel")%> </td>
            <td width="15%" align="center" ><a title="修改记录" href='Tour_TravelOrderManage.asp?action=edit&ModifyID=<%=rs("F_ID")%>&BgColor=<%=rs("F_ID")%>&pageno=<%=cstr(pageno)%>#anModify'><font color="#666666">[修改]</font></a><a title="请确定是否删除,删除后不能恢复!" href="javascript:jDelete('Tour_TravelOrderManage.asp?DeleteID=<%=rs("F_ID")%>&pageno=<%=cstr(pageno)%>')"><font color="#666666">[删除]</font></a></td>
          </tr>
          <%
 rs.movenext
 re=re+1
 rc=rc-1
 loop
 end if
%>
        </table> 
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="FFFFFF">
          <tr> 
            <td width="35%" height="22">
			  &nbsp;共
			  <font color=red><strong><% = rs.recordcount%></strong></font>
			  条记录 当前第
			  <font color=red><strong><% = Trim(pageno)%></strong></font>页/共
			  <font color=red><strong><% = Trim(mpage)%></strong></font>页
			  </td>
            <td width="65%" align="right"> 
<%
if pageno="" then pageno=1
if pageno>1 then
   response.write "<a href='Tour_TravelOrderManage.asp'> <img alt='首页' src='Images/boqb02.gif' border=0 width='15' height='14'></a>"
else
   response.write "<img alt='首页' src='Images/boqb02.gif' border=0 width='15' height='14'>"
end if

if pageno>1 then
   response.write "<a href='Tour_TravelOrderManage.asp?pageno="&pageno-1&"'><img alt='上一页' src='Images/bob02.gif' border=0 width='15' height='14'></a>"
else
   response.write "<img alt='上一页' src='Images/bob02.gif' border=0 width='15' height='14'>"
end if

add=5'数字分页个数+1
if pageno-int(add/2)<=1 then m=1 else m=pageno-int(add/2)
if m+add>mpage then 
   n=mpage
   if mpage-add<=1 then m=1 else m=mpage-add
else
   n=m+add
end if

for pno=m to n
 if pno=cint(pageno) then
   response.write "&nbsp;<font color=red>"&pno&"</font>"
 else
   response.write "<b>&nbsp;<a href='Tour_TravelOrderManage.asp?pageno="&pno&"'>"&pno&"</a></b>"
 end if
next
response.write "&nbsp"

if int(pageno) < int(rs.pagecount) then
  response.write "<a href='Tour_TravelOrderManage.asp?pageno="&pageno+1&"'><img alt='下一页' src='Images/fbob02.gif' border=0 width='15' height='14'></a>"
else 
  response.write "<img alt='下一页' src='Images/fbob02.gif' border=0 width='15' height='14'>"
end if

if int(pageno) < int(rs.pagecount) then
   response.write "<a href='Tour_TravelOrderManage.asp?pageno="&mpage&"'><img alt='末页' src='Images/fboqb02.gif' border=0 width='15' height='14'></a>"
else
   response.write "<img alt='末页' src='Images/fboqb02.gif' border=0 width='15' height='14'>"
end if
Response.write "&nbsp;&nbsp;"
%>
            </td>
          </tr>
        </table>
        <%if mFlag=true then'add%>
        <strong><font color=red><a name="anInsert"></a></font></strong> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="32" align="center" bgcolor="FFFFFF"><strong><font color=red> 
              <%
		  if Request.QueryString("action")="IsInsert" then response.write "提示：记录添加成功！" 
		  if Request.QueryString("action")="IsDelete" then response.write "提示：记录删除成功！" 
		  if Request.QueryString("action")="IsModify" then response.write "提示：记录修改成功！" 
  		  if Trim(Request.QueryString("action"))="" then response.write "提示：当前为添加状态！" 
		%>
              </font></strong></td>
          </tr>
        </table> 
        <strong><font color=red> </font></strong> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr> 
            <form name="form1" method="post" action="Tour_TravelOrderManage.asp?action=Insert" >
              <td> <table width="100%" border="0" cellpadding="2" cellspacing="0">
                  <tr background="Images/mmTo.gif"> 
                    <td height="6" background="Images/mmTo.gif"> <span style="CURSOR: hand; FILTER: dropshadow(color=#FFFFFF, offx=1, offy=1, positive=1);  WIDTH: 100%">功能：添加记录</span></td>
                  </tr>
                  <tr> 
                    <td valign="top" bgcolor="fcfcfc"> 
                      <table width="100%" border="0" cellspacing="2" cellpadding="0">
                        <tr> 
                          <td width="12%" height="19">路线名称：</td>
                          <td width="88%">
						    <select name="selTravelLineID">
                             <%
							 m_SQL = "SELECT F_ID,F_LineName FROM Tour_TravelLine"
							 Set rst = conn.Execute(m_SQL)
							 Do While Not rst.Eof
							   Response.write "<option value='"&rst(0)&"'>"&rst(1)&"</option>"
							   rst.MoveNext
							 Loop
							 rst.Close
                            %>
							</select>
						  </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="19">人　　数：</td>
                          <td width="88%"> <INPUT class="text"  name=txtPersonNumber value="0" size=5 maxLength=3 onBlur="if (isNaN(this.value)){this.value='0';  alert('类型错误,请输入数值型！');this.focus(); }">
                            人</td>
                        </tr>
						<tr> 
                          <td width="12%" height="19">价　　格：</td>
                          <td width="88%"> <INPUT class="text"  name=txtPrice value="0" size=5 maxLength=3 onBlur="if (isNaN(this.value)){this.value='0';  alert('类型错误,请输入数值型！');this.focus(); }">
                            元</td>
                        </tr>
                        <tr> 
                          <td width="12%" height="19">最早出发：</td>
                          <td width="88%"> <SELECT   name=selBeginYear>
                              <option value="2007" >2007</option>
                              <option value="2008">2008</option>
                            </SELECT>
                            年 
                            <SELECT name=selBeginMonth>
                              <option value="1">1 </option>
                              <option value="2">2 </option>
                              <option value="3">3 </option>
                              <option value="4">4 </option>
                              <option value="5">5 </option>
                              <option value="6">6 </option>
                              <option value="7">7 </option>
                              <option value="8">8 </option>
                              <option value="9">9 </option>
                              <option value="10">10 </option>
                              <option value="11">11 </option>
                              <option value="12">12</option>
                            </SELECT>
                            月 
                            <SELECT name=selBeginDay>
                              <option value="1">1 </option>
                              <option value="2">2 </option>
                              <option value="3">3 </option>
                              <option value="4">4 </option>
                              <option value="5">5 </option>
                              <option value="6">6 </option>
                              <option value="7">7 </option>
                              <option value="8">8 </option>
                              <option value="9">9 </option>
                              <option value="10">10 </option>
                              <option value="11">11 </option>
                              <option value="12">12 </option>
                              <option value="13">13 </option>
                              <option value="14">14 </option>
                              <option value="15">15 </option>
                              <option value="16">16 </option>
                              <option value="17">17 </option>
                              <option value="18">18 </option>
                              <option value="19">19 </option>
                              <option value="20">20 </option>
                              <option value="21">21 </option>
                              <option value="22">22 </option>
                              <option value="23">23 </option>
                              <option value="24">24 </option>
                              <option value="25">25 </option>
                              <option value="26">26 </option>
                              <option value="27">27 </option>
                              <option value="28">28 </option>
                              <option value="29">29 </option>
                              <option value="30">30 </option>
                              <option value="31">31</option>
                            </SELECT>
                            日 </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="2">最晚出发：</td>
                          <td width="88%"> <SELECT   name=selEndYear>
                              <option value="2003" >2003</option>
                              <option value="2004">2004</option>
                            </SELECT>
                            年 
                            <SELECT name=selEndMonth>
                              <option value="1">1 </option>
                              <option value="2">2 </option>
                              <option value="3">3 </option>
                              <option value="4">4 </option>
                              <option value="5">5 </option>
                              <option value="6">6 </option>
                              <option value="7">7 </option>
                              <option value="8">8 </option>
                              <option value="9">9 </option>
                              <option value="10">10 </option>
                              <option value="11">11 </option>
                              <option value="12">12</option>
                            </SELECT>
                            月 
                            <SELECT name=selEndDay>
                              <option value="1">1 </option>
                              <option value="2">2 </option>
                              <option value="3">3 </option>
                              <option value="4">4 </option>
                              <option value="5">5 </option>
                              <option value="6">6 </option>
                              <option value="7">7 </option>
                              <option value="8">8 </option>
                              <option value="9">9 </option>
                              <option value="10">10 </option>
                              <option value="11">11 </option>
                              <option value="12">12 </option>
                              <option value="13">13 </option>
                              <option value="14">14 </option>
                              <option value="15">15 </option>
                              <option value="16">16 </option>
                              <option value="17">17 </option>
                              <option value="18">18 </option>
                              <option value="19">19 </option>
                              <option value="20">20 </option>
                              <option value="21">21 </option>
                              <option value="22">22 </option>
                              <option value="23">23 </option>
                              <option value="24">24 </option>
                              <option value="25">25 </option>
                              <option value="26">26 </option>
                              <option value="27">27 </option>
                              <option value="28">28 </option>
                              <option value="29">29 </option>
                              <option value="30">30 </option>
                              <option value="31">31</option>
                            </SELECT>
                            日</td>
                        </tr>
                        <tr> 
                          <td width="12%" height="9">联 系 人：</td>
                          <td><INPUT class="text" size=15 name=txtLinkman> </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="19">联系电话：</td>
                          <td width="88%"><input class="text" name=txtCityNumber value="0719" size=4>
                            - 
                            <input class="text" size=15 name=txtTel> </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="19">电子邮件：</td>
                          <td width="88%"><INPUT class="text" size=30 name=txtEmail> </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="8">地　　址：</td>
                          <td width="88%"><INPUT class="text" size=40  name=txtAddress> </td>
                        </tr>
                        <tr> 
                          <td>其他要求： </td>
                          <td>
						  <textarea name="txtMemo" style="display:none" cols="1" rows="1"><%if txtMemo<>"" then response.write txtMemo%></textarea>
					<IFRAME ID="txtMemo" SRC="eEditor/ewebeditor.asp?id=txtMemo&style=news" FRAMEBORDER="0" SCROLLING="no" WIDTH="100%" HEIGHT="300" marginwidth="1" marginheight="1" name="wfasdg"></IFRAME></td>
                        </tr>
                        <tr> 
                          <td height="37" colspan="2"><input  type="submit" value="提交信息" name="B32"  class="button"> 
                            &nbsp; <input type="reset" value="从新来过" name="B32" class="button"></td>
                        </tr>
                      </table>
                      
                    </td>
                  </tr>
                </table></td>
            </form>
          </tr>
        </table>
        <%else%>
        <strong><font color=red><a name="anModify"></a></font></strong> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="32" align="center" bgcolor="ffffff"><strong><font color=red> 
              <%
		  if Request.QueryString("action")="IsInsert" then response.write "提示：记录添加成功！" 
		  if Request.QueryString("action")="IsDelete" then response.write "提示：记录删除成功！" 
		  if Request.QueryString("action")="IsModify" then response.write "提示：记录修改成功！" 
		  if Trim(Request.QueryString("action"))="edit" then response.write "提示：当前为修改状态！" 
	   %>
              </font></strong></td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="54">
          <tr> 
            <form name="form1" method="post" action="Tour_TravelOrderManage.asp?pageno=<%=request("pageno")%>&ModifyID=<%=request("ModifyID")%>" >
              <td> <table width="100%" border="0" cellpadding="2" cellspacing="0">
                  <tr background="Images/mmTo.gif"> 
                    <td height="6" background="Images/mmTo.gif"> <span style="CURSOR: hand; FILTER: dropshadow(color=#FFFFFF, offx=1, offy=1, positive=1);  WIDTH: 100%">功能：修改记录</span></td>
                  </tr>
                  <tr> 
                    <td valign="top" bgcolor="fcfcfc">
					<table width="100%" border="0" cellspacing="2" cellpadding="0">
                        <tr> 
                          <td width="12%" height="19">路线名称：</td>
                          <td width="88%">
						    <select name="selTravelLineID">
                             <%
							 m_SQL = "SELECT F_ID,F_LineName FROM Tour_TravelLine"
							 Set rst = conn.Execute(m_SQL)
							 Do While Not rst.Eof
							   if cint(m_TravelLineID) = cint(rst(0)) then
							     Response.write "<option value='"&rst(0)&"' selected>"&rst(1)&"</option>"
							   else
								 Response.write "<option value='"&rst(0)&"'>"&rst(1)&"</option>"
                               end if
							   rst.MoveNext
							 Loop
							 rst.Close
                            %>
							</select>
						  </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="19">人　　数：</td>
                          <td width="88%"> <INPUT class="text"  name=txtPersonNumber value="<%=m_PersonNumber%>" size=5 maxLength=3 onBlur="if (isNaN(this.value)){this.value='0';  alert('类型错误,请输入数值型！');this.focus(); }">
                            人</td>
                        </tr>
						<tr> 
                          <td width="12%" height="19">价　　格：</td>
                          <td width="88%"> <INPUT class="text"  name=txtPrice value="<%=m_Price%>" size=5 maxLength=3 onBlur="if (isNaN(this.value)){this.value='0';  alert('类型错误,请输入数值型！');this.focus(); }">
                            元</td>
                        </tr>
                        <tr> 
                          <td width="12%" height="19">最早出发：</td>
                          <td width="88%">
						    <SELECT name=selBeginYear>
                              <option value="<%=m_BeginYear%>"><%=m_BeginYear%></option>
							  <option value="2003">2003</option>
                              <option value="2004">2004</option>
                            </SELECT>
                            年 
                            <SELECT name=selBeginMonth>
							  <option value="<%=m_BeginMonth%>"><%=m_BeginMonth%></option>
                              <option value="1">1 </option>
                              <option value="2">2 </option>
                              <option value="3">3 </option>
                              <option value="4">4 </option>
                              <option value="5">5 </option>
                              <option value="6">6 </option>
                              <option value="7">7 </option>
                              <option value="8">8 </option>
                              <option value="9">9 </option>
                              <option value="10">10 </option>
                              <option value="11">11 </option>
                              <option value="12">12</option>
                            </SELECT>
                            月 
                            <SELECT name=selBeginDay>
							  <option value="<%=m_BeginDay%>"><%=m_BeginDay%></option>
                              <option value="1">1 </option>
                              <option value="2">2 </option>
                              <option value="3">3 </option>
                              <option value="4">4 </option>
                              <option value="5">5 </option>
                              <option value="6">6 </option>
                              <option value="7">7 </option>
                              <option value="8">8 </option>
                              <option value="9">9 </option>
                              <option value="10">10 </option>
                              <option value="11">11 </option>
                              <option value="12">12 </option>
                              <option value="13">13 </option>
                              <option value="14">14 </option>
                              <option value="15">15 </option>
                              <option value="16">16 </option>
                              <option value="17">17 </option>
                              <option value="18">18 </option>
                              <option value="19">19 </option>
                              <option value="20">20 </option>
                              <option value="21">21 </option>
                              <option value="22">22 </option>
                              <option value="23">23 </option>
                              <option value="24">24 </option>
                              <option value="25">25 </option>
                              <option value="26">26 </option>
                              <option value="27">27 </option>
                              <option value="28">28 </option>
                              <option value="29">29 </option>
                              <option value="30">30 </option>
                              <option value="31">31</option>
                            </SELECT>
                            日 </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="2">最晚出发：</td>
                          <td width="88%"> <SELECT name=selEndYear>
						      <option value="<%=m_EndYear%>"><%=m_EndYear%></option>
                              <option value="2003" >2003</option>
                              <option value="2004">2004</option>
                            </SELECT>
                            年 
                            <SELECT name=selEndMonth>
                              <option value="<%=m_EndMonth%>"><%=m_EndMonth%></option>
							  <option value="1">1 </option>
                              <option value="2">2 </option>
                              <option value="3">3 </option>
                              <option value="4">4 </option>
                              <option value="5">5 </option>
                              <option value="6">6 </option>
                              <option value="7">7 </option>
                              <option value="8">8 </option>
                              <option value="9">9 </option>
                              <option value="10">10 </option>
                              <option value="11">11 </option>
                              <option value="12">12</option>
                            </SELECT>
                            月 
                            <SELECT name=selEndDay>
							  <option value="<%=m_EndDay%>"><%=m_EndDay%></option>
                              <option value="1">1 </option>
                              <option value="2">2 </option>
                              <option value="3">3 </option>
                              <option value="4">4 </option>
                              <option value="5">5 </option>
                              <option value="6">6 </option>
                              <option value="7">7 </option>
                              <option value="8">8 </option>
                              <option value="9">9 </option>
                              <option value="10">10 </option>
                              <option value="11">11 </option>
                              <option value="12">12 </option>
                              <option value="13">13 </option>
                              <option value="14">14 </option>
                              <option value="15">15 </option>
                              <option value="16">16 </option>
                              <option value="17">17 </option>
                              <option value="18">18 </option>
                              <option value="19">19 </option>
                              <option value="20">20 </option>
                              <option value="21">21 </option>
                              <option value="22">22 </option>
                              <option value="23">23 </option>
                              <option value="24">24 </option>
                              <option value="25">25 </option>
                              <option value="26">26 </option>
                              <option value="27">27 </option>
                              <option value="28">28 </option>
                              <option value="29">29 </option>
                              <option value="30">30 </option>
                              <option value="31">31</option>
                            </SELECT>
                            日</td>
                        </tr>
                        <tr> 
                          <td width="12%" height="9">联 系 人：</td>
                          <td><INPUT name=txtLinkman class="text" value="<%=m_Linkman%>" size=15> </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="19">联系电话：</td>
                          <td width="88%"><input class="text" name=txtCityNumber value="<%=m_CityNumber%>" size=4>
                            - 
                            <input name=txtTel class="text" value="<%=m_Tel%>" size=15> </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="19">电子邮件：</td>
                          <td width="88%"><INPUT name=txtEmail class="text" value="<%=m_Email%>" size=30> </td>
                        </tr>
                        <tr> 
                          <td width="12%" height="8">地　　址：</td>
                          <td width="88%"><INPUT  name=txtAddress class="text" value="<%=m_Address%>" size=40> </td>
                        </tr>
                        <tr> 
                          <td>其他要求： </td>
                          <td><textarea name="txtMemo" style="display:none" cols="1" rows="1"><%if txtMemo<>"" then response.write txtMemo%></textarea>
					<IFRAME ID="txtMemo" SRC="eEditor/ewebeditor.asp?id=txtMemo&style=news" FRAMEBORDER="0" SCROLLING="no" WIDTH="100%" HEIGHT="300" marginwidth="1" marginheight="1" name="wfasdg"></IFRAME></td>
                        </tr>
                        <tr> 
                          <td height="37" colspan="2"><input  type="submit" value="提交信息" name="B32"  class="button"> 
                            &nbsp; <input type="reset" value="从新来过" name="B32" class="button"></td>
                        </tr>
                      </table>
					</td>
                  </tr>
                </table></td>
            </form>
          </tr>
        </table>
        <%end if%>
      </TD>
    </TR>
  </TBODY>
</TABLE>
</body>
</html>
<%
 set rs=nothing
 CloseDatabase
%>