<%@ Page Title="" Language="C#" MasterPageFile="~/v/ST.Master" EnableViewState="false" AutoEventWireup="true" CodeBehind="StayPage.aspx.cs" Inherits="Stat.web.v.SOnLinePage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="../StatCharts/StatCharts.js" type="text/javascript"></script>
<script type="text/javascript"> 
    $(document).ready(function(){
     $("#SubmitSearch").bind('click',searchData);  
   });   
   function searchData() {    
    var pUrl=$("#sPage").val();
    var ip=$("#sIP").val();
    if(!IsIP(ip)){alert('IP不正确');$("#sIP").focus();return;}
    var params = { wid:$("#hdfWebid").val(), pUrl:pUrl,ip:ip};
    location.href="?"+jQuery.param(params);
   }
</script>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpTop" runat="server">
<div style="margin-top: 5px;">
    当前位置：在线情况
    </div>
<div style="margin-top: 15px;">
    <span class="M_r_ti">停留页面</span>
     <span>（<%=statModel.StartTime.ToShortTimeString()%> &gt; <%=statModel.EndTime.ToShortTimeString()%>）</span>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpMSG" runat="server">
<span class="M_b14">小贴士：</span>“停留页面”为您提供最近20分钟内的在线用户停留在您网站的哪个页面。（用户最新点击的那个页面） 
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cpNAV" runat="server">
<%=Stat.Html.ViewNav.Page_IP(statModel.WebID,statModel.CurrentUrl,statModel.IP) %>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cpMain" runat="server">
<div>
    <table style="width: 100%; margin-top:10px;">
        <tr>
            <td align="center">
             <span class="cOnline">当前 PV（20分钟）：</span><span class="redb16"><%=totaliPV%></span>
            </td>
            <td align="center">
             <span class="cOnline"> 当前 IP（20分钟）：</span><span class="redb16"><%=totaliIP%></span>
            </td>
            <td align="center">
             <span class="cOnline"> 当前 UV（20分钟）：</span><span class="redb16"><%=totaliUV%></span>
            </td>
        </tr>
    </table>
</div>
<!--当前在线趋势图 -->
<div class="M_r_ti2" style="margin-top: 10px;">
                <a onclick="Ctshow('Ctfolder1',1);" style="cursor: pointer; margin-top: 5px;"><span>
                    <img src="images/icng_on.gif" id="Ctimg1" border="0"></span><span class="M_b14">&nbsp;当前用户活动</span>
                    <span>（<%=statModel.StartTime.ToShortTimeString()%> &gt; <%=statModel.EndTime.ToShortTimeString()%>）</span></a>
</div>
<div class="Rp_Box" style="margin-top: 5px;" id="Ctfolder1">
             <asp:Literal ID="LtrRp_Online" runat="server"></asp:Literal>
</div> 
<!--当前在线趋势图 end -->

<!--当前停留页面 -->
<div class="M_r_ti2" style="margin-top: 10px;">
                <a onclick="Ctshow('Ctfolder2',2);" style="cursor: pointer; margin-top: 5px;"><span>
                    <img src="images/icng_on.gif" id="Ctimg2" border="0"></span><span class="M_b14">&nbsp;当前停留页面</span>
                    <span>（<%=statModel.StartTime.ToShortTimeString()%> &gt; <%=statModel.EndTime.ToShortTimeString()%>）</span></a>
</div>
<div style="margin-top: 5px;" id="Ctfolder2">
   <asp:Literal ID="LtrOnPageList" runat="server"></asp:Literal>
   <div style="margin-top: 8px; clear:both; text-align:center;">
   <asp:Literal ID="LtrOnPagePageIndex" runat="server"></asp:Literal>
   </div>
</div>

<!--当前停留页面 end -->


</asp:Content>
