edit.asp
资源名称:1.rar [点击查看]
上传用户:ziqing_518
上传日期:2022-08-09
资源大小:446k
文件大小:1k
源码类别:
多媒体编程
开发平台:
ASP/ASPX
- <!--#include file="users.asp" -->
- <!--#include file="config.asp" -->
- <!--#include file="../md5.asp" -->
- <!--#include file="cookies.asp" -->
- <%
- end if
- rs.close
- set rs=nothing
- end if
- %>
- <!--#include file="function.asp" -->
- <!--#include file="code.asp" -->
- <!--#include file="first.asp" -->
- <!--#include file="js.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 height=233 valign=top>
- <script language="javascript">
- function submitonce(theform){
- //if IE 4+ or NS 6+
- if (document.all||document.getElementById){
- //screen thru every element in the form, and hunt down "submit" and "reset"
- for (i=0;i<theform.length;i++){
- var tempobj=theform.elements[i]
- if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
- //disable em
- tempobj.disabled=true
- }
- }
- }
- </script><%
- select case request("post")
- case "edit"
- edit_aedit()
- case "save"
- edit_save()
- case "del"
- edit_del()
- case else
- edit_aedit()
- end select
- %></td>
- </tr>
- </table>
- <br><hr width=735>
- <center>
- </center>
- </body>
- </html>