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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../MapsCharts/StatMaps.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">
        <div style="width: 100%; text-align: center;">
            <asp:Literal ID="LtrRp_Province" runat="server"></asp:Literal>
        </div>
    </div>
    <!--国家省份图标 end -->
    <!--国家省份列表 -->
    <div class="M_r_ti2" style="margin-top: 10px; clear: both;">
        <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">
        <asp:Literal ID="LtrProvinceList" runat="server"></asp:Literal>
    </div>
</asp:Content>
