?? del.asp
字號:
<link href="css.css" rel="stylesheet" type="text/css">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25"><a href="admin.asp">首頁</a> <a href="add.asp">添加試題</a> <a href="delete_all.asp">刪除試題</a> <a href="SEARCH.ASP">列出試題答案</a> <a href="change_password.asp">修改密碼</a> <a href="login.asp">登入</a> <a href="20050130_logout.asp">退出</a> <a href="http://www.25175.com">powered by 25175</a></td>
</tr>
</table>
<%if session("password")<>"" then%>
<script language="javascript">
function confirmDel(id){
if (confirm("確定這個刪除?"))
{
window.location.href = "delnews.asp?id=" + id
}
}
</script>
<!--#include file="conn.asp" -->
<%
sql="select * from test order by id desc"
rs.open sql,conn,1,3
if rs.EOF then
Response.Write "沒記錄"
else
%>
<title>25175.com</title>
<link href="css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%do while not rs.EOF%>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50" height="25"><%=rs("id")%></td>
<td width="190"><%=rs("question")%></td>
<td width="25"><a href='javascript:confirmDel(<%= rs("id") %>)'>刪除</a> </td>
<td width="25"><div align="center">
</div></td>
</tr>
</table>
<%
rs.MoveNext
loop
end if
rs.Close
set rs=nothing
set conn=nothing
%>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="350" height="20"> </td>
<td>
</td>
</tr>
</table>
<%
else
Response.Redirect "20050130_loginagine.asp"
end if
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -