<%@ Page Language="C#" MasterPageFile="~/v/ST.Master" EnableViewState="false" AutoEventWireup="true"
    CodeBehind="Online.aspx.cs" Inherits="Stat.web.v.Online" Title="无标题页" %>

<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);

        ////            $("td[id^='ipShow_']").bind('click', function () {
        ////                alert('User clicked on "foo."');
        //            });

        //        });
        //        function searchData() {
        //            var fo = $("#sArea").val();
        //            var ip = $("#sIP").val();
        //            if (!IsIP(ip)) { alert('IP不正确'); $("#sIP").focus(); return; }
        //            var params = { wid: $("#hdfWebid").val(), fo: fo, ip: ip };
        //            location.href = "?" + jQuery.param(params);
        //        }



        function GetInfo(ip, thisobj) {
            $.get("/MyAJAX/HdfGetIpinfo.ashx?ip=" + ip + "", function (data) {
                $(thisobj).html(data);
            });

        }
    </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>当前 的在线情况（注：UV 是按Cookies 统计的。）
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cpNAV" runat="server">
    <%-- <%=Stat.Html.ViewNav.GetNavigation(statModel.WebID,statModel.IpInfo,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"></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>
    <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"></span> <span>(<%=statModel.StartTime.ToShortTimeString()%>
                &gt;
                <%=statModel.EndTime.ToShortTimeString()%>)</span></a>
    </div>
    <div style="margin-top: 5px;" id="Ctfolder2">
        <asp:Literal ID="LtrOnlineList" runat="server"></asp:Literal>
        <div style="margin-top: 8px; clear: both; text-align: center;">
            <asp:Literal ID="LtrOnLinePageIndex" runat="server"></asp:Literal>
        </div>
    </div>
</asp:Content>
