<!--#include file="../head.asp"-->
 <!--#include file="../checkrole.asp"-->
<%
 call checkuser("zh")

 id=Replace_Text(request("id"))
 sql="select * from Websen_expo where id="&id&""
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof then 
response.Redirect("edit.asp")
response.end
else
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 <TABLE width=778 border=0 align="center" cellPadding=0 cellSpacing=0> 
  <TBODY> 
  <TR> 
   <TD 
    style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE:  url(<%=HOPE_InstallDir%>member/modify/i../mages/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff" 
    vAlign=top align=middle>
       <TABLE cellSpacing=0 cellPadding=0 width=100% border=0> 
        <TBODY> 
           <TR> 
            <TD width="74%"><IMG height=32 src="<%=HOPE_InstallDir%>member/images/modifymydoc.gif" width=578 
            border=0></TD> 
            <TD width="26%" background="../images/info_bg.gif">&nbsp;</TD>
           </TR> 
         </TBODY> 
      </TABLE> 
       <table width="100%" border="0" cellpadding="0" cellspacing="0" class="content_border"> 
        <tr> 
          <td> <SCRIPT language=JavaScript>
function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 	



</SCRIPT> 
            <script language="JavaScript" src="../../js/calendar.js"> </script> 
            <form action="save_edit.asp" name="form" method="post">
			<input type='hidden' name='id' value="<%=id%>"> 
			<br>
			<br>
              <table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#4296CE" style="border-bottom:#E7E7E7 5 solid;"> 
                <tr> 
                  <td width="180" align="middle" class=M><font color="#FFFFFF">展会基本信息</font></td> 
                   <td bgcolor="#FFFFFF" align="right"> 标有 <font color="#FF0000">*</font> 为必填项</td> 
                </tr> 
                <tr> 
                  <td bgcolor="#f6f6f6" colspan="3"></td> 
                </tr> 
              </table> 
               <table width="100%" border="0" align="center" cellpadding="3" cellspacing="2"> 
                <tr> 
                  <td width="180" align="right" bgcolor="#EFF7FF" class=C> <font color="#FF0000">*</font> 展会名称：</td> 
                   <td valign="top" bgcolor="#ffffde"> <input name="title" size="60" value="<%=rs("title")%>" maxlength="50"> </td> 
                 </tr> 
                <tr> 
                  <td align="right" bgcolor="#EFF7FF"  class=C> <font color="#FF0000">*</font> 举办国家：</td> 
                   <td valign="top" bgcolor="#ffffde"><select name="holdCountry">
                     <option value="" selected >--选择国家与地区--</option>
                     <option value="CN" <%if rs("holdCountry")="CN" then response.write"selected"%>>中国大陆</option>
                     <option value="HK" <%if rs("holdCountry")="HK" then response.write"selected"%>>中国香港</option>
                     <option value="MO" <%if rs("holdCountry")="MO" then response.write"selected"%>>中国澳门</option>
                     <option value="TW" <%if rs("holdCountry")="TW" then response.write"selected"%>>中国台湾</option>
                     <option value="QT" <%if rs("holdCountry")="QT" then response.write"selected"%>>--其他国家--</option>
                   </select></td> 
                 </tr> 
                <tr> 
                  <td align="right" bgcolor="#EFF7FF" class=C> <font color="#FF0000">*</font> 参展日期：</td> 
                   <td valign="top" bgcolor="#ffffde"> <input type="text" name="beginDate" size="16" maxlength="16" value="<%=rs("beginDate")%>" onFocus="calendar()" > 
                    ~
                    <input type="text" name="endDate" size="16" maxlength="16" value="<%=rs("endDate")%>" onFocus="calendar()" > 
                    <br> 
                    <font color="#999999">(日期格式:2004-10-01) </font></td> 
                 </tr> 
                <tr> 
                  <td width="180" align="right" bgcolor="#EFF7FF"  class=C> <font color="#FF0000">*</font> 报名截止：</td> 
                   <td bgcolor="#ffffde"> <input type="text" name="expireDate" size="16" maxlength="16" value="<%=rs("expireDate")%>" onFocus="calendar()" > 
                    <br> 
                    <font color="#999999">(日期格式:2004-10-01) </font></td> 
                 </tr> 
                <tr> 
                  <td align="right" bgcolor="#EFF7FF"  class=C> <font color="#FF0000">*</font> 参展地(展馆)：</td> 
                   <td valign="top" bgcolor="#ffffde"> <input name="place" size="45" maxlength="50" value="<%=rs("place")%>"> </td> 
                 </tr> 
                <tr> 
                  <td align="right" bgcolor="#EFF7FF"  class=C> 批准单位：</td> 
                   <td valign="top" bgcolor="#ffffde"> <input type="text" name="authorize" size="45" value="<%=rs("authorize")%>" maxlength="50"> </td> 
                 </tr> 
                <tr> 
                  <td align="right" bgcolor="#EFF7FF"  class=C> <font color="#FF0000">*</font> 主办单位：</td> 
                   <td valign="top" bgcolor="#ffffde"> <textarea name="frontFor" cols="60" rows="4"><%=rs("frontFor")%></textarea> </td> 
                 </tr> 
                <tr> 
                  <td align="right" bgcolor="#EFF7FF"  class=C> 承办单位：</td> 
                   <td valign="top" bgcolor="#ffffde"> <textarea name="undertake" cols="60" rows="8"><%=rs("undertake")%></textarea> </td> 
                 </tr> 
                <tr> 
                  <td align="right" bgcolor="#EFF7FF"  class=C> 支持协办单位：</td> 
                   <td valign="top" bgcolor="#ffffde"> <textarea name="aidance" cols="60" rows="8"><%=rs("aidance")%></textarea> </td> 
                 </tr> 
              </table> 
               <br> 
               <table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#4296CE" style="border-bottom:#E7E7E7 5 solid;"> 
                <tr> 
                  <td width="180" align="center" class=M><font color="#ffffff">展会简介</font></td> 
                   <td bgcolor="#FFFFFF">&nbsp; </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#f6f6f6" colspan="2"></td> 
                 </tr> 
              </table> 
               <table width="100%" border="0" align="center" cellpadding="3" cellspacing="2"> 
                <tr> 
                  <td width="180" align="right" bgcolor="#EFF7FF" class=C><font color="#FF0000">* </font>展会简介 </td> 
                   <td valign="top" bgcolor="#ffffde"> <textarea name="brief" rows="8" cols="60"><%=rs("brief")%></textarea></td> 
                 </tr> 
              </table> 
               <br> 
               <table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#4296CE" style="border-bottom:#E7E7E7 5 solid;"> 
                <tr> 
                  <td width="180" align="center" class=M><font color="#ffffff">参展范围</font></td> 
                   <td bgcolor="#FFFFFF">&nbsp; </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#f6f6f6" colspan="2"></td> 
                 </tr> 
              </table> 
               <table width="100%" border="0" align="center" cellpadding="3" cellspacing="2"> 
                <tr> 
                  <td width="180" align="right" bgcolor="#EFF7FF" class=C><font color="#FF0000">* </font>参展范围</td> 
                   <td valign="top" bgcolor="#ffffde"> <textarea name="product" rows="8" cols="60"><%=rs("product")%></textarea></td> 
                 </tr> 
              </table> 
               <br> 
               <table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#4296CE" style="border-bottom:#E7E7E7 5 solid;"> 
                <tr> 
                  <td width="180" align="center" class=M><font color="#ffffff">收费标准</font></td> 
                   <td bgcolor="#FFFFFF">&nbsp; </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#f6f6f6" colspan="2"></td> 
                 </tr> 
              </table> 
               <table width="100%" border="0" align="center" cellpadding="3" cellspacing="2"> 
                <tr> 
                  <td width="180" align="right" bgcolor="#EFF7FF">&nbsp; </td> 
                   <td valign="top" bgcolor="#ffffde"> <textarea name="charge" rows="8" cols="60"><%=rs("charge")%></textarea></td> 
                 </tr> 
              </table> 
               <br> 
               <table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#4296CE" style="border-bottom:#E7E7E7 5 solid;"> 
                <tr> 
                  <td width="180" align="center" class=M><font color="#FFFFFF">展会现场活动</font></td> 
                   <td bgcolor="#FFFFFF">&nbsp; </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#f6f6f6" colspan="2"></td> 
                 </tr> 
              </table> 
               <table width="100%" border="0" align="center" cellpadding="3" cellspacing="2"> 
                <tr> 
                  <td width="180" align="right" bgcolor="#EFF7FF">&nbsp; </td> 
                   <td valign="top" bgcolor="#ffffde"> <textarea name="activity" rows="8" cols="60"><%=rs("activity")%></textarea></td> 
                 </tr> 
              </table> 
               <br> 
               <table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#4296CE" style="border-bottom:#E7E7E7 5 solid;"> 
                <tr> 
                  <td width="180" align="center" class=M><font color="#ffffff">联系资料</font></td> 
                   <td bgcolor="#FFFFFF">&nbsp; </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#f6f6f6" colspan="2"></td> 
                 </tr> 
              </table> 
               <table width="100%" align="center" bordercolordark="#eeeeee" cellspacing="2" border="0" cellpadding="3"> 
                <tr> 
                  <td bgcolor="#EFF7FF" width="180"  class=C align="right"> <font color="#FF0000">*</font> 联系人：</td> 
                   <td bgcolor="#ffffde" valign="top"> <input name="linkman" size="30" value="<%=rs("linkman")%>" maxlength="16"> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> 公司名称：</td> 
                   <td bgcolor="#ffffde" valign="top"> <input name="company" value="<%=rs("company")%>" size="45" maxlength="50"> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> <font color="#FF0000">*</font> 国家或地区：</td> 
                   <td bgcolor="#ffffde" valign="top"> <SELECT style="WIDTH: 90px" 
            onchange=javascript:changeCountry1(this); name=country1> </SELECT> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> 省/州：</td> 
                   <td bgcolor="#ffffde" valign="top"> <SELECT style="WIDTH: 60px" 
            onchange=changeProvince(this); name=province> 
                      <OPTION value="" 
              selected>省份</OPTION> 
                     </SELECT> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> 城 市：</td> 
                   <td bgcolor="#ffffde" valign="top"> <SELECT name=city> 
                      <OPTION value="" 
              selected>地级城市</OPTION> 
                     </SELECT> 
                    <SCRIPT language=javascript src="../../js/area1.js"    
      purpose="INITIALIZER"></SCRIPT> 
                    <SCRIPT language=javascript>
<!--
    //设置国家1的缺省值
    for (var i=0;i<5;i++){
	    if (country1form.options[i].value == '<%=rs("country1")%>'){
		    country1form.options[i].selected=true;
		}
	}

    for (var i=0;i<catArr1.length;i++) {
		catform.options[i+1]=new Option(catArr1[i].title,catArr1[i].id);
		//设置省选择框的选择值
		if(catform.options[i+1].value == '<%=rs("province")%>'){
	        	catform.options[i+1].selected=true;
	        }
	}
	changeProvince(catform);
	var len = boardform.options.length;
	for (var i=0;i<len;i++) {
		//设置城市选择框的选择值
		if(boardform.options[i].value == '<%=rs("city")%>') {
		    boardform.options[i].selected=true;
		}
	}

-->
</SCRIPT></td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> <font color="#FF0000">*</font> 联系地址：</td> 
                   <td bgcolor="#ffffde" valign="top"> <input name="address" value="<%=rs("address")%>" size="45" maxlength="50"> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> 邮 编：</td> 
                   <td valign="top" bgcolor="#ffffde"><input name="zip" value="<%=rs("zip")%>" size="15" maxlength="8"> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> <font color="#FF0000">*</font> 固定电话：</td> 
                   <td valign="top" bgcolor="#ffffde"> <input name="phone" size="30" value="<%=rs("phone")%>" maxlength="32"> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> 传 真：</td> 
                   <td valign="top" bgcolor="#ffffde"> <input name="fax" value="<%=rs("fax")%>" size="30" maxlength="32"> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> 移动电话：</td> 
                   <td bgcolor="#ffffde" valign="top"> <input name="mobile" size="30" value="<%=rs("mobile")%>" maxlength="32"> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> 电子邮件：</td> 
                   <td bgcolor="#ffffde" valign="top"> <input name="email" size="45" value="<%=rs("email")%>" maxlength="50"> </td> 
                 </tr> 
                <tr> 
                  <td bgcolor="#EFF7FF"  class=C align="right"> 网 址：</td> 
                   <td bgcolor="#ffffde" valign="top"> <input name="homepage" value="<%=rs("homepage")%>" size="45" maxlength="50"> </td> 
                 </tr> 
              </table> 
               <br> 
               <table width="100%" align="center"> 
                <tr> 
                  <td align="center" height="50"> <input type="submit" value=" 一切完成，确定修改！" name="Post" class=C> </td> 
                 </tr> 
              </table> 
            </form></td> 
         </tr> 
      </table> 
       <BR> 
       <BR> 
</TABLE> 

<%
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
