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

📄 special.asp

📁 综合信息管理系统
💻 ASP
字号:
<!--#include file="Conn.ASP"-->
<%
IF not(Session("KEY")="super" or Session("KEY")="input" or Session("KEY")="check") 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" >
      <font color="#ff0000">把鼠标移到专题名称上将出现该专题的注释</font></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"><span style="CURSOR: hand" title="<%if rs6("specialzs")<>"" then%><%=rs6("specialzs")%><%else%>无<%end if%>"><%=rs6("specialName")%></span><%if session("key")="super" then%><font color=red>(<%=rs6("specialmaster")%>)</font><%end if%></td>
      <td width="40%" bgcolor="#FFFFFF" align="center"><%if session("key")="super" or session("key")="check" or rs6("specialmaster")=session("username") then%><a href="Specialedit.asp?SpecialID=<%=rs6("SpecialID")%>&SpecialName=<%=rs6("SpecialName")%>" >编辑</a> 
        <a href="Specialkill.asp?SpecialID=<%=rs6("SpecialID")%>&SpecialName=<%=rs6("SpecialName")%>" >删除</a><%end if%></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"><br>
          增加专题: 
          <input class=text type="text" name="type" size="15" style="font-family: 宋体; font-size: 9pt"> 
        专题注释:<input class=text type="text" name="specialzs" size="15" style="font-family: 宋体; font-size: 9pt"><input type="hidden" name="Specialmaster" value="<%=session("username")%>"> <input type="submit" name="Submit" value="添加" class=button>
          <input type="reset" value="重写" name="B1" class=button>
        </td>
      </form>
    </tr>
  </table>
</center>
</body>
</html>
<%conn.close
set conn=nothing%>

⌨️ 快捷键说明

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