www.gusucode.com > 共享世纪内容管理系统 2.1 build 080704 全站开源版 > admin/JSManage.asp
<%Admin="InfoJS"%> <!--#include file="check.asp"--> <!--#include file="mdb_path_info.asp"--> <!--#include file = JSSave.asp--> <!--#include file="top.asp"--> <html> <head> <title>管理中心 - 共享世纪新闻文章管理系统</title> <meta copy="WWW.2KY.CN 共享世纪"> <link rel="stylesheet" href="admin.css" type="text/css"> <% '========================================== ' ' 晓宇听幽新闻文章管理系统 2004 ' ' 主页地址:http://www.xoYu.com ' '========================================== '程序名称:晓宇听幽新闻文章管理系统 '英文名称:xoYu News 2004 Professional '程序创建时间:2003-7-10 '程序完成时间:2003-9-11 '最后修改时间:2003-10-10 '========================================== if request.form("operation")="DEL" then num=request.form("JSNameEN").count for i=1 to num set rs2=Server.CreateObject("adodb.recordset") sql2="select JSNameCN from JS Where JSNameEN='"&request.form("JSNameEN")(i)&"'" rs2.open sql2,conn,1,1 JSNameCN=rs2("JSNameCN") rs2.close set rs2=nothing conn.execute("delete from js where JSNameEN='"&request.form("JSNameEN")(i)&"'") conn.execute("delete from JSFile where JSName='"&JSNameCN&"'") DelJS(request.form("JSNameEN")(i)) next end if set rs=Server.CreateObject("adodb.recordset") sql="select JSNameCN,JSNameEN,Type,Date,PhotoCSS,ID from JS order by Date Desc" rs.open sql,conn,1,1 %> <body background="images/BLogo.gif"> <form name="form" method="POST" action=""> <table width="95%" border="0" cellspacing="1" cellpadding="3" align=center class="tableBorder"> <tr> <th height="25" bgcolor="#99CCFF" colspan="7" align="center" valign="middle"><b> <img border="0" src="images/NEWWIN.GIF"> 已建立的JS列表</b></th> </tr> <tr align="center"> <td class=forumHeaderBackgroundAlternate height="27" valign="middle" width="91" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><b>JS中文名称 </b></td> <td class=forumHeaderBackgroundAlternate height="27" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="95"><b>JS英文名称</b></td> <td class=forumHeaderBackgroundAlternate height="27" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="65"><b>JS类型</b></td> <td class=forumHeaderBackgroundAlternate height="27" valign="middle" width="149" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><b>创建日期</b></td> <td class=forumHeaderBackgroundAlternate height="27" valign="middle" width="68" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><b>JS管理</b></td> <td class=forumHeaderBackgroundAlternate height="27" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="42"><b>修改</b></td> <td class=forumHeaderBackgroundAlternate height="27" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="42"><b>删除</b></td> </tr> <% while not rs.eof %> <tr align="center"> <td class=forumrow height="15" valign="middle" width="91" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><%=rs("JSNameCN")%> </td> <td class=forumrow height="15" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="95"><%=rs("JSNameEN")%> </td> <td class=forumrow height="15" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="65"><%=rs("Type")%> </td> <td class=forumrow height="15" valign="middle" width="149" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><%=rs("Date")%> </td> <td class=forumrow height="15" valign="middle" width="68" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><a href="JSDel.asp?JSNameCN=<%=rs("JSNameCN")%>&Type=<%=rs("Type")%>&PhotoCSS=<%=rs("PhotoCSS")%>">管理 </a> </td> <td class=forumrow height="15" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="42"><a href=JSModify.asp?ID=<%=rs("ID")%>>修改</a> </td> <td class=forumrow height="15" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="42"> <input type=checkbox name=JSNameEN value=<%=rs("JSNameEN")%>> </td> </tr> <% rs.movenext wend rs.close set rs=nothing %> <tr> <td class=forumHeaderBackgroundAlternate colspan=3 bgcolor=#ffffff align=left> <b> <a href=JSAdd.asp>创建新的JS</a> <img border="0" src="images/new.gif"></b> </td> <td class=forumHeaderBackgroundAlternate colspan=5 bgcolor=#ffffff align=right> <input type=hidden value=DEL name=operation> <input type="checkbox" name="chkall" onclick="CheckAll(this.form)" value="ON">选中所有 <input type=submit value=删除 onclick="return Del()"> </td> </tr> </table> </form> </body> </html>