📄 smallclass.asp
字号:
<!--#include file="Session.asp"-->
<!--#include file="Conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel=STYLESHEET type=text/css>
<title>新闻小类</title></head>
<body leftmargin="0" topmargin="0">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="mainmiddle">
<tr>
<td width="29" height="32"> <div align="left">
<p class="maindaohang"> </p>
</div></td>
<td width="709"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
</table>
<b><font color="#000000"><b> <span class="bigNavi">新闻小类管理</span> 删除小类将会删除所有属于该小类的新闻! <a href="bigclass.asp"><font color="#FF0000">[返回新闻大类]</font></a></b></font></b></td>
<td width="8" class="mainrights"></td>
</tr>
</table>
<form name="formadd" method="post" action="scmanage.asp?action=add&id=<%=request("id")%>">
<table width="90%" height="22" border="0" align="center" cellpadding="3" cellspacing="1" class="tabbgcolor">
<tr class="tabbgcolorli">
<td width="24%"><div align="center">添加该大类下的小类</div></td>
<td width="22%"><div align="center">
<input type="text" name="scadd" class="border" size="10">
</div></td>
<td width="14%">文件名称</td>
<td width="20%"><div align="center">
<input type="text" name="name1" class="border" size="10">
.htm</div></td>
<td width="20%"><div align="center">
<input type="submit" value="添加" class="border">
</div></td>
</tr>
</table>
</form>
<table width="76%" height="22" border="0" align="center" cellpadding="3" cellspacing="1" class="tabbgcolor">
<tr class="tabbgcolorli">
<td width="14%"><div align="center">排序</div></td>
<td width="26%"><div align="center">小类名称</div></td>
<td width="27%"><div align="center">文件名称</div></td>
<td width="11%"><div align="center">SEO</div></td>
<td width="14%"><div align="center">操作</div></td>
<td width="19%"><div align="center">操作</div></td>
</tr>
<%
'=======================================
'88red科技独立开发完成本程序,并提供免费技术支持与升级服务
'官方网站 http://www.88red.com QQ:8375158 TEL:13964489818
'对于商业客户,本站提供细致周到的各项售后服务;对于盗版客户恕不提供,对于散播本程序者本站将追究其法律责任
'88red科技将陆续开发其他各种先进程序,例如企业网站建站系统等等,对老客户购买其他程序给予最大程度的优惠,欢迎洽谈
'=======================================
set rs=server.createobject("adodb.recordset")
sql="select * from smallclass where cstr(bcid)='"+cstr(request("id"))+"' order by paixu"
rs.open sql,conn,1,1
if rs.eof then
response.write "暂且没有相关小类"
response.end
else
i=0
do while not rs.eof
i=i+1
%>
<form name="formsc" method="post" action="scmanage.asp?action=rename&id6=<%=int(rs("scid"))%>&id2=<%=request("id")%>">
<tr class="tabbgcolorli">
<td width="14%"><div align="center">
<input type="text" name="order1" value="<%=trim(rs("paixu"))%>" size="6" class="border">
</div></td>
<td width="26%"><div align="center">
<input type="text" name="scname" value="<%=trim(rs("scname"))%>" class="border">
</div></td>
<td width="27%"><div align="center"><a href="../<%=trim(rs("name2"))%>1.htm" target="_blank"><%=trim(rs("name2"))%></a></div></td>
<td width="11%"><div align="center"><a href="smallclass1.asp?id=<%=rs("scid")%>&id2=<%=request("id")%>">设置</a></div></td>
<td width="14%"><div align="center"><a href="scmanage.asp?action=del&id8=<%=rs("scid")%>&cid=<%=request("id")%>&name3=<%=trim(rs("name2"))%>" onclick="return confirm('该删除操作将无法恢复!是否继续?')">删除</a></div></td>
<td width="19%"><div align="center">
<input type="submit" value="修改" class="border">
</div></td>
</tr>
</form>
<%rs.movenext
loop
rs.close
set rs=nothing
end if
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -