<!--#include virtual="/show/userhead.asp"-->
<!--#include virtual="/inc/getip/index.asp"-->

<script>document.getElementById('o_7').setAttribute("class", "ed"); document.getElementById("t_7").style.display="";document.getElementById('s_7_6').setAttribute("class", "ed4");</script>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title><%=webname%>-日志管理</title>
<%
act=SafeRequest("act")
cact=SafeRequest("cact")
page=SafeRequest("page")
link="log_all?ct="

if cact="cha" then
link="log_all?cact=cha"


end if


%>
<br>
<DIV id=main2> 
<DIV style="PADDING-LEFT:0px">
<DIV id=main_right_content>

<H2><SPAN>日志管理</SPAN></H2>
<DIV class=main3>
  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_style_a1">
     <form action="?act=alldel&page=<%=page%>" method="post" name="myform" id="myform"> 
       <tr>
         <th align="center" class="border_right border_bottom" >
		  会员ID
		<th align="center" class="border_right border_bottom">结果
        <th align="center" class="border_right border_bottom">内容       
        <th align="center" class="border_right border_bottom">IP
        <th align="center" class="border_right border_bottom">位置        
        <th align="center" class="border_bottom">时间        </tr>
<%
sql="select * from "&request.Cookies("rzku")&" where ayloguserid="&clng(request.Cookies("aynameid"))&" and isshow=0 order by aylogid desc" 
'response.Write sql
'response.End()
rs.open sql,conn,1,1
rs.pagesize=20
pagecount=rs.pagecount 
if request("page")="" then 
page=1
else
page=int(request("page")) 
end if
if page<=0 then page=1 
if request("page")="" then page=1
if not(rs.bof and rs.eof) then
rs.absolutepage=page
do while not rs.eof%>

	  <tr onmouseover=this.bgColor='#D2FFFF' onmouseout=this.bgColor='#ffffff'>
        <td align="center" class="border_right border_bottom">
		<%
		if rs("ayloguserid")<>"" then 
		response.Write rs("ayloguserid")
		else
		response.Write ("-")
		end if
		%>		</td>
        <td align="center" class="border_right border_bottom">
		<%
		if cint(rs("aylogerr"))=0 then response.Write("成功")
		if cint(rs("aylogerr"))=1 then response.Write("失败")
		
		%>		</td>
        <td align="center" class="border_right border_bottom"><%=rs("aylogcon")%></td>
        <td align="center" class="border_right border_bottom"><%=rs("aylogip")%></td>
        <td align="center" class="border_right border_bottom">
		<%
		if trim(rs("ayipd"))<>"" then
		response.Write trim(rs("ayipd"))
		else
		if trim(rs("aylogip"))<>"" then response.Write Look_Ip(rs("aylogip"))
		end if
		%>
        </td>
        <td align="center" class="border_bottom"><%=rs("aylogdate")%></td>
	    </tr>
<%
n=n+1
rs.movenext  '指针向下移动
if n>=rs.pagesize then exit do  
loop
end if
zongshu=rs.RecordCount
rs.close%>
	  

      <tr>
        <td colspan="6">&nbsp;

<%call pageye()%></td>
      </tr></form>
    </table>
</DIV>


</DIV></DIV>
<DIV class=clear></DIV></DIV>
</DIV>

<br>

	<!--#include virtual="/show/foot.asp"-->


