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

📄 delmessage.asp

📁 一个毕业设计都投稿系统非常不错的,一个毕业设计都投稿系统非常不错的,
💻 ASP
字号:
<head>
<title>警告:您确定删除第<% =id %>篇文章吗?</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body background="images/bj.gif" topmargin="0" leftmargin="0">

<p align="center">

<!-- #include file="conn.asp" -->
<%   
  id=request("id") 
  yesno=request("confirm")
  if request("first")<>"yes" then
%>
<br>
<p align="center"><font color=red size=+1><b>警告:您确定删除第<% =id %>篇文章吗?</b></font><b><BR></b><br>
</p>
<table border=0 cellpadding=1 cellspaceing=0  align="center" width=50%>

<tr align="center">
<td width=50% align="center">
<form action="delmessage.asp?id=<% =id %>&confirm=yes&first=yes" method="post">
<input type=submit value="确定删除" onmouseover="this.style.color='#ff8800'" onmouseout="this.style.color='#eeeeee'">
</form>
</td>
<td width=50% align="center">
<form action="delmessage.asp?id=<% =id %>&confirm=no&first=yes"  method="post">
<input type=submit value="取消删除" onmouseover="this.style.color='#ff8800'" onmouseout="this.style.color='#eeeeee'">
</form> 
</td>
</tr>
</table>
<%  else
    if yesno="yes" then
    sql="delete from mail where id=" & id
    conn.execute(sql)
    conn.close  %>

    <%
    response.write "<font face=黑体  size=+1><br><br><br><center>第"& id &"篇文章已被删除!</font><br><br><a href=admin.asp>返回管理页面</a></center>"
    else
      response.write "<font face=黑体  color=red size=+1><br><br><br><center>取消删除动作!<a href=admin.asp>返回管理页面</a></center></font><BR><BR><BR>"  
    end if      
 end if        
%>
<BR>


</body>

⌨️ 快捷键说明

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