⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addmed.asp

📁 一套asp编写的供求信息发布网站 一套asp编写的供求信息发布网站
💻 ASP
字号:
<%if trim(request("t1"))="" then response.redirect "addmesg.asp?w=1&adwh=" &request("n")
if len(request("t3"))>1000 then response.redirect "addmesg.asp?w=2&adwh=" &request("n")
%>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>武义热线--供求热线专栏</title>
<style>
<!--
td           { font-size: 9pt }
     A:link {text-decoration: none; color:#000000}
     A:visited {text-decoration: none; color: #000000}
     A:active {text-decoration: none; color: #FF0000}
     A:hover {text-decoration: underline; color: FF0000}
-->
</style>
</head>

<body topmargin="10" leftmargin="0" bgcolor="#FFFFFF">

<div align="center">
  <center>
  <table border="0" width="760" cellspacing="1" cellpadding="0">
    <tr>
      <td width="228" valign="middle"><img border="0" src="wyrx.gif"></td>
      <td width="522" valign="middle" align="center"><img border="0" src="ggt.gif"></td>
    </tr>
    <tr>
      <td width="754" bgcolor="#FEAC37" height="1" colspan="2"></td>
    </tr>
    <tr>
      <td bgcolor="#FFCC99" colspan="2" align="center"><a href="index.asp">首页</a> 
        求租  
        <a href="wh.asp?n=2"> 求购</a> <a href="wh.asp?n=3"> 招租</a> <a href="wh.asp?n=4">    
        招聘</a> <a href="wh.asp?n=5"> 转让</a> <a href="wh.asp?n=6"> 印刷</a>    
        <a href="wh.asp?n=7"> 运输</a> <a href="wh.asp?n=8"> 搬迁</a> <a href="wh.asp?n=9"> 维修</a>    
        <a href="wh.asp?n=10"> 装修</a> <a href="wh.asp?n=11"> 咨询</a> <a href="wh.asp?n=12"> 礼仪</a>    
        <a href="wh.asp?n=13"> 翻译</a> <a href="wh.asp?n=14">    
        家政</a> <a href="wh.asp?n=15"> 求职</a>     
        <a href="wh.asp?n=17"> 招生</a> <a href="wh.asp?n=18"> 声明</a> <a href="wh.asp?n=19"> 启事</a>    
        <a href="wh.asp?n=20"> 征婚</a> <a href="wh.asp?n=21"> 培训</a> <a href="wh.asp?n=22"> 旅游</a>    
        <a href="wh.asp?n=23">    
        生日</a> <a href="wh.asp?n=24"> 娱乐</a> <a href="wh.asp?n=16"> 其它</a></td>  
    </tr>  
    <tr>  
      <td width="754" bgcolor="#FEAC37" height="1" colspan="2"></td>  
    </tr>  
    <tr>  
      <td width="754" height="5" colspan="2"></td>  
    </tr>  
  </table>  
  </center>  
</div>  
  
<div align="center">  
  <center>  
  <table border="0" width="760" cellspacing="0" cellpadding="0">  
    <tr>  
      <td width="756" valign="top">  
        <p>   
        <p>   
        <div align="center">  
          <table border="0" width="80%">  
            <tr>         
              <td width="100%" align="center"><span style="background-color: #FFCC99"><font color="#FFFFE6">||   
                </font>添加成功 </span><font color="#FFFFE6"><span style="background-color: #FFCC99">||</span></font></td>              
            </tr>              
            <tr>              
              <td width="100%" align="center">              
                <p> </p>          
                <p>您的信息已经成功能添加到本站信息库<font color="#FF0000"><%response.write request("adwh")%></font>,我们的网络管理员已经把它发布到网站。</p>          
                <p> </p>          
                <p><a href="index.asp"><font color="#0000FF">&lt;&lt;&lt;返回首页</font></a></p>          
                <p> </p>          
                <p> </p>          
                <p>
                <%set com=server.createobject("adodb.connection")
com.open "DBQ="& Server.MapPath("joh20msg.mdb")  &";Driver={Microsoft Access Driver (*.mdb)};"
if request("n")="求租信息" then n="1"
if request("n")="求购信息" then n="2"
if request("n")="招租信息" then n="3"
if request("n")="招聘信息" then n="4"
if request("n")="转让信息" then n="5"
if request("n")="印刷信息" then n="6"
if request("n")="运输信息" then n="7"
if request("n")="搬迁信息" then n="8"
if request("n")="维修信息" then n="9"
if request("n")="装修信息" then n="10"
if request("n")="咨询信息" then n="11"
if request("n")="礼仪信息" then n="12"
if request("n")="翻译信息" then n="13"
if request("n")="家政信息" then n="14"
if request("n")="求职信息" then n="15"
if request("n")="招生信息" then n="17"
if request("n")="声明信息" then n="18"
if request("n")="启事信息" then n="19"
if request("n")="征婚信息" then n="20"
if request("n")="培训信息" then n="21"
if request("n")="旅游景点" then n="22"
if request("n")="生日信息" then n="22"
if request("n")="娱乐信息" then n="24"
if request("n")="其它信息" then n="16"
t1=replace(request("t1"),"<","〈")
t1=replace(t1,"'","''")
t2=replace(request("t2"),"<","〈")
t2=replace(t2,"'","‘’")
d1=replace(request("d1"),"<","〈")
d1=replace(d1,"'","''")
sz = "'" & t1 & "','" & t2 & "','" & request("t3") & "','" & n &"','" & d1 &"','" & now & "',#" & dateadd("d",request("d2"),date) & "#"
if session("ad")=0 then com.Execute("INSERT INTO msg ( tit,mal,msg,kin,whe,tim,edt ) VALUES(" & sz & ")")
session("ad")=1%></p>    
              </td>   
            </tr>   
          </table>   
        </div>   
      </td>
    </tr>   
    <tr>   
      <td width="758"></td>   
    </tr>   
  </table>   
  </center>   
</div>   
   
<div align="center">   
  <center>   
  <table border="0" width="760" cellspacing="1" cellpadding="0">   
    <tr>   
      <td width="754" bgcolor="#FEAC37" height="1"></td>   
    </tr>   
    <tr>   
      <td bgcolor="#FFCC99" align="center"><a href="index.asp">首页</a> 
        求租 <a href="wh.asp?n=2"> 求购</a>       
        <a href="wh.asp?n=3"> 招租</a> <a href="wh.asp?n=4">       
        招聘</a> <a href="wh.asp?n=5"> 转让</a> <a href="wh.asp?n=6"> 印刷</a>       
        <a href="wh.asp?n=7"> 运输</a> <a href="wh.asp?n=8"> 搬迁</a> <a href="wh.asp?n=9"> 维修</a>       
        <a href="wh.asp?n=10"> 装修</a> <a href="wh.asp?n=11"> 咨询</a> <a href="wh.asp?n=12"> 礼仪</a>       
        <a href="wh.asp?n=13"> 翻译</a> <a href="wh.asp?n=14">       
        家政</a> <a href="wh.asp?n=15"> 求职</a>        
        <a href="wh.asp?n=17"> 招生</a> <a href="wh.asp?n=18"> 声明</a> <a href="wh.asp?n=19"> 启事</a>       
        <a href="wh.asp?n=20"> 征婚</a> <a href="wh.asp?n=21"> 培训</a> <a href="wh.asp?n=22"> 旅游</a>       
        <a href="wh.asp?n=23">       
        生日</a> <a href="wh.asp?n=24"> 娱乐</a> <a href="wh.asp?n=16"> 其它</a></td>       
    </tr>       
    <tr>       
      <td width="754" bgcolor="#FEAC37" height="1"></td>       
    </tr>       
    <tr>       
      <td height="21" align="center"><%com.close%>Copy right by Johnit.net &copy; 1999 - 2000</td>              
    </tr>              
  </table>              
  </center>              
</div>              
              
</body>              
              
</html>              

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -