📄 depmanage.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="ChkUser.asp" -->
<!--#include file="ChkManage.asp" -->
<!--#include file="Function.asp"-->
<%
IF request.cookies(eChuang)("ManageKEY")<>"super" then
Show_Err("对不起,您的后台管理权限不够!")
response.end
else
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%> <%=ver%> - 单位部门管理_建站铺修正版_bbs.jzpu.com</title>
</head>
<body topmargin="0">
<!--#include file=Admin_Top.asp-->
<center>
<table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFDFBF" width="100%" id="AutoNumber1">
<tr class="TDtop">
<td colspan="5" width="100%" height=25 align="center" valign="middle" height="24">
┊ <strong>单位部门管理</strong> ┊
</td>
</tr>
<%dim deptype
deptype=ChkRequest(request("deptype"),0) '防注入
Set rs6 = Server.CreateObject("ADODB.Recordset")
if deptype="" then
sql6 ="select * from "& db_dep_Table &" order by ID"
else
sql6 ="select * from "& db_dep_Table &" where deptype="&deptype&" order by ID"
end if
rs6.open sql6,Conn,3,3
%>
<tr align="center" class="TDtop1">
<td width="3%" >原序</td>
<td width="10%" >单位名称</td>
<td width="6%" height="25" >部门名称</td>
<td width="4%" >累计稿件</td>
<td width="10%" >单位编辑</td>
</tr>
<%do while not rs6.eof%>
<tr>
<td width="3%" align="center" bgcolor="#FFFFFF"><%=rs6("ID")%></td>
<td width="10%" align="center" bgcolor="#FFFFFF"><%=nohtml(rs6("depname"))%></span></td>
<td width="6%" height="25" align="center" bgcolor="#FFFFFF">
<%deptype=nohtml(rs6("deptype"))
response.write ""& deptype &""
%>
</td>
<td width="4%" align="center" bgcolor="#FFFFFF"><%=rs6("depnumber")%></td>
<td width="10%" bgcolor="#FFFFFF" align="center">
<a href="DepEdit.asp?ID=<%=rs6("ID")%>&depName=<%=nohtml(rs6("depName"))%>&deptype=<%=nohtml(rs6("deptype"))%>" onMouseOver="window.status='编辑单位“<%=nohtml(rs6("depName"))%>”的属性';return true;" onMouseOut="window.status='';return true;" title='编辑单位“<%=nohtml(rs6("depName"))%>”的属性'>编辑</a>
<a href="DepKill.asp?ID=<%=rs6("ID")%>&depName=<%=nohtml(rs6("depName"))%>" onMouseOver="window.status='删除单位“<%=nohtml(rs6("depName"))%>”';return true;" onMouseOut="window.status='';return true;" title='删除单位“<%=nohtml(rs6("depName"))%>”'>删除</a>
</td>
</tr>
<%
rs6.MoveNext
loop
rs6.close
set rs6=nothing
%>
<tr>
<td colspan="5" height="40" align="center" width="100%" bgcolor="#FFFFFF"> </td>
</tr>
<form method="post" action="depadd.asp" name="name">
<tr>
<td align="center" colspan="5" width="100%" height="34">
增加单位:<input class=text type="text" name="depname" size="15" onMouseOver="window.status='在这里输入要增加的单位名称';return true;" onMouseOut="window.status='';return true;" title="在这里输入要增加的单位名称" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
单位部门:<input class=text type="text" name="deptype" size="15" onMouseOver="window.status='在这里输入要增加的单位部门';return true;" onMouseOut="window.status='';return true;" title="在这里输入要增加的部门名称" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
<input type="submit" name="Submit" value="添加" title="按这个按钮添加这个单位" onMouseOver="window.status='按这个按钮重新添加小类';return true;" onMouseOut="window.status='';return true;" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
<input type="reset" value="重写" name="B1" title="按这个按钮重新添加单位" onMouseOver="window.status='按这个按钮重新添加单位';return true;" onMouseOut="window.status='';return true;" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
</form>
</table>
</center>
</body>
</html>
<!--#include file=Admin_Bottom.asp-->
<%conn.close
set conn=nothing
end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -