@using GBLab.Common.Expand;
@using System.Data;
@{
    Layout = null;
    var CmsConfig = ViewData["CmsConfig"] as GBLab.Entities.Config.CmsConfig;
    string baidu = CmsConfig.Site_Baidu.DefaultIsNullOrEmpty("");
    string jd = "118.144208";
    string wd = "24.486084";
    if (baidu != "" && baidu.IndexOf(",") >= 0) {
        string[] mappath = baidu.Split(',');
        jd = mappath[0];
        wd = mappath[1];
    }

    DataTable GetCms_Count_Info = ViewData["GetCms_Count_Info"] as DataTable;
    DataTable GetCms_Count_Info_ThisMonth = ViewData["GetCms_Count_Info_ThisMonth"] as DataTable;
}
<form style="margin-top:4px;">
    <span id="SystemConfig_TypeId" style="display: none;"></span>
    <div class="tabs" currentindex="0" eventtype="click">
        <div class="tabsHeader">
            <div class="tabsHeaderContent">
                <ul>
                    <li><a href="javascript:;"><span>网站 - 控制台</span></a></li>
                    <li style="display:none;"><a href="javascript:;"><span>预留</span></a></li>
                    <li style="display:none;"><a href="javascript:;"><span>预留</span></a></li>
                    <li style="display:none;"><a href="javascript:;"><span>预留</span></a></li>
                </ul>
            </div>
        </div>
        <div class="tabsContent console" layoutH="47">
            <div>
                <div class="pageFormContent" style="padding:0px; background-color: #eef4f5;border-style:none;" layoutH="47">
                    <div class="col-md-12 col-sm-12">
                        <div class="panel collapse" defH="100">
                            <h1>当月数据</h1>
                            <div class="midContainer">
                                <div class="iconitem">
                                    <div class="icon">网站资讯</div>
                                    <div class="text">@(GetCms_Count_Info_ThisMonth.Rows[0]["newsNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站相册</div>
                                    <div class="text">@(GetCms_Count_Info_ThisMonth.Rows[0]["imgsNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站教师</div>
                                    <div class="text">@(GetCms_Count_Info_ThisMonth.Rows[0]["teacherNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站招聘</div>
                                    <div class="text">@(GetCms_Count_Info_ThisMonth.Rows[0]["hireNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站留言</div>
                                    <div class="text">@(GetCms_Count_Info_ThisMonth.Rows[0]["guestbookNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站菜单</div>
                                    <div class="text">@(GetCms_Count_Info_ThisMonth.Rows[0]["nodeNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12 col-sm-12">
                        <div class="panel collapse" defH="100">
                            <h1>历史数据【汇总】</h1>
                            <div class="midContainer">
                                <div class="iconitem">
                                    <div class="icon">网站资讯</div>
                                    <div class="text">@(GetCms_Count_Info.Rows[0]["newsNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站相册</div>
                                    <div class="text">@(GetCms_Count_Info.Rows[0]["imgsNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站教师</div>
                                    <div class="text">@(GetCms_Count_Info.Rows[0]["teacherNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站招聘</div>
                                    <div class="text">@(GetCms_Count_Info.Rows[0]["hireNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站留言</div>
                                    <div class="text">@(GetCms_Count_Info.Rows[0]["guestbookNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                                <div class="iconitem">
                                    <div class="icon">网站菜单</div>
                                    <div class="text">@(GetCms_Count_Info.Rows[0]["nodeNum"].DefaultIsNullOrEmpty(0))</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12 col-sm-12">
                        <div class="panel collapse">
                            <h1>学校地址</h1>
                            <div class="midContainer" layoutH="377">
                                <div id="map" class="col-xs-12 col-md-12" style="height:100%;">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding:0px; background-color: #eef4f5;border-style:none;" layoutH="47">
                    <div class="col-md-6 col-sm-12">
                        <div class="panel collapse" defH="150">
                            <h1>预留</h1>
                            <div class="midContainer">
                                预留
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding:0px; background-color: #eef4f5;border-style:none;" layoutH="47">
                    <div class="col-md-6 col-sm-12">
                        <div class="panel collapse" defH="150">
                            <h1>预留</h1>
                            <div class="midContainer">
                                预留
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding:0px; background-color: #eef4f5;border-style:none;" layoutH="47">
                    <div class="col-md-6 col-sm-12">
                        <div class="panel collapse" defH="150">
                            <h1>预留</h1>
                            <div class="midContainer">
                                预留
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tabsFooter">
            <div class="tabsFooterContent">
            </div>
        </div>
    </div>
</form>
<script src="http://api.map.baidu.com/api?v=2.0&ak=6PYkS1eDz5pMnyfO0jvBNE0F"></script>
<script src="http://api.map.baidu.com/library/Heatmap/2.0/src/Heatmap_min.js"></script>
<script>
        var Item = new gblab_baidumap.func();
        Item.config.id = 'map';
        Item.config.ischangecity = false;
        Item.config.lng = '@(jd)';
        Item.config.lat = '@(wd)';
        Item.config.title = '学校软件';
        Item.config.info = '@(CmsConfig.Site_Contract_Address)';
        Item.init();
</script>