editnews.asp

来自「为了开发出适用于中小型企业的通用人才管理软件。对于已备电脑等硬件设备而无人才管理」· ASP 代码 · 共 75 行

ASP
75
字号
<%@ Language=VBScript %>
<% If Session(strCookieURL & "www.3rom.com") = "1369852475213" and Session("count")<10 Then %> 
<!--#INCLUDE FILE="inc_Conn.asp" -->
<%
Dim strSql
strSql="select * from News Order by NewsID Desc"
set rs=MyCon.execute(strSql)
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="VI60_defaultClientScript" content="JavaScript">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>DelNews</title>
</head>

<body bgcolor="#D6D3CE">
<div align="center">
  <center>
  <table border="1" width="75%" cellspacing="0" cellpadding="0">
    <tr>
      <td width="5%" bgcolor="#C0C0C0"> </td>
      <td width="90%" colspan="4" bgcolor="#C0C0C0"><a href="Index.asp">返回管理</a></td>
      <td width="5%" bgcolor="#C0C0C0"> </td>
    </tr>
    <% Do while not rs.eof %>
    <% 
    if strbgcolor="#D6D3CE" then 
    strbgcolor="#CCCCff"
    else
    strbgcolor="#D6D3CE"
    end if
    %>
    <tr>
      <td width="5%"> </td>
      <td width="80%" bgcolor="<%=strbgcolor%>"><a href="../ReadNews.asp?NewsID=<%=rs("NewsID")%>"><%=rs("News_Title")%></a></td>
      <td width="4%" bgcolor="<%=strbgcolor%>"><a href="DelNews2.asp?active=Del&amp;NewsID=<%=rs("NewsID")%>"><img alt="永久删除" border="0" hspace="0" src="../IMAGES/icon_trashcan.gif"></a></td>
      <td width="4%" bgcolor="<%=strbgcolor%>"><a href="EditNews2.asp?active=Edit&amp;NewsID=<%=rs("NewsID")%>"><img alt="编辑新闻" border="0" hspace="0" src="../IMAGES/icon_pencil.gif"></a></td>
      <td width="5%" bgcolor="<%=strbgcolor%>"><img alt="放入回收站" border="0" height="15" src="../IMAGES/icon_folder_delete.gif" width="15"></td>
      <td width="5%"> </td>
    </tr>
    <%
    rs.movenext
    Loop
    %>
    <tr>
      <td width="5%" bgcolor="#C0C0C0"> </td>
  </center>
      <td width="90%" colspan="4" bgcolor="#C0C0C0" align="right">
        <a href="Index.asp">返回管理</a>
    </td>
  <center>
      <td width="5%" bgcolor="#C0C0C0"> </td>
    </tr>
  </table>
  </center>
</div>

</body>

</html>
<%
rs.close
set rs=nothing
MyCon.close
set MyCon=nothing
%>
<% 
Else
Response.redirect "Login.asp"
End If
%>

⌨️ 快捷键说明

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