📄 type.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"),"82")=0 then
response.redirect "../err.asp"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>展会信息类别管理</title>
<link rel="stylesheet" type="text/css" href="../css/style.css">
<!--#include file="../../conn/conn.asp" -->
</HEAD>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder">
<tr>
<th width="100%" height=25 class="tableHeaderText">展会信息类别管理 </th>
</tr>
<tr>
<td class="forumRowHighlight"><p><B>注意</B>:<BR>
①类别直接与发布的信息相关联,删除类别可能会影响到以前发布的展会姿讯信息。<BR> </td>
</tr>
</table>
<%
set rstype=server.createobject("adodb.recordset")
sql="select * from expoinfotype "
rstype.open sql,conn,1,1
%>
<br>
<table width="95%" border="0" cellspacing="1" cellpadding="3" align=center class="tableBorder">
<tr>
<th height="22">展会信息类别列表</th>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25"> <IMG src="../images_new/plus.gif" width="9" height="9"> <a href="class_ok.asp?action=add_class_1"><font color=red><b>添加展会资讯类别</b></font></a></td>
<td> </td>
</tr>
</table>
<TABLE border="0" width="100%" cellpadding="0">
<TR>
<%
if rstype.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 rstype.eof
%>
<td width="28%" height="25" class="Forumrow"><p style="line-height: 150%"><IMG src="../images_new/plus.gif" width="9" height="9"> <%=rstype("type")%> 〖<a href=class_ok.asp?action=edit_class_1&id=<%=rstype("id")%>><font color=#ff0000>修改</font></a>│<a href='class_ok.asp?action=del_class_1&id=<%=rstype("id")%>'><font color=#ff0000>删除</font></a>〗</td>
<%if j mod 3 = 0 then %></tr><tr ><%end if%>
<% rstype.movenext
j=j+1
loop
rstype.close
set rstype=nothing
end if
%>
</TABLE></td>
</tr>
</table>
<br>
<!--#include file="../copy.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -