国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

用排序串字段實現樹狀結構(例程——刪除貼子)

2019-11-18 22:30:02
字體:
來源:轉載
供稿:網友
程序名稱:delrec.asp
程序功能:刪除貼子(剪枝)

<!-- #include file="lybcon.inc" -->
<%
flag=request("flag")
keyid=request("keyid")
pageno=request("pageno")
passWord=request.form("password")
if flag="1" then
  if password="你的管理密碼" then
   set guestconn=Server.CreateObject("ADODB.connection")
   guestconn.Open lybstr
   set cm = Server.CreateObject("ADODB.Command")
   Set cm.ActiveConnection = guestconn
   cm.CommandText = "lybdel"
   cm.CommandType = 4
   set p = cm.Parameters
   p.Append cm.CreateParameter("@keyid",3,1,4)
   cm("@keyid")=keyid
   cm.execute
   guestconn.close
   set guestconn=nothing
   response.redirect "index.asp?pageno="&pageno
  end if
end if
%>
<html>
<head><title>軟件使用留言薄管理</title>
<style TYPE="text/CSS">
<!--
a {  text-decoration: none}
body {line-height:18px;font-size:9pt;font-family:宋體}
a:hover {color:#FF0000;text-decoration:none}
.submit {line-height:9pt;font-size:9pt;font-family:宋體}
.submit1 {line-height:8pt;font-size:8pt;font-family:宋體}
.selectform {font-family: 宋體; font-size: 9pt;background-color:ffE4E4}
td {font-family: 宋體; font-size: 9pt;background-color:ECF7FF}
.td1 {font-family: 宋體; font-size: 9pt;background-color:A2C8F2}
.td2 {font-family: 宋體; font-size: 9pt;background-color:E9EDE0}
.small1 {font-family: 宋體; font-size: 9pt;background-color:ffffff;line-height:9pt}
-->
</style>
</head>
<body topmargin=16 background='topbg.gif'>
<br><br><br>
<form name='manage' action='delrec.asp' method='post'>
<input type=hidden name='flag' value='1'>
<input type=hidden name='keyid' value='<% =keyid %>'>
<input type=hidden name='pageno' value='<% =pageno %>'>
<table width=80% align=center>
  <tr>
   <td align=right>請輸入管理密碼:</td>
  <td align=left><input type='password' name='password' size=20 class='submit'></td>
  <td align=center><input type='submit' value='刪除該留言' class='submit'></td>
</tr>
</table>
</form>

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 屯留县| 麟游县| 周口市| 通州区| 巴青县| 临武县| 沭阳县| 佛学| 甘谷县| 札达县| 高阳县| 南乐县| 荃湾区| 高阳县| 栾城县| 勃利县| 鹰潭市| 安图县| 延庆县| 中山市| 寿光市| 闻喜县| 府谷县| 淮安市| 盐源县| 霍邱县| 荣昌县| 离岛区| 修水县| 安化县| 婺源县| 宣恩县| 淮阳县| 林西县| 余江县| 利辛县| 沙洋县| 曲靖市| 延庆县| 门源| 靖宇县|