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

📄 additem.asp

📁 SEO过的带数据库的NBA直播程序!解压到根目录更换banner即可!后台admin 密码zidane
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
response.redirect "../0_1.htm"
end if

dname=request.form("dname")

if dname<>"" then
sql="select * from item"
set rs=server.createobject("adodb.recordset")
rs.open sql,connstr,3,2
rs.addnew

rs("name")=dname

rs.update
response.redirect "additemok.asp"
end if
%>

<html>
<head>
<style type="text/css">
<!-- 
td           { font-size: 12px; line-height: 17px }
body         { font-size: 12px; line-height: 17px }
p            { margin-top: 1; margin-bottom: 1 }
a:link       { text-decoration: none; color: black }
a:visited    { text-decoration: none; color: black }
a:active     { text-decoration: none }
a:hover      { text-decoration: underline; color: red }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>添加栏目</title>
</head>

<body background="../images/bg.gif">
 <div align="center">
  <center>
  <table border="0" width="280" cellspacing="0" cellpadding="0" height="63">
    <form action="" method="post">
  </center>
    <tr
      <td width="100%" height="27">
      <p align="center">栏目名称:<input type="text" name="dname" size="25" maxlength="50"> </p>
      </td>                            
    </tr>                        
    <tr>                        
      <td width="101%" align="center" height="36">
        <p align="center"><input type="submit" value="提交" name="submit">&nbsp; 
        <input type="reset" value="取消" name="reset">&nbsp; <input type="button" value="返回" name="cmdexit" onclick=" history.back()"> </p>     
      </td>                             
    </tr>                               
  <center>                             
  <center>                              
    </form>                               
  </table>                               
  </center>                               
</div>                                                                                       
</body>                                                               
                                                               
</html>                                                               

⌨️ 快捷键说明

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