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

📄 special.asp

📁 一个不错的代码 一个不错的代码 一个不错的代码
💻 ASP
字号:
<!--#include file="Conn.ASP"-->
<%
IF not(Session("KEY")="super" or Session("KEY")="input") THEN
response.redirect "login.asp"
response.end
END IF
%>
<html>
<head>
<title>专题管理</title>
<LINK href=style.css rel=stylesheet>
</head>
<body>
<br>
<center>
  <table border="0" width="80%" bgcolor="#000000" cellpadding="0" cellspacing="1">
    <tr bgcolor="#abb8d6"> 
      <td  colspan="3" width="100%" align="center" valign="middle" height="55"><b>专 
        题 管 理</b> </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td  colspan="3" width="100%" align="center" valign="middle" >&nbsp;</td>
    </tr>
    <%
Set rs6 = Server.CreateObject("ADODB.Recordset")
sql6 ="SELECT  * From Special order by SpecialID"
RS6.open sql6,Conn,3,3
%>
    <tr align="center" bgcolor="#abb8d6"> 
      <td>ID</td>
      <td width="30%">专题名称</td>
      <td width="40%">执&nbsp;&nbsp;&nbsp;行</td>
    </tr>
    <%			
do while not rs6.eof
%>
    <tr> 
      <td align="center" bgcolor="#FFFFFF"><%=rs6("SpecialID")%></td>
      <td width="30%" align="center" bgcolor="#FFFFFF"><%=rs6("SpecialName")%></td>
      <td width="40%" bgcolor="#FFFFFF" align="center"><a href="Specialedit.asp?SpecialID=<%=rs6("SpecialID")%>&SpecialName=<%=rs6("SpecialName")%>" >编辑</a> 
        <a href="Specialkill.asp?SpecialID=<%=rs6("SpecialID")%>&SpecialName=<%=rs6("SpecialName")%>" >删除</a></td>
    </tr>
    <%
RS6.MoveNext
Loop

rs6.close
set rs6=nothing
%>
    <tr> 
      <form method="post" action="Specialadd.asp" name="type">
        <td align="center" colspan="3" width="100%" bgcolor="#abb8d6" height="60"> 
          增加分类: 
          <input class=text type="text" name="type" size="15">
          <input type="submit" name="Submit" value="添加">
          <input type="reset" value="重写" name="B1">
        </td>
      </form>
    </tr>
  </table>
</center>
</body>
</html>
<%conn.close
set conn=nothing%>

⌨️ 快捷键说明

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