delid.asp

来自「一个bbs的代码」· ASP 代码 · 共 50 行

ASP
50
字号
<%@ Language=VBScript %>
<!--#INCLUDE FILE="conn.asp" -->
<!--#INCLUDE FILE="copyright.asp" -->
<html>
<%
Set rs2 = Server.CreateObject("ADODB.Recordset")
sql2 ="SELECT * From config Order By id DESC"
RS2.open sql2,Conn,3,3
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rs2("title")%>-删除<%if request("id2")="0" then%>贴子<%else%>主题<%end if%></title>
</head>
<%top%>
<br>
<body>

</body>

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#99CC00" width="100%" id="AutoNumber1" height="85" bgcolor="#F3F3F3">
  <tr>
    <td width="100%" height="85">
    <form method="POST" action=<%if request("id2")="0" then%>"del2.asp?id=<%=request("id")%>&topicid=<%=request("topicid")%>"<%else%>"del.asp?id=<%=request("id")%>"<%end if%>>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="52">
        <tr>
          <td width="30%" height="24"> </td>
          <td width="12%" height="24" align="center">用户名:</td>
          <td width="23%" height="24">
          <input type="text" name="name" size="20" style="border: 1px solid #99CC00"></td>
          <td width="35%" height="24"> </td>
        </tr>
        <tr>
          <td width="30%" height="28"> </td>
          <td width="12%" height="28" align="center">密&nbsp; 码:</td>
          <td width="23%" height="28">
          <input type="text" name="pass" size="20" style="border: 1px solid #99CC00"></td>
          <td width="35%" height="28"> </td>
        </tr>
      </table>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <input align="center" type="submit" value="提交" name="B1" style="border-style: solid; border-width: 1; background-color: #99CC00"> 
      <input align="center" type="reset" value="重置" name="B2" style="border-style: solid; border-width: 1; background-color: #99CC00">
    </form>
    </td>
  </tr>
</table>
<br>
<%copyright%></html>

⌨️ 快捷键说明

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