?? sort.asp
字號:
<%@ codepage ="936" %>
<%
if Request.Cookies("globalec")("globalecmaster")="" or Request.Cookies("globalec")("masterflag")="" then
response.write "<script language='javascript'>"
response.write"this.location.href='../login.asp';</SCRIPT>"
response.end
end if
if instr(Request.Cookies("globalec")("masterflag"),"102")=0 then
response.redirect "../err.asp"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../css/style.css" rel=stylesheet type=text/css>
<!--#include file="../../conn/conn.asp"-->
<script language="javascript">
function del_help_sort(id){
if (confirm("刪除大類將刪除下屬的小類!真的要刪除這個大類嗎?"))
window.location.href="Admin_class_ok.asp?action=del_help_sort&id="+id+""
}
</script>
</HEAD>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder">
<tr>
<th height=25 colspan="2" class="tableHeaderText">幫助信息類別管理 </th>
</tr>
<tr>
<td colspan="2" class="forumRowHighlight"><p><B>注意</B>:<BR>
<font color="blue">①類別直接與之前發布的信息相關聯,刪除類別可能會影響到之前發布的信息。<br>
②點擊類別名稱進入相應下級分類,點擊相應的分類操作屬性進行相應操作。</font><br>
<font color="red">③如:要添加二級分類——>先點擊大類進入二級類——>添加二級類別</font>
[<a href="sort.asp">返回大類</a>] </td>
</tr>
</table>
<%
set rssort=server.createobject("adodb.recordset")
sql="select * from help_sort "
rssort.open sql,conn,1,1
%>
<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder">
<tr>
<th height="22">幫助信息大類列表</th>
</tr>
<TR>
<TD height=25 class=bodytitle> <IMG src="../images_new/plus.gif" width="9" height="9"> <a href="admin_class_ok.asp?action=add_help_sort"><font color=red><b>添加幫助信息大類</b></font></a></td>
</tr>
<tr>
<td valign=top>
<TABLE width="100%" border="0" cellpadding="5" cellspacing="5">
<TR>
<%
if rssort.eof then
response.Write"<br><br><div align='center'>暫無類別請<a href=admin_class_ok.asp?action=add_help_sort>添加</a></div><br><br>"
else
j=1
do while not rssort.eof
%>
<td width="28%" height="25" align="left" class="Forumrow"><p style="line-height: 150%"><IMG src="../images_new/plus.gif" width="9" height="9"> <a href="type.asp?sortid=<%=rssort("sortid")%>"><%=rssort("sort")%></a> 〖<a href=Admin_class_ok.asp?action=edit_help_sort&id=<%=rssort("sortid")%>><font color=#ff0000>修改</font></a>│<a href='javascript:del_help_sort(<%=rssort("sortid")%>)'><font color=#ff0000>刪除</font></a>〗</td>
<%if j mod 3 = 0 then %></tr><tr><%end if%>
<% rssort.movenext
j=j+1
loop
rssort.close
set rssort=nothing
end if
%>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<br>
<!--#include file="../copy.asp" -->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -