<!--#include file="inc/articlechar.inc"-->
<%
set conn=server.createobject("adodb.connection")
DBPath = Server.MapPath("music.mdb")
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath
Set rs = Server.CreateObject("ADODB.Recordset")
%>
<%
if request.form("images")="" then 
response.write "错误提示:请输入缩图地址!"
response.end
end if
if request.form("images1")="" then 
response.write "错误提示:请输入贺卡地址!"
response.end
end if
%>
<%
images=htmlencode2(request.form("images"))
images1=htmlencode2(request.form("images1"))
title=htmlencode2(request.form("title"))

sql="select * from learning" 

rs.open sql,conn,3,2
rs.addnew
rs("typeid")=Request.Form("typeid")
rs("images")=images
rs("images1")=images1
rs("title")=title
rs("dateandtime")=date()
rs.update
rs.close
%><head>
</head>

<body bgcolor="#0099CC">
<div align="center">
  <table border="0" cellspacing="5" width="50%" bordercolorlight="#006cd9" 
bordercolordark="#FFFFFF" cellpadding="5" bgcolor="#FFFFFF">
    <tr bgcolor="#006cd9"> 
      <td width="100%" height="20" bgcolor="#0099CC"> 
        <p align="center"><font color="#FFFFFF"><b>添加成功</b></font> 
      </td>
    </tr>
    <tr>
      <td width="100%">
        <p align="left"><br>
          歌曲为： 
          <%response.write title%>
        </p>
<p align="center">是否继续添加？<br>
    <br>
    <a href="addarticle.asp">
    是</a>&nbsp;&nbsp; <a href="manage.asp">否</a><br>
    <br>
    </p>
        </td>
    </tr>
    </table>
</div>
