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

📄 change.asp

📁 首页由top.asp index_asp.asp link.asp end.asp构成
💻 ASP
字号:
<%
if session("flag")=1 then
%>
<!--#include file="pic_conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel=stylesheet type=text/css href=style/style.css>
<title></title>
</head>
<body bgcolor="#799AE1">
<div align="center">
 <p> </p>
	<p> </p>
	<p> </p>
<%
dim action,tpid
action=request.QueryString("action")
tpid=request.QueryString("tpid")
set Rs=GrateRs("select * from type",3)
%>
<table border="1" width="52%" cellspacing="0" cellpadding="0" height="76" bordercolor="#3B78C0">
<form>
<tr>
        <td height="25" class=c2 colspan="2" width="392">
        <div align="center">
          <font size="2">栏目管理:</font></div>
        </td>
</tr>
</form>
<%
set Rs=GrateRs("select * from type",3)
if not Rs.eof then 
do while not Rs.eof
%>
<form method="POST" onsubmit action="change_admin.asp?action=edit&tpid=<%=RS("typeid")%>">
    <tr>
      <td width="26%" nowrap class=c2>
      <p align="center"><%=RS("typeid")%></td>
      <td width="74%" nowrap class=c3><font size="2">
      <input type="text" name="typename" size="15" value="<%=RS("type")%>">&nbsp;
      <input type="submit"  value="修改" name="change">&nbsp; 
      <input type="submit" value="删除" name="delet" disabled></font></td>
    </tr>
</form>
<%
Rs.movenext
loop
end if
Rs.close
%>
  <form method="POST" onsubmit action="change_admin.asp?action=addnew">
    <tr>
      <td width="26%" nowrap class=c2>
      <p align="center"><font size="2">新增:</font></td>
      <td width="74%" nowrap class=c3><font size="2">
      <input type="text" name="type" size="15" disabled>&nbsp;
      <input type="submit" value="新增" name="addname" disabled></font></td>
    </tr>
  </form>
</table>
</div>
</body>
</html>
<%
else
%>
<script language="javascript">alert("你没有权限进行该项管理!")</script>
<%
response.write "<script language='JavaScript'>{window.location='right.htm';}</script>"
end if
%>

⌨️ 快捷键说明

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