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

📄 jsmanage.asp

📁 天创商务网客户资源管理系统 v1,asp+Access,iis5
💻 ASP
字号:
<!--#include file = include.asp-->
<!--#include file = JSSave.asp-->
<!--#include file = CheckPurview.asp-->
<%
  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="">
  <p>&nbsp;</p>
  <table style="border-left: 1px solid #A4CEE4;border-top: 1px solid #A4CEE4;border-bottom: 1px solid #A4CEE4; border-right: 1px solid #A4CEE4" width="567" border="0" cellpadding="0" align="center" cellspacing="1" bgcolor="#96C5DE">
    <tr> 
      <td colspan=8><!--#include file = topMenu.htm--></td>
    </tr>
    <tr> 
      <td height="25" bgcolor="#a4cee4" colspan="7" align="center" valign="middle"><b>已建立的JS列表</b></td>
    </tr>
    <tr bgcolor="#FFFFFF" align="center"> 
      <td height="27" valign="middle" width="91" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><b>JS中文名称 
        </b></td>
      <td height="27" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="95"><b>JS英文名称</b></td>
      <td height="27" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="65"><b>JS类型</b></td>
      <td height="27" valign="middle" width="149" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><b>创建日期</b></td>
      <td height="27" valign="middle" width="68" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><b>JS管理</b></td>
      <td height="27" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="42"><b>修改</b></td>
      <td 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 bgcolor="#FFFFFF" align="center"> 
      <td height="15" valign="middle" width="91" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><%=rs("JSNameCN")%> 
      </td>
      <td height="15" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="95"><%=rs("JSNameEN")%> 
      </td>
      <td height="15" valign="middle" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor=''; width="65"><%=rs("Type")%> 
      </td>
      <td height="15" valign="middle" width="149" onMouseOver=this.style.backgroundColor='#FAFBFC'; this.style.cursor='hand'; onMouseOut=this.style.backgroundColor='';><%=rs("Date")%> 
      </td>
      <td 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 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 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 colspan=3 bgcolor=#ffffff align=left> <a href=JSAdd.asp><b>创建新的JS</b></a> 
      </td>
      <td colspan=5 bgcolor=#ffffff align=right> 
        <input type=hidden value=DEL name=operation>
		<input type="checkbox" name="chkall" onclick="CheckAll(this.form)">选中所有
        <input type=submit value=删除 onclick="return Del()">
      </td>
    </tr>
  </table>
</form>

⌨️ 快捷键说明

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