⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sort.asp

📁 英文版全站B2B仿阿里巴巴贸易平台网站,全英文
💻 ASP
字号:
<%
	if instr(session("EAPurview"),"31")=0 then
		response.redirect "../login.asp"
		response.end
	end if
%>
<!--#include file="../../Inc/DBConn1.asp" -->
<LINK href="../../CSS/style.css" rel="stylesheet" type="text/css"></LINK>

<%
	if request("action")="del" then
		conn.execute("delete from Sort1 where SortID=" & request("SortID"))
	end if
%>

<%
	set SortRs=server.createobject("adodb.recordset")
	SortSql="select * from Sort1 order by SortID ASC"
	SortRs.open SortSql,conn,1,1
%>
<CENTER>
<table width="100%" border="0" cellspacing="0" cellpadding="3" ID="Table1">
	<TR height=30 bgcolor="#F78200">    
		<TD><b><font color="#FFFFFF">行业大类管理&nbsp;——&nbsp;<a href="AddSort.asp"><font color="#FFFFFF">添加行业大类</font></a></font></b></td>
	</tr>
	<tr>
		<td valign=top>
			<TABLE border="0" width="100%" cellpadding="0" ID="Table2">
				<TR height=23>
				<%
					j=1
					while not SortRs.eof
				%>
				<td width="25%" height="25" align="left"><p style="line-height:150%"><a href="Type.asp?SortID=<%=SortRs("SortID")%>"><%=SortRs("SortName")%></a> 〖<a href='EditSort.asp?SortID=<%=SortRs("SortID")%>'><font color=#ff0000>修改</font></a>│<a href='Sort.asp?action=del&SortID=<%=SortRs("SortID")%>' onclick="return confirm('确定要删除这个行业大类吗?')"><font color=#ff0000>删除</font></a>〗</td>
				<%if j mod 2 = 0 then%></tr><tr><%end if%>
				<%
						SortRs.movenext
						j=j+1
					wend
					SortRs.close
					set SortRs=nothing
				%>
			</TABLE>   
		</TD>
	</TR>
</TABLE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -