sort.asp
资源名称:1.rar [点击查看]
上传用户:ziqing_518
上传日期:2022-08-09
资源大小:446k
文件大小:2k
源码类别:
多媒体编程
开发平台:
ASP/ASPX
- <!--#include file="users.asp" -->
- <!--#include file="config.asp" -->
- <!--#include file="../md5.asp" -->
- <!--#include file="cookies.asp" -->
- <%
- if rs4("boolAllSort")=False then
- Response.Redirect "index.asp"
- end if
- end if
- rs.close
- set rs=nothing
- end if
- %>
- <!--#include file="function.asp" -->
- <!--#include file="code.asp" -->
- <!--#include file="first.asp" -->
- <table border=0 cellspacing=0 style='border-collapse:collapse' width=735 height=233 cellpadding=3>
- <tr>
- <td width=185 valign=top>
- <!--#include file="inc.asp" -->
- </td>
- <td width=550 valign=top><%
- select case request("post")
- case "del"
- sort_del()
- case "edit"
- sort_edit1()
- case "save"
- sort_save()
- case else
- %>
- <table border="0" width="100%" cellspacing="0" cellpadding="3">
- <tr>
- <td width="100%" align="center" class=shadow2><b>--==分类管理==--</b><BR><BR></td>
- </tr>
- <tr>
- <form method="POST" action="sort.asp?post=save">
- <td width="100%">添加大类: <input type="text" name="big" size="15" style="background-color: #F3F3F3; border: 1 solid #000000">
- <input type="submit" value="提交" name="sub" style="background-color: #F3F3F3; border: 1 solid #000000" onclick="{if(big.value.length<1){alert('大类的名字不能为空');big.focus();return (false);}}"></td></form>
- </tr>
- <tr>
- <form method="POST" action="sort.asp?post=save">
- <td width="100%">添加小类: <input type="text" name="sort" size="15" style="background-color: #F3F3F3; border: 1 solid #000000">
- 所属大类: <select size="1" name="bigid" style="background-color: #F3F3F3; border: 1 solid #000000"><%sort_sbig()%>
- </select> <input type="submit" value="提交" name="sub" style="background-color: #F3F3F3; border: 1 solid #000000" onclick="{if(sort.value.length<1){alert('小类的名字不能为空');sort.focus();return (false);}}"><BR><BR></td></form>
- </tr>
- <tr>
- <td width="100%">
- <div align="left">
- <table border="0" width="90%" cellspacing="1" cellpadding="3"><%sort_show()%>
- </table>
- </div>
- </td>
- </tr>
- </table>
- <%end select%>
- </td>
- </tr>
- </table>
- <br><hr width=735>
- <center>
- </center>
- </body>
- </html>