<!--#include file="head.asp"-->
<!--#include virtual="/inc/getip/index.asp"-->
<style>body{background-color: #fff;}</style>

<%
act=SafeRequest("act")
cact=SafeRequest("cact")
page=SafeRequest("page")
link="log_all?ct="

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


end if


%>



<main>
<div  class="container">
<div class="ui-lrctnei">
<%call userleft()%>
<div class="r"> 
<div class="ui-content">
                        
					
                            
<div class="neiye">


            <!-------------------------------------- 开始 -------------------------------------->									
            <div class="neibiaoti"></div>
            <div class="neibiaoti2">操作日志</div>
           	<div class="gexian"></div>
                	<div class="neitable">

					<table>
                        <tr class="hd">
                            <td>状态</td>
                            <td>信息</td>
                            <td>IP</td>
                            <td>位置</td>
                            <td>时间</td>
                        </tr>
						<%
                        sql="select * from "&request.Cookies("rzku")&" where ayloguserid="&clng(request.Cookies("aynameid"))&" and isshow=0 order by aylogid desc" 
                        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='#FAFAFA' onmouseout=this.bgColor='#ffffff'>
                            <td>
							<%
                            if cint(rs("aylogerr"))=0 then response.Write("成功")
                            if cint(rs("aylogerr"))=1 then response.Write("失败")
                            %>
                            </td>
                            <td><%=rs("aylogcon")%></td>
                            <td><%=rs("aylogip")%></td>
                            <td>
							<%
                            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><%=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="5" style="text-align:left">
                            &nbsp;&nbsp;<%call pageye()%> <a style="color:#339900" href="log_all">[查看所有日志]</a>
                            </td>
                        </tr>

                    </table>

            		</div>
            <!-------------------------------------- 结束 -------------------------------------->
                   


                                                                 
                   
            <div class="gexian20"></div>
            <div class="mzsmbox2" style="padding-top:20px;">
            提示：商家日志，平台保留180天!
            </div>
          </div>
            
           




        <div class="clearfix"></div>



</div>








</div>
</div>
</div>
</div>
</main>


<footer>
<div class="container">
</div>
</footer>

</body>
</html>