<%if trim(request("gq"))="" then response.redirect "addmesg.asp?w=1&adwh=" &request("n")
if trim(request("t1"))="" then response.redirect "addmesg.asp?w=2&adwh=" &request("n")
if trim(request("t5"))="" then response.redirect "addmesg.asp?w=3&adwh=" &request("n")
if trim(request("t4"))="" then response.redirect "addmesg.asp?w=4&adwh=" &request("n")
if trim(request("t3"))="" then response.redirect "addmesg.asp?w=5&adwh=" &request("n")
if len(request("t3"))>1000 then response.redirect "addmesg.asp?w=6&adwh=" &request("n")
%>
<!--#include file="top.htm"-->



<div align="center">
  <center>
    
  </center>  
</div>  
  
<div align="center">  
  <center>
    <table width="782" border="0" cellspacing="2" cellpadding="2">
      <tr> 
        <td width="540" valign="top" bgcolor="#F4FBF8"> 
          <table width="520" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td class=f14><strong><font color="#FF6600">·添加成功</font></strong></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td class=f14><div align="center"><font color="#FF0000">恭喜！您的信息已经成功能添加到本站信息库！</font></div></td>
            </tr>
          </table> 
          <%set com=server.createobject("adodb.connection")
com.open "DBQ="& Server.MapPath("data.mdb")  &";Driver={Microsoft Access Driver (*.mdb)};"

t1=replace(request("t1"),"<","〈")
t1=replace(t1,"'","''")
t2=replace(request("t2"),"<","〈")
t2=replace(t2,"'","‘’")
t4=replace(request("t4"),"<","〈")
t4=replace(t4,"'","‘’")
t5=replace(request("t5"),"<","〈")
t5=replace(t5,"'","‘’")
gq=replace(request("gq"),"<","〈")
gq=replace(gq,"'","‘’")
n=replace(request("n"),"<","〈")
n=replace(n,"'","‘’")
d1=replace(request("d1"),"<","〈")
d1=replace(d1,"'","''")
sz = "'" & t1 & "','" & t2 & "','" & t4 & "','" & t5 & "','" & gq & "','" & request("t3") & "','" & n &"','" & d1 &"','" & now & "',#" & dateadd("d",request("d2"),date) & "#"
if session("ad")=0 then com.Execute("INSERT INTO msg ( tit,mal,tel,lxr,gq,msg,kin,whe,tim,edt ) VALUES(" & sz & ")")
session("ad")=1%>
        </td>
        <td width="227" valign="top" bgcolor="#DCEBE1"> <table width="96%" border="0" align="center" cellspacing="0">
            <tr> 
              <td width="100%"></td>
            </tr>
            <tr> 
              <td height="20"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td width="8%"><img src="in4_08.gif" width="11" height="11"></td>
                    <td width="92%" class=f14 ><font color="#FF3300"><strong>信息搜索</strong></font></td>
                  </tr>
                </table></td>
            </tr>
            <tr> 
              <td width="100%" height="44"> <form method="POST" action="search.asp">
                  <table border="0" width="100%" cellspacing="0" cellpadding="2">
                    <tr> 
                      <td width="100%" align="center"> <input name="search" type="text" id="search" size="14"> 
                        <input type="submit" name="Submit" value="搜索"></td>
                    </tr>
                  </table>
                </form></td>
            </tr>
            <tr> 
              <td width="100%" height="19"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr> 
                    <td width="8%"><img src="in4_08.gif" width="11" height="11"></td>
                    <td width="92%" class=f14 ><font color="#FF3300"><strong>信息分类</strong></font></td>
                  </tr>
                </table></td>
            </tr>
            <tr> 
              <td height="19"><table width="96%" border="0" align="center" cellpadding="2" cellspacing="2">
                  <tr> 
                    <td class=f14 > <div align="center"><a href="fl.asp?n=1">招商投资</a><br>
                      </div></td>
                    <td class=f14 ><div align="center"><a href="fl.asp?n=2">生活服务</a></div></td>
                  </tr>
                  <tr> 
                    <td class=f14 ><div align="center"><a href="fl.asp?n=3">家电产品</a></div></td>
                    <td class=f14 ><div align="center"><a href="fl.asp?n=4">旅游出行</a></div></td>
                  </tr>
                  <tr> 
                    <td class=f14 ><div align="center"><a href="fl.asp?n=5">招聘求职</a></div></td>
                    <td class=f14 ><div align="center"><a href="fl.asp?n=6">房产家居</a> 
                      </div></td>
                  </tr>
                  <tr> 
                    <td class=f14 ><div align="center"><a href="fl.asp?n=7">电脑网络</a></div></td>
                    <td class=f14 ><div align="center"><a href="fl.asp?n=8">美容美发</a></div></td>
                  </tr>
                  <tr> 
                    <td class=f14 ><div align="center"><a href="fl.asp?n=9">美食天地</a></div></td>
                    <td class=f14 ><div align="center"><a href="fl.asp?n=10">医疗保健</a></div></td>
                  </tr>
                  <tr> 
                    <td class=f14 ><div align="center"><a href="fl.asp?n=11">招生培训</a></div></td>
                    <td class=f14 ><div align="center"><a href="fl.asp?n=12">出国留学</a></div></td>
                  </tr>
                  <tr> 
                    <td class=f14 ><div align="center"><a href="fl.asp?n=13">交友征婚</a></div></td>
                    <td class=f14 ><div align="center"><a href="fl.asp?n=14">农业信息</a></div></td>
                  </tr>
                  <tr> 
                    <td class=f14 ><div align="center"><a href="fl.asp?n=15">商务服务</a></div></td>
                    <td class=f14 ><div align="center"><a href="fl.asp?n=16">其他分类</a></div></td>
                  </tr>
                </table></td>
            </tr>
            <tr> 
              <td height="19">&nbsp;</td>
            </tr>
          </table></td>
      </tr>
    </table>
    </center>   
</div>   
   
<div align="center">   
  <center>
    <!--#include file="bottom.htm"-->
  </center>              
</div>              
              
