<!--#include file="../include/Config.asp"-->
<!--#include file="check_login.asp"-->
<body>
<% set rs=server.CreateObject("adodb.recordset")
sql="select * from corpuser_info order by username desc"
rs.open sql,conn,2,3
%>
<form id="form1" name="form1" method="post" action="">
<table width="762" border="1">
<tr>
<td width="289"><span class="STYLE3">用户名</span><span class="STYLE1">(username)</span></td>
<td width="263"><span class="STYLE7">logo信息</span></td>
<td width="188"><span class="STYLE4">管理</span></td>
</tr>
<%do while not rs.eof and rs.bof%>
<tr>
<td><%=rs("username")%></td>
<td><%=rs("logo")%></td>
<td><a href="zhenzhi_log.asp?username=<%=rs("username")%>&act="显示" target="_self" class="STYLE4">显示</a><span class="STYLE4">/</span><a href="zhenzhi_log.asp?username=<%rs("username")%>&act=“不显示" target="_self" class="STYLE4">不显示</a></td>
</tr>
<%rs.movenext%>
<%loop%>
</table>
</form>
<% act=request.querystring("act")
username=request.querystring("username")
set rb=server.createobject("adodb.recordset")
sql="select * from corpuser_info where username='"&username&"' "
rb.open sql,conn,2,3
if act="显示" then
rb("logo")=1
else
rb("logo")=0
rb.update
rb.close
set rb=nothing
conn.close
set conn=nothing
end if
%>
</body>
</html>
[此贴子已经被作者于2007-9-24 11:49:09编辑过]