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

<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 st = $("#sTime").val();
            var et = $("#eTime").val();
            if (!strDateTime(st)) { alert('日期不正确'); $("#sTime").focus(); return; }
            if (!strDateTime(et)) { alert('日期不正确'); $("#eTime").focus(); return; }
            if (GetDaySpan(st, et) > 30) { alert("两个时间差不能够超过30天!"); return; }
            var params = { wid: $("#hdfWebid").val(), st: st, et: et };
            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.ToShortDateString()%>
            &gt;
            <%=statModel.EndTime.ToShortDateString()%>）</span>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpMSG" runat="server">
    <span class="M_b14">小贴士：</span>时段分析为您提供网站任意时间内的流量变化情况。
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cpNAV" runat="server">
    <%=Stat.Html.ViewNav.GetNavigation(statModel.WebID,statModel.StartTime,statModel.EndTime)%>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cpMain" runat="server">
    <!--日访问趋势图 -->
    <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.ToShortDateString()%>
                &gt;
                <%=statModel.EndTime.ToShortDateString()%>）</span></a>
    </div>
    <div class="Rp_Box" style="margin-top: 5px;" id="Ctfolder1">
        <asp:Literal ID="LtrRp_Day" 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.ToShortDateString()%>
                &gt;
                <%=statModel.EndTime.ToShortDateString()%>）</span></a>
    </div>
    <div style="margin-top: 5px;" id="Ctfolder2">
        <div style="margin-top: 5px; margin-bottom: 5px; clear: both; text-align: center;">
            <asp:Literal ID="LtrDayRp_PageIndex" runat="server"></asp:Literal></div>
        <asp:Literal ID="LtrDayList" runat="server"></asp:Literal>
        <div style="margin-top: 10px; clear: both; text-align: center;">
            <asp:Literal ID="LtrDayPageIndex" runat="server"></asp:Literal></div>
    </div>
    <!--日访问量分布 end -->
    <!--小时访问趋势图 -->
    <div class="M_r_ti2" style="margin-top: 10px;">
        <a onclick="Ctshow('Ctfolder3',3);" style="cursor: pointer; margin-top: 5px;"><span>
            <img src="images/icng_on.gif" id="Ctimg3" border="0"></span><span class="M_b14">&nbsp;小时段访问分布图</span>
            <span>（<%=statModel.StartTime.ToShortDateString()%>
                &gt;
                <%=statModel.EndTime.ToShortDateString()%>）</span></a>
    </div>
    <div class="Rp_Box" style="margin-top: 5px;" id="Ctfolder3">
        <asp:Literal ID="LtrRp_Hour" runat="server"></asp:Literal>
    </div>
    <!--小时访问趋势图 end -->
    <!--小时访问量分布-->
    <div class="M_r_ti2" style="margin-top: 10px;">
        <a onclick="Ctshow('Ctfolder4',4);" style="cursor: pointer; margin-top: 5px;"><span>
            <img src="images/icng_on.gif" id="Ctimg4" border="0"></span><span class="M_b14">&nbsp;小时段访问量分布</span>
            <span>（<%=statModel.StartTime.ToShortDateString()%>
                &gt;
                <%=statModel.EndTime.ToShortDateString()%>）</span></a>
    </div>
    <div style="margin-top: 5px;" id="Ctfolder4">
        <asp:Literal ID="LtrHourList" runat="server"></asp:Literal>
    </div>
</asp:Content>
