📄 modflyunion.asp
字号:
<!--#include file="function.asp"-->
<html>
<head>
<%CheckAdmin1%>
<%PageName="admin"%>
<!--#include file="conn.asp"-->
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>插件后台管理系统</title>
<style type=text/css>
body { background:#009ace; margin:0px; font:normal 12px 宋体;
SCROLLBAR-FACE-COLOR: #009ace; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #009ace; SCROLLBAR-DARKSHADOW-COLOR: #009ace;
SCROLLBAR-3DLIGHT-COLOR: #009ace; SCROLLBAR-ARROW-COLOR: #def0fa;
SCROLLBAR-TRACK-COLOR: #def0fa;
}
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover { color:#428EFF;text-decoration:underline; }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#def0fa; }
.menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
</head>
<body bgcolor="#8DDFFB"><br>
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" width="98%" bordercolor="#CCCCCC" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF" bgcolor="#8DDFFB">
<tr>
<td width="20%" align="center" height="22">用户名</td>
<td width="20%" align="center" height="22">密码</td>
<td width="20%" align="center" height="22">联盟ID</td>
<td width="20%" align="center" height="22">扣量</td>
<td width="20%" align="center" height="22">单价</td>
<td width="20%" align="center" height="22">修改</td>
<td width="20%" align="center" height="22">删除</td>
</tr>
<%
set rs=server.createobject("adodb.recordset")
sql= "select * from userbiao order by id desc"
rs.open sql,conn,1,1
if rs.bof and rs.eof then
%>
<%else%>
<%do while not rs.eof%>
<form action="modflyunionok.asp" method="post" name="zh" onSubmit="return checkform()">
<input type="hidden" name="id" value="<%=rs("id")%>">
<tr>
<td width="20%" align="center" height="22"><%=rs("username")%> </td>
<td width="20%" align="center" height="22"><input type="text" name="T2" size="10" maxlength="10" value="<%=rs("password")%>"></td>
<td width="20%" align="center" height="22"><input type="text" name="T3" size="10" maxlength="10" value="<%=rs("baohao")%>"></td>
<td width="20%" align="center" height="22"><input type="text" name="T4" size="5" maxlength="10" value="<%=rs("kou")%>"></td>
<td width="20%" align="center" height="22"><input type="text" name="T5" size="5" maxlength="10" value="<%=rs("jiage")%>"></td>
<td width="20%" align="center" height="22"><input type="submit" value=" 修·改 " name="zh"></td>
<td width="20%" align="center" height="22"><input type="button" value=" 删·除 " onClick="if(confirm('确实要删除该条新闻吗?删除后不能恢复!')){location.href='delunion.asp?id=<%=rs("id")%>';}"></td>
</tr></form>
<%i=i+1
if i>=10000 then exit do
rs.movenext
loop
rs.close
set rs=nothing
end if
conn.close
set conn=nothing
%>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -