<div id="centre" class="layout">
    <div class="centreInner ">
        <div class="mainInner radius5 "> 
            <!--头部 tab 开始-->
            <div class="titleTabBox">
                <div class="titleTab">
                    <?=$tab?>
                </div>
            </div>
            <!--头部 tab 结束-->
            <div class="statisticsReport">
                <div class="belongBox statisticsReportTable radius5">
                    <table class="table">
                        <tbody>
                            <tr>
                                <th class="th br inset">时间</th>
                                <th colspan="2" class="th w97 br inset"> <div class="thDiv inset">激活总量</div>
                        <table class="table">
                            <tbody>
                                <tr>
                                    <td class="thhTg br inset">出售</td>
                                    <td class="thhTg inset">出租</td>
                                </tr>
                            </tbody>
                        </table>
                        </th>

						<th class="th w97 br inset"> <div class="thDiv inset">激活全景总量</div>
                        <table class="table">
                            <tbody>
                                <tr>
                                    <td class="thhTg br inset">出售</td>
                                </tr>
                            </tbody>
                        </table>
                        </th>

                        <th colspan="2" class="th w97 br inset"> <div class="thDiv inset">激活多图总量</div>
                        <table class="table">
                            <tbody>
                                <tr>
                                    <td class="thhTg br inset">出售</td>
                                    <td class="thhTg inset">出租</td>
                                </tr>
                            </tbody>
                        </table>
                        </th>
                        <th colspan="2" class="th w97 br inset"> <div class="thDiv inset">新增房源总量</div>
                        <table class="table">
                            <tbody>
                                <tr>
                                    <td class="thhTg br inset">有效</td>
                                    <td class="thhTg inset">失效</td>
                                </tr>
                            </tbody>
                        </table>
                        </th>
                        <th colspan="2" class="th w97 br"> <div class="thDiv inset">刷新总量</div>
                        <table class="table">
                            <tbody>
                                <tr>
                                    <td class="thhTg br inset">已用</td>
                                    <td class="thhTg inset">剩余</td>
                                </tr>
                            </tbody>
                        </table>
                        </th>
                        <th colspan="2" class="th w97 br"> <div class="thDiv inset">急推标签</div>
                        <table class="table">
                            <tbody>
                                <tr>
                                    <td class="thhTg br inset">已用</td>
                                    <td class="thhTg inset">剩余</td>
                                </tr>
                            </tbody>
                        </table>
                        </th>
						<!--
                        <th colspan="2" class="th w97 br"> <div class="thDiv inset">新房直售</div>
                        <table class="table">
                            <tbody>
                                <tr>
                                    <td class="thhTg br inset">在用</td>
                                    <td class="thhTg inset">剩余</td>
                                </tr>
                            </tbody>
                        </table>
                        </th>-->
                        </tr>
                        <tr>
                            <td class="td br"><?=$data['time']?></td>
                            <td class="td w48 br"><?=$data['sellCount']?></td>
                            <td class="td w48 br"><?=$data['rentCount']?></td>
							<td class="td w48 br"><?=$data['sell360Count']?></td>
                            <td class="td w48 br "><?=$data['sellCountStar']?></td>
                            <td class="td w48 br"><?=$data['rentCountStar']?></td>
                            <td class="td w48 br "><?=$data['countToday']?></td>
                            <td class="td w48 br"><?=$data['noCountToday']?></td>
                            <td class="td w48 br "><?=$data['refreshCountToday']?></td>
                            <td class="td w48 br"><?=$data['remainRefresh']?></td>
                            <td class="td w48 br "><?=$data['jtLabelCount']?></td>
                            <td class="td w48 br "><?=$data['remainJtLable']?></td>
							<!--
                            <td class="td w48 br "><?=$data['sellNewCount']?></td>
                            <td class="td w48 br "><?=$data['remainNew']?></td>-->
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>

            <!----> 
        </div>
    </div>
</div>
<?php if(1){ ?>
			<div class="cover"></div>
			<div class="pop warn" style="display: none;">
				<span class="hidepop"onclick="HidePop('warn')" title="关闭">X</span>
				<h2>统计功能暂停使用通知！</h2>
				<div class="popwap">
					<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;因365二手房部分功能的升级，数据库需做相应的调整。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;即日起租售宝的点击统计、刷新统计等功能暂停使用。系统升级预计需要一周（2016年5月23日—2016年5月30日）时间，系统升级期间，除涉及到的统计功能以外，其它功能的使用不受影响。
</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;感谢您对365淘房工作的理解与支持！</p>
<p align="center"><button class="hidepop" id="nopop"  title="下次不再提醒">知道了</button></p>
				</div>
			</div>
			<style>
				.cover{ position: fixed; left: 0;top:0; background: rgba(0,0,0,0.6); z-index: 19;}
				.pop{ padding:10px;border-radius: 3px; position: fixed; z-index: 20; background: #fff;}
				.pop span.hidepop{ position: absolute; right:-10px;top:-10px; background: #FF0000; border-radius: 10px; color: #fff; height: 20px; width: 20px; text-align: center;cursor:pointer;}
				.pop h2{ text-align: center; font-size: 16px; font-weight: 700; padding: 10px;}
				.popwap button{cursor:pointer; border-radius: 3px; font-size: 14px;color:#fff; padding: 5px 10px; background: #2a83c7;-webkit-transition:1s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important;-moz-transition:1s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important;-ms-transition:1s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important;-o-transition:1s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important;transition:1s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important}
				.popwap button:hover{ background: #2574b0;}
				.popwap{ width: 510px; font-size: 14px; line-height: 26px; }
				.popwap p{ margin-top: 10px;}
				.popwap span{font-weight: 700; color: #FF0000;}
			</style>
			<script src="http://pic.house365.com/static/jquery/jquery-1.11.1.min.js"></script>
			<script>
				$(document).ready(function(){
					
					$.ajax({
						async:false,  
						type: 'POST',  
						url : '/welcome_li/ajax_operate_cookie/', 
						data:{'action':'getstatvisit'},
						success: function(msg){
							//alert(msg);
							if(msg==0){
								ShowPop("warn");
							}
						}
					});

					$("#nopop").click(function(){
						HidePop('warn');
						$.ajax({ 
							async:false,  
							type: 'POST',  
							url : '/welcome_li/ajax_operate_cookie/', 
							data:{'action':'setstatvisit'},
								success: function(msg){
								
							}
						}); 

					})

				});
				
				//弹出提示
				function ShowPop(show,obj){
					var bh = $(window).height(); 
					var bw = $(window).width();
					$(".cover").css({ 
						height:2 * bh, 
						width:bw, 
						display:"block" 
					}); 
					var name=show;
					var width=$("." + show).width();
					var height=$("." + show).height();  
					var t=height/2;
					var l=width/2;
					
					$("." + show).css({ 
						"top":bh/2 - t,
						"left":bw/2 - l
					}); 
					/***************************************************/
					$("." + show).fadeIn(500); 

				}
				//关闭提示
				function HidePop(show){	
					$(".cover").fadeOut(100);
					$("." + show).fadeOut(500);

				}
				
			</script>    <?php } ?>
