📄 type.asp
字号:
<%@ codepage ="936" %>
<!--#include file="../../conn/conn.asp" -->
<!--#include file="../../Inc/Commoncode.asp" -->
<!--#include file="../checkvalid.asp" -->
<%
If Not FRAdminLevel(307) Then
Call ErrorMsg()
End If
wid=request.QueryString("wid")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>类别管理</title>
<link rel="stylesheet" type="text/css" href="../css/style.css">
</HEAD>
<table width="98%" border="0" cellspacing="1" cellpadding="2" align=center class="tableBorder">
<tr>
<th height=25 colspan="2" class="tableHeaderText"><%call ChannelNametitle()%>管理 </th>
</tr>
<tr>
<td width="10%" height=25 class="forumRowHighlight"> <B>操作选项</B></td>
<FORM name=searchForm action="index.asp?wid=<%=wid%>" method=post onSubmit="javascript:if(doSearch()==false) return false;"><td class="forumRowHighlight">
关键字:<input name="keywords" type="text" value="<%=keywords%>">
所属类别:
<select name="typeid" size="1">
<%
set rs1=conn.execute("select * from job_hrnewsType where type_fid="&wid)
do while not rs1.eof
response.write "<option value='"&rs1("typeid")&"'>"&rs1("type")&" 类信息</option>"&chr(13)+chr(10)
rs1.movenext
loop
rs1.close
%>
</select> <input name=submit type="submit" class="inputs" id=submit value="立刻查找">
</td></form>
</tr>
<tr>
<td height=25 class="forumRowHighlight"> </td>
<td class="forumRowHighlight"><a href="addinfo.asp?wid=<%=wid%>">添加<%call ChannelNametitle()%></a> | <a href="index.asp?wid=<%=wid%>">管理<%call ChannelNametitle()%></a> | <a href="Class_Ok.asp?action=add_class_1&wid=<%=wid%>">添加信息类别</a> | <a href="type.asp?wid=<%=wid%>">管理信息类别</a> | [<a href="javascript:location.reload()">刷新页面</a>] </td>
</tr>
</table>
<%
set rssort=server.createobject("adodb.recordset")
sql="select * from job_hrnewstype where type_fid="&wid
rssort.open sql,conn,1,1
%>
<br>
<table width="95%" border="0" cellspacing="1" cellpadding="3" align=center class="tableBorder">
<tr>
<th height="22"><%call ChannelNametitle()%>类别列表</th>
</tr>
<tr>
<td class="Forumrow"><TABLE border="0" width="100%" cellpadding="0">
<TR>
<%
if rssort.eof then
response.Write"<br><br><div align='center'>暂无类别请<a href=class_ok.asp?action=add_class_1>添加</a></div><br><br>"
else
j=1
do while not rssort.eof
%>
<td width="28%" height="25"><p style="line-height: 150%"><IMG src="../images_new/plus.gif" width="9" height="9"> <%=rssort("type")%> 〖<a href=class_ok.asp?action=edit_class_1&wid=<%=wid%>&id=<%=rssort("typeid")%>><font color=#ff0000>修改</font></a>│<a href='class_ok.asp?action=del_class_1&wid=<%=wid%>&id=<%=rssort("typeid")%>'><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>
</table>
<br>
<!--#include file="../inc/copy.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -