<style type="text/css">
.show_pop_zs{ width:332px; position:fixed;_position:absolute; right:0; bottom:0;_bottom:auto;}

.show_pop_zs_hd{ height:35px; line-height:35px; overflow:hidden; border:1px solid #d6592d; background:url(http://esf.s.house365.com/zsb/images/v1.0/pop_hd_bg_r.png) repeat-x 0 0;

 -moz-border-radius: 5px 5px 0 0; 
-webkit-border-radius: 5px 5px 0 0; 
     -o-border-radius: 5px 5px 0 0;
	 -ms-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0; 
}

.show_pop_zs_hd .show_pop{ background:url(http://esf.s.house365.com/zsb/images/v1.0/show_pop.png) no-repeat 0 0; float:right; width:19px; height:35px; overflow:hidden; text-indent:-999px; margin-right:12px; cursor:pointer;}

.show_pop_zs_hd .title{ float:left; padding:0 15px 0 12px ; font-family:\5FAE\8F6F\96C5\9ED1; color:#fff; font-size:16px;}
.show_pop_zs_hd .tex{ float:left; color:#fff2d4;}
.show_pop_zs_hd .num{ color:#fffd40; padding:0 7px; font-weight:bold;}

.show_pop_zs_show_box{ width:626px; overflow:hidden; height:334px; position:fixed; _position:absolute; right:0; bottom:0;bottom:0;_bottom:auto;}
.show_pop_zs_show_box_h0{ height:0;}

.show_pop_zs_hd .hide_pop{ float:right; margin-right:12px; background:url(http://esf.s.house365.com/zsb/images/v1.0/hide_pop.png) no-repeat 0 0; cursor:pointer; overflow:hidden; text-indent:-999px; width:19px; height:35px;}
.show_pop_zs_hd .upLoad_link{ float:left; padding-left:20px; margin-left:30px; color:#fff2d4; text-decoration:underline; cursor:pointer;height:35px; overflow:hidden; background:url(http://esf.s.house365.com/zsb/images/v1.0/upload_link_bg.png) no-repeat 0 0;}

.show_pop_zs_mod{ height:296px; width:624px; overflow:hidden; background:#fff; border:1px solid #e0e0e0; margin-top:0;
 -moz-border-radius: 0 0 5px 5px; 
-webkit-border-radius: 0 0 5px 5px; 
     -o-border-radius: 0 0 5px 5px;
	 -ms-border-radius: 0 0 5px 5px;
        border-radius: 0 0 5px 5px; }
.show_pop_zs_mod .list{ height:41px; color:#333; overflow:hidden; line-height:41px; border-bottom:1px solid #ededed;}
.show_pop_zs_mod .list_title{ color:#4c4c4c; font-weight:bold;}
.show_pop_zs_mod .list_bg{ background:#fafafa;}
.show_pop_zs_mod .list .item{ text-align:center; height:41px; overflow:hidden; float:left;}
.show_pop_zs_mod .w160{ width:160px;}
.show_pop_zs_mod .w90{ width:90px;}
.show_pop_zs_mod .w172{ width:170px;}
.show_pop_zs_mod .w47{ width:47px;_width:45px;}
.show_pop_zs_mod .w110{ width:110px;_width:96px;}
.show_pop_zs_mod .list_scoll{ height:210px;width:624px; overflow:hidden;_overflow-x:hidden; _overflow-y:scroll; }
.show_pop_zs_mod .img{ vertical-align:middle; margin:0 0 0 4px;}
.show_pop_zs_mod .link_fun{ color:#3887f2; text-decoration:underline;}
.show_pop_zs_mod .link_fun2{ color:#666666; text-decoration:underline; margin-left:5px;}
.show_pop_zs_bd{ line-height:44px; height:44px;}
.show_pop_zs_bd .text_nav{ float:left; padding-left:20px; color:#b2b2b2;}
.show_pop_zs_bd .text_nav .t{ color:#333333}
.show_pop_zs_bd .text_nav a{ color:#17bab0;}
.show_pop_zs_bd .text_link{ float:right; padding-right:22px;}
.show_pop_zs_bd .text_link a{ color:#3887f2}
</style>
<!--标签零售样式-->
<style>
.indexBranchTitle .ico_bq{background: url(http://esf.s.house365.com/zsb/images/v1.0/bq_sprites.png) no-repeat 0 -301px  ;}
.bq_b{margin: 20px;font: normal;color:#666;font:normal 12px "宋体";letter-spacing:1px;}
.org-bold{color:#f57b38;font-weight: bold;}
.bq-buy{color:#f57c39;text-decoration: underline;}
.bq-set{color:#3887f2;text-decoration: underline;}
.bq-set:hover{color:#3887f2;}

</style>
<!--标签零售样式结束--> 

<!--  2016-1-14 添加星级样式 -------start------- -->
<style>
.scoreStatisticalIndex{
    height: 16px;
    margin-top: 2px;
    margin-bottom: 1px;
}
.scoreStatisticalIndex .star_level{
    display: inline-block;width: 16px;
    height: 16px;background: url("http://esf.s.house365.com/zsb/images/v1.0/xing_add_2016_1_14.png") no-repeat 0px -29px;
}
.scoreStatisticalIndex .on{
    display: inline-block;width: 16px;
    height: 16px;background: url("http://esf.s.house365.com/zsb/images/v1.0/xing_add_2016_1_14.png") no-repeat 0px 0px;
}

.fl{
    float: left;
}
.yx_start_level{
    margin-right: 44px;float: left;
}
.yx_info_p{
    line-height: 21px;
}
.personalPInner .item .yx_info_p_wid{
    width: 261px;
}

.personalPInner .item .clorG{
    color: #52c06c;
}
.personalPInner .item .clorY_p{
    display: inline-block;
    line-height: 24px;
    *line-height:21px;
}
</style>

<!--  2016-1-14 添加星级样式 -------end------- -->

<div id="centre" class="layout">
	<div class="indexMain clearfix"> 
		<!--左边开始-->
		<div class="left"> 
			<!--我的应用-->
			<div class="indexBranchTitle indexBranchTitleN">
				<a href="#" class="h2 ico4">常用功能</a>
				<p class="more"> <a class="link" href="/welcome/desktop_app/">更多&gt;&gt;</a> </p>
			</div>
			<!---->
			<div class="indexBranch radius5">
				<div class="myApp clearfix"> 
			        <?php
				$num_valid = 0;
                                $app_num = count($app_arr);
                                $j = $app_arr >= 6 ? 12 : 6;
				for($i = 0; $i < $j ; $i++){ ?>
				<?php if( $i < $app_num && array_key_exists($app_arr[$i],$app_custom_arr) ) { ?>
					<div class="item">
						<div class="img"> <a class="lin" href="<?=$app_custom_arr[$app_arr[$i]]['url']?>"><img alt="<?=$app_custom_arr[$app_arr[$i]]['description']?>" src="http://esf.s.house365.com/zsb/images/v1.0/<?=$app_custom_arr[$app_arr[$i]]['icon']?>" /></a> </div>
						<p class="name"><a class="link" href="<?=$app_custom_arr[$app_arr[$i]]['url']?>"><?=$app_custom_arr[$app_arr[$i]]['name']?></a></p>
					</div>
				<?php
					$num_valid ++; //如果用户存储的应用是有效的就加一
				} ?>
				<?php } ?>
					<!--如果小于6个应用则显示添加图标-->
				<?php if($num_valid < $j){?>
					<div class="item addItem">
						<div class="img"> <a title="添加应用" href="/welcome/desktop_app/"><img alt="添加应用" src="http://esf.s.house365.com/zsb/images/v1.0/addApp.png" /></a> </div>
					</div>
				<?php } ?>
				</div>
			</div>
			<!---->
			<div class="indexBranchTitle">
				<a href="#" class="h2 ico1">使用情况</a>
				<p class="more"> <a class="link" href="/statistics_analysis/today/">更多&gt;&gt;</a> </p>
			</div>
			<!---->
			<script type="text/javascript">
			$(function(){
				//tab 切换
				$("#jsIndexBranchTabTitle").find(".h3").each(function(index, element) {
					$(this).click(function(){
						$(this).addClass("h3None").siblings(".h3").removeClass("h3None");
						$("#jsIndexBranchTabInner").find(".inner").eq(index).show().siblings(".inner").hide()
					})
				});
			})
			</script> 
			<div class="indexBranchTab">
				<div id="jsIndexBranchTabTitle" class="hd clearfix" >
					<h3 class="h3 h3None">今日使用情况</h3>
					<h3 class="h3 " >昨日使用情况</h3>
				</div>
				<div id="jsIndexBranchTabInner" class="indexBranch radius5 indexBranch2">
					<div class=" inner"> 
						
						<!---->
						<div class="item item2">
							<h4 class="h4">激活房源</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">出售</p>
									<p class="num"><?=$today_stat['sellCount']?></p>
								</div>
								<div class="innfo">
									<p class="tex">出租</p>
									<p class="num"><?=$today_stat['rentCount']?></p>
								</div>
								<div class="innfo">
									<p class="tex">剩余</p>
									<p class="num numLast"><?=$today_stat['house_remain']?></p>
								</div>
							</div>
						</div>

						<!---->
						<div class="item item2_5 item_d">
							<h4 class="h4">激活全景房源</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">出售</p>
									<p class="num"><?php echo !empty($today_stat['sell360Count']) ? $today_stat['sell360Count'] : '0';?></p>
								</div>
								<div class="innfo">
									<p class="tex">出租</p>
									<p class="num numLast"><?php echo !empty($today_stat['rent360Count']) ? $today_stat['rent360Count'] : '0';?></p>
								</div>
							</div>
						</div>
						<!---->


                        	<!---->
						<div class="item item2_5 item_d">
							<h4 class="h4">激活多图房源</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">出售</p>
									<p class="num"><?=$today_stat['sellCountStar']?></p>
								</div>
								<div class="innfo">
									<p class="tex">出租</p>
									<p class="num numLast"><?=$today_stat['rentCountStar']?></p>
								</div>
							</div>
						</div>
						<!---->
						<!---->
						<div class="item item2 item_d" style="width:156px;">
							<h4 class="h4">今日刷新</h4>
							<div class="mod">
								<div class="innfo" style="width:48px;">
									<p class="tex">已执行</p>
									<p class="num"><?=$today_stat['refreshCountToday']?></p>
								</div>
                                                                <div class="innfo" style="width:60px;">
									<p class="tex">预约未执行</p>
									<p class="num"><?=$today_stat['reserveRefreshNum']?></p>
								</div>
								<div class="innfo" style="width:48px;">
									<p class="tex">剩余</p>
									<p class="num numLast"><?=$today_stat['remain_refresh']?></p>
								</div>
							</div>
						</div>
						<!----> 
						<div class="item item2_5 item_d">
							<h4 class="h4">急推标签<?php if($info['package_info']['package_tag_num'] == 0){?>(未开通)<?}?></h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">已使用</p>
                                                                        <?php if($info['package_info']['package_tag_num'] >  0){ ?>
									<p class="num"><?=$today_stat['jtLabelCount']?></p>
                                                                        <?php }else{?>
                                                                        <p class="num">--</p>
                                                                        <?php } ?>
								</div>
								<div class="innfo">
									<p class="tex">剩余</p>
                                                                        <?php if($info['package_info']['package_tag_num'] >  0){ ?>
									<p class="num numLast"><?=$today_stat['remainJtLable']?></p>
                                                                        <?php }else{?>
                                                                        <p class="num">--</p>
                                                                        <?php } ?>
								</div>
							</div>
						</div>
						<!---->
						<!---->
						<div class="item itemLast item2_5 item_d">
							<h4 class="h4">库存房源</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">使用</p>
									<p class="num"><?=$today_stat['used_stock']?></p>
								</div>
								<div class="innfo">
									<p class="tex">剩余</p>
									<p class="num numLast"><?=$today_stat['remain_stock']?></p>
								</div>
							</div>
						</div>
					</div>
					<!---->
					<div class=" inner hide"> 
						<!---->
						<div class="item item2 ">
							<h4 class="h4">激活房源</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">出售</p>
                                                                        <p class="num"><?=$yestrday_stat['sell_num_y']?></p>
								</div>
								<div class="innfo">
									<p class="tex">出租</p>
									<p class="num"><?=$yestrday_stat['rent_num_y']?></p>
								</div>
								<div class="innfo">
									<p class="tex">剩余</p>
									<p class="num numLast"><?=$yestrday_stat['remain_num_y']?></p>
								</div>
							</div>
						</div>

						<!---->
						<div class="item item2_5 item_d">
							<h4 class="h4">激活全景房源</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">出售</p>
									<p class="num"><?php echo !empty($yestrday_stat['panorama']) ? $yestrday_stat['panorama'] : '0';?></p>
								</div>
								<div class="innfo">
									<p class="tex">出租</p>
									<p class="num numLast"><?php echo !empty($yestrday_stat['rentpanorama']) ? $yestrday_stat['rentpanorama'] : '0';?></p>
								</div>
							</div>
						</div>
						<!---->

                        			<!----> 
                                                <div class="item item2_5">
							<h4 class="h4">激活多图房源</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">出售</p>
									<p class="num"><?=$yestrday_stat['sell_star_num']?></p>
								</div>
								<div class="innfo">
									<p class="tex">出租</p>
                                                                        <p class="num numLast"><?=$yestrday_stat['rent_star_num']?></p>
								</div>
							</div>
						</div>
						<!----> 					
						<div class="item item2_5">
							<h4 class="h4">昨日新增房源</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">有效</p>
									<p class="num"><?=$yestrday_stat['house_add_y']?></p>
								</div>
								<div class="innfo">
									<p class="tex">失效</p>
									<p class="num numLast"><?=$yestrday_stat['house_add_y_valid']?></p>
								</div>
							</div>
						</div>
						<!---->
						<div class="item item2_5">
							<h4 class="h4">昨日刷新</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">已使用</p>
									<p class="num"><?=$yestrday_stat['house_refresh_y']?></p>
								</div>
								<div class="innfo">
									<p class="tex">剩余</p>
                                                                        <p class="num numLast"><?=$yestrday_stat['remain_refresh']?></p>
								</div>
							</div>
						</div>
						
						<!----> 
                                                <div class="item item2_5 itemLast">
							<h4 class="h4">昨天点击量</h4>
							<div class="mod">
								<div class="innfo">
									<p class="tex">出售</p>
									<p class="num"><?=$yestrday_stat['sell_click_y']?></p>
								</div>
								<div class="innfo">
									<p class="tex">出租</p>
                                                                        <p class="num numLast"><?=$yestrday_stat['rent_click_y']?></p>
								</div>
							</div>
						</div>
						<!----> 
					</div>
				</div>
			</div>
			<!---->
			<!---->

			<!--标签零售add start-->
			<?php if($is_pay==0){?>
            <?php if(is_array($house_tag_info) && !empty($house_tag_info)){?>                  
			<div class="indexBranchTitle">
				<p p class="h2 ico_bq">未使用标签到期提醒</p>
				
			</div>
			
			<div class="indexBranch radius5">
				<p class="bq_b">您有
				<?php foreach ($house_tag_info as $key => $house_tag_info_rs){?>
					<span>
					
						<font class="org-bold"><?php echo $house_tag_info_rs;?></font>条急推标签
						<font class="org-bold"><?php echo $key;?></font>后即将到期，
					</span>
                <?php }?>
				</p>
				<p class="bq_b">我们将优先匹配最新到期的标签供您使用，请尽快<a href="/sell/manage/active/" class="bq-set">设置&gt;&gt; </a> </p>
			    	
			</div>
			<?php } else {?>
			<div class="indexBranchTitle">
				<p p class="h2 ico_bq">未使用标签到期提醒</p>
				
			</div>
			
			<div class="indexBranch radius5">
				<p class="bq_b">您已经没有未使用的急推标签   <span><a href="/tag_index" class="bq-buy">马上去买&gt;&gt;</a></span></p>
			</div>

			<?php }}?>
			<!--标签零售add end-->  

			<div class="indexBranchTitle">
				<a href="#" class="h2 ico3">公告栏</a>
				<p class="more"> <a class="link" href="/ucenter_message/index/" >更多&gt;&gt;</a> </p>
			</div>
			<div class="indexBranch radius5">
				<div class="announcement">
					<dl class="list">
						
				 <?php if(is_array($system_notice) && !empty($system_notice) ){ ?>
					<?php foreach($system_notice as $key=>$value){?>
						<dd class="item">
							<p class="link">·<a href="/ucenter_message/detail/?type=announce&id=<?=$value['announceid']?>">
							<?php if( $value['new'] == '1' ){?>
								<b><?=$value['subject']?></b>
							<?php }else{ ?>
								<?=$value['subject']?>
							<?php } ?>
							</a>
							</p>
							<p class="time"><?php echo date('Y-m-d',$value['creattime']);?></p>
						</dd>
					<?php } ?>
				<?php }else{ ?>
					<dd class="item">
							<p class="link" style='width:95%;text-align:center'>暂无系统公告信息</p>
							<p class="time">&nbsp;</p>
						</dd>
				<?php } ?>
                                                
					</dl>
				</div>
			</div>
			
			<!----> 
			
		</div>
		<!--右边开始-->
		<div class="right">
			<div class="indexBranch radius5 informationMT">
				<div class="informationBox">
					<div class="peopleInner">
                        <div class="pic radius5" style="margin-top:13px;"><a href="<?=$broker['agent_url']?>" target="_blank">
                                    <?php if(isset($broker['smallphoto']) && $broker['smallphoto'] != ''){?>
                                    <img alt="" src="<?=$broker['smallphoto']?>" width="75" height="100"/>
                                    <?php }else{?>
                                    <img alt="" src="http://esf.s.house365.com/zsb/images/v1.0/defaultface.jpg" width="75" height="100"/>
                                    <?php }?>
                                    </a></div>
                                    <div class="company"><?php $info['company']['agentshortname']= isset($info['company']['agentshortname']) ? $info['company']['agentshortname'] : '';
                                    $broker['truename'] = isset($broker['truename'])? $broker['truename'] :'';
                                    $info['level_num'] = isset($info['level_num']) ? $info['level_num'] : '';
                                    $info['credit'] = isset($info['credit']) ? $info['credit'] :'';
                                    $broker['username'] = isset($broker['username']) ? $broker['username'] : '';
                                    $info['package_info']['package_name'] = isset($info['package_info']['package_name']) ? $info['package_info']['package_name'] : '';
                                    $info['expiredate'] = isset($info['expiredate']) ? $info['expiredate'] : '';
                                    $info['remain_days'] = isset($info['remain_days']) ? $info['remain_days'] : '';
                                    ?>
							<div class="name"><a class="nameLin"  href="#" ><?=$broker['truename']?></a></div>
							<p class="coName"><?=$info['company']['agentshortname']?></p>
							<div class="scoreStatisticalIndex">
							<?php $starlevel =$broker_new_info[0]['starlevel'];?>
							<?php for ($i=0;$i<$starlevel;$i++){?>
								<span class="star_level on"></span>
							<?php }?>
							<?php for ($i=0;$i<5-$starlevel;$i++){?>
								<span class="star_level "></span>
							<?php }?>
                                                          
							</div>
							<p class="coName">房豆：<span class="num_color"><?=$info['credit']?></span></p>
                                                        <a href="<?=$payment_url?>"><img src="http://esf.s.house365.com/zsb/images/v1.0/chongzhi.png" alt="立即充值"></a>
						</div>
					</div>
					<div class="infoBox">
						<dl class="list">
							<dd class="item">
								<p class="label">登录账号：</p>
								<p class="in"><?=$broker['username']?></p>
							</dd>
							<dd class="item">
								<p class="label">账号类型：</p>
								<p class="in"><?=$info['package_info']['package_name']?></p>
							</dd>
							<dd class="item">
								<p class="label">账户有效期：</p>
								<p class="in"><span class="time"><?=$info['expiredate']?></span>剩余<span class="color"><?=$info['remain_days']?></span>天</p>
							</dd>
                            <?php $manager_truename = isset($info['accout_manager']['truename']) ? $info['accout_manager']['truename'] : '';
                            $manager_telno = isset($info['accout_manager']['telno']) ? $info['accout_manager']['telno'] : ''; 
                            if($manager_truename){?>
							<dd class="item">
								<p class="label">客户经理：</p>
                                <p class="in"><span class="color"><?=$manager_truename?><span class="tel"><?=$manager_telno?></span></span></p>
							</dd>
                            <?php } ?>
                           <dd class="item">
								<?php 
								//if(isset($_GET['test']))
								//{
								//echo $broker_delete_data;
								//echo $broker_freeze_data;
								if(($broker_delete_data==5 && $broker_freeze_data==0) || ($broker_delete_data==5 && $broker_freeze_data==2)) {?>
								<p style="margin-left:20px;color:red;font-weight:bold;">房源再被删除10次,或冻结2次,您的星级将会下降!</p>	
								<?php } elseif($broker_delete_data==5 && $broker_freeze_data==1) {?>
								<p style="margin-left:20px;color:red;font-weight:bold;">房源再被删除5次,或冻结1次,您的星级将会下降!</p>	
								<?php } elseif($broker_delete_data>0 && $broker_freeze_data>1) {?>
								<p style="margin-left:20px;color:red;font-weight:bold;">房源再被删除<?php echo $broker_delete_data;?>次,或冻结<?php echo $broker_freeze_data;?>次,您的星级将会下降!</p>	
								<?php } else {?>
								<p style="margin-left:20px;color:red;font-weight:bold;">房源再被删除<?php echo abs($broker_delete_data-5);?>次,或冻结<?php echo $broker_freeze_data;?>次,您的星级将会下降!</p>
								<?php }?>
							</dd>

						</dl>
					</div>
				</div>
				<!----> 
			</div>
			<!---->
			<?php 
			 if (isset($ad2) && $ad2 != '') {?>
         <div class="indexBranch radius5 " style="width:244;height:196;margin-top:21px;margin-bottom:10px"> 
		 <?php echo $ad2; ?>
		 </div> 
          <?php }?>
		  

			<?php 
			
            if (isset($ad1) && $ad1 != '') {
		   ?>
		    <div class="indexBranch radius5 " style="width:244;height:196;margin-top:21px;margin-bottom:10px"> 
               <?php echo $ad1;?>
			    </div> 
          <?php
            } 
            ?>
		</div>
	</div>
</div>



<!--标签零售样式结束-->  
<?php  //echo $broker_login_num;die;?>
<!--2015-10-27 首页弹窗 start -->
<?php  if($broker_login_num<1&&$ad3) {?>
<script>
        $(function () {
            $(".cha").click(function(){
                $('#modifypw').hide();
            })
            setTimeout(closePannel,10000)
            function closePannel() {
                $('#modifypw').hide();
            }
        })
    </script>

<style>
.btn {
  border: none;
  background: #dfe2e6;
  height: 26px;
  line-height: 26px;
  text-align: center;
  width: 80px;
  -webkit-border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -o-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}
.btn {
  background: #dfe2e6;
  height: 26px;
  line-height: 26px;
  width: 80px;
  -webkit-border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -o-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  cursor: pointer;
}
.popup {
  width: 100%;
}
.popup .popup_shadow {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}
.popup_content {
  width: 100%;
  position: absolute;
  top: 100px;
}
.popup_content .cont {
  width: 350px;
  border: 1px solid #999999;
  -webkit-border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -o-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 0px auto;
  background: #fff;
  position: relative;
  padding: 38px 32px 32px 26px;
}
.cont .cha {
  background: url(http://esf.s.house365.com/zsb/images/v1.0/cha.png) no-repeat;
  width: 29px;
  height: 29px;
  background-size: 100% auto;
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}
.cont .top {
  background: #e6e6e6;
  height: 38px;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  -webkit-border-radius: 3px 3px 0px 0px;
  -moz-border-radius: 3px 3px 0px 0px;
  -o-border-radius: 3px 3px 0px 0px;
  border-radius: 3px 3px 0px 0px;
}
.cont .title {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 14px;
  color: #4c4c4c;
  font-weight: bold;
  margin-top: 24px;
}
.cont .info {
  font-size: 14px;
  line-height: 30px;
  color: #666;
  text-indent: 2em;
}
.cont .btngroup {
  margin: 0px auto;
  width: 120px;
}
.cont .gobtn {
  width: 120px;
  height: 36px;
  line-height: 36px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  background: #fead00;
  -webkit-border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -o-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
  border: 0px;
  margin: 35px 0px 15px;
}

/* css resetdd */
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,
cite,code,dd,del,details,dfn,dialog,div,dl,dt,em,embed,fieldset,figcaption,figure,font,
footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,
menu,meter,nav,object,ol,output,p,pre,progress,q,rp,rt,ruby,s,samp,section,small,span,strike,strong,sub,
summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video,xmp{
    border:0;margin:0;padding:0;font-size:100%}
html,body{width: 100%;height:100%;}
body{font:12px/150% 'Microsoft Yahei',Arial,Verdana,simsun;color:#666;background:#fff}
button,input,select,textarea{font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif;}
table{border-collapse:collapse;border-spacing:0;font-size: inherit;font:100%;}
caption,th{text-align:left;}
fieldset,img{border:none;vertical-align:top;}
ul,ol{list-style:none;}
h1,h2,h3,h4,h5,h6,input,i{font-family:Microsoft yahei;font-weight:normal;font-size:100%}
sup,sub{font-size:100%;vertical-align:baseline;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,
q:before,q:after {content: '';content: none;}
input,button,textarea,select{font-family: inherit;font-size: inherit;font-weight: inherit;vertical-align:middle;*font-size:100%;}
address,caption,cite,code,dfn,em,i,b,strong,th,var,optgroup{font-style:normal;font-weight:normal;text-decoration:none}

img{color:transparent;font-size:0;vertical-align:middle;-ms-interpolation-mode:bicubic;-moz-force-broken-image-icon:1}
ol,ul{list-style:none}
li{display:list-item}
table{border-collapse:collapse;border-spacing:0}
th,td,caption{font-weight:normal;text-align:left}
h1,h2,h3,h4,h5,h6,input,i{ font-family:Microsoft yahei;font-weight:normal;font-size:100%;}
a:hover{text-decoration:none}
a:focus,input,button{outline:0}
a{text-decoration:none;hide-focus:'hideFocus=true';outline:none}
input{color:#666;border:0;background: none}
input,button{padding:0;margin:0;font-family:Microsoft YaHei}
input[type="checkbox"]{margin-right:5px;position:relative;top:2px}

.clearfix{clear:both;}
.clearfix:before,.clearfix:after{content:'.';display:block;visibility:hidden;font-size:0;width:0;height:0;line-height:0}
.clearfix:after{content: '\0020'; display:block;height:0;clear:both;visibility:hidden;font-size:0;}
*html .clearfix{zoom:1;}
.clearfix{*overflow:hidden;}

.hide{display:none;}
.show{display:block;}

.fl{float:left;}
.fr{float:right;}

body{
    /*position: relative;*/
}
.cont .top img{
	border:none;
}
.popup_content .cont{
	padding:10px;
}

</style>
<div id="modifypw" class="popup" style="display: block">
    <div class="popup_shadow"></div>
    <div class="popup_content">
        <div class="cont">
             <?php echo $ad3;?>
            <div class="cha"></div>

        </div>
    </div>
</div>

<?php  }?>
<!--2015-10-27 首页弹窗 end -->

<style type="text/css" >
.promptInner3{ color:#666666;background:#fff;}
.promptInner3 .wel{ height:40px; line-height:40px; padding:0 25px;}
.promptInner3 .textBox{ margin-bottom:8px; padding:7px 10px 7px 49px; background:#fff8d3; color:#e9995e; line-height:22px;}
.promptInner3 .text_in{ color:#333333; padding:0 10px 0 48px; line-height:29px;}
.promptInner3 .text_in .c_link{ color:#f57c39; margin-left:15px;}
.promptInner3 .text_in .r_num{ color:#f57c39; font-weight:bold;}
.promptInner3 .text_in .bl_num{ color:#3887f2;font-weight:bold;}
.promptInner3 .text_in .color_s{ color:#808080;}
.promptInner3 .show_pop_zs_bd{ margin:0 16px; border-top:1px solid #eeeeee;}
.promptInner3 .show_pop_zs_bd .text_nav{padding-left:0; color:#808080;}
.promptInner3 .show_pop_zs_bd .text_nav .t{color:#808080;}
.promptInner3 .show_pop_zs_bd .text_nav a{ color:#4c4c4c;}
.promptInner3 .show_pop_zs_bd .text_link{ padding-right:0;}
.promptInner3box{ position:fixed; right:0; bottom:0; _position:absolute;}
</style>
<div id="jsPromptInner3" class="dialog dialogW444 radius5 promptInner3box" style="background:none;z-index:100;width:444px;">
</div>

<script>
   $(function(){
        //竞投消息
        $.get('/bid_message/index/',{action:'msg'},function(data){
            if(data=='-1') {
                
            } else {
                $("#jsPromptInner3").show().html(data);
                $("#jsPromptInner3").find(".close").click(function(){
                    var msgType = $(this).attr('value');
                    $.get('/bid_message/index/',{action:'close',msgType:msgType},function(data){   
                    },'text')
                    $("#msgType_"+msgType).hide();
					$("#jsPromptInner3").hide();
                    return false;
                })
            }
        },'text')
      
    });



$("#jsPromptInner3 .close-win").live('click',function(){
	$("#jsPromptInner3").hide();
});
function scrollFixePrompt(){
	 var st = $(document).scrollTop();
	 var winh = $(window).height();
     $("#jsPromptInner3").css("top", st + winh - $("#jsPromptInner3").outerHeight(true));	
};

$(function(){
	if(!window.XMLHttpRequest){
		$(window).scroll(function(){
			scrollFixePrompt();
		});
			$(window).live('scroll',function(){
			scrollFixePrompt();
		});
		$(window).resize(function(e) {
			 scrollFixePrompt();
		});
	}
});


</script>

<div id="jsDialog_jtHot" style="width:310px;" class="dialog radius5">
		<div class="hd">
				<h3 class="h3">提示</h3>
				<span title="关闭" class="close close-win">&Chi;</span> </div>
		<div class="mod">
				<div style="padding:13px 5px 0 15px; color:#666; line-height:26px;">
						<p>亲爱的<strong style="color:#3d8af9"><?=$broker['truename']?></strong></p>
						<p style="text-indent:2em;">欢迎您首次使用租售宝端口！</p>
						<p style="text-indent:2em;">开通套餐的奖励  <strong style="color:#3d8af9"><?=$growth_broker_pay_message['openPayExpScore']?></strong>成长值已到账。</p>
						<p style="text-indent:2em;">祝您开单顺利！您的成长有365相伴！</p>
				</div>
		</div>
</div>

<?php if (0) { ?>
	<script type="text/javascript">
		$(function() {
			openWin('jsDialog_jtHot');
		});
	</script>
<?php } ?>

<?php if($info['remain_days']<=7&&$account_expired_show==1){?>
<div class="dialog radius5" id="jsDialog_13_31" >
    <div class="hd">
        <h3 class="h3">提示</h3>
        <span class="close close-win" title="关闭">Χ</span> </div>
    <div class="mod">
        <div class="text">
            您的账号即将到期请及时联系您<br/>的客户经理。如您忘了及时续费，<br/>
            账号到期后每天将会扣除<span style="color:#ff8400"><?php echo abs($accountFailureScore);?></span>成<br/>长值哦！
        </div>
        <div style="text-align:center; padding-top:8px;"></div>
    </div>
</div>
<script>
$(function(){
	openWin("jsDialog_13_31")
})

</script>    
<?php }?>


<?php if(0){ ?>
<style>
#guide01{ display:none; width:568px; height:395px; overflow:hidden; position:absolute;}
#guide01 .inner{width:568px; height:395px; overflow:hidden; background:url(http://esf.s.house365.com/zsb/images/v1.0/guide01.png) no-repeat 0 0;_background:transparent;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://esf.s.house365.com/zsb/images/v1.0/guide01.png');}
#guide01 .link{ display:block; width:120px; height:80px; overflow:hidden; text-indent:-999px; position:absolute; right:0; bottom:0;}
#guide01 .close{display:block; width:40px; height:40px; overflow:hidden; text-indent:-999px; position:absolute; right:34px; top:0;}
#guide02{display:none;z-index: 9999902; width:736px; height:239px; overflow:hidden; position:absolute;}
#guide02 .inner{  width:736px; height:239px; overflow:hidden; background:url(http://esf.s.house365.com/zsb/images/v1.0/guide02.png) no-repeat 0 0;_background:transparent;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://esf.s.house365.com/zsb/images/v1.0/guide02.png');}
#guide02 .close{display:block; width:40px; height:40px; overflow:hidden; text-indent:-999px; position:absolute; right:143px; top:0;}
#guide02 .link{ display:block; width:85px; height:50px; overflow:hidden; text-indent:-9699px;position:absolute; right:120px; top:80px;}

#guide03{display:none;z-index: 9999902;  width:604px; height:369px; overflow:hidden;position:absolute;}
#guide03 .inner{ width:604px; height:369px; overflow:hidden;background:url(http://esf.s.house365.com/zsb/images/v1.0/guide03.png) no-repeat 0 0;_background:transparent;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://esf.s.house365.com/zsb/images/v1.0/guide03.png');}


#guide03 .close{display:block; width:40px; height:40px; overflow:hidden; text-indent:-999px; position:absolute;right:5px; top:225px; }
#guide03 .link{ display:block; width:85px; height:50px; overflow:hidden; text-indent:-9699px;position:absolute; right:0; top:319px;}


#guide04{z-index: 9999902; display:none; width:950px; height:295px; overflow:hidden; position:absolute;}
#guide04 .inner{ width:950px; height:295px;overflow:hidden; overflow:hidden;background:url(http://esf.s.house365.com/zsb/images/v1.0/guide04.png) no-repeat 0 0;_background:transparent;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://esf.s.house365.com/zsb/images/v1.0/guide04.png'); }



#guide04 .close{display:block; width:40px; height:40px; overflow:hidden; text-indent:-999px; position:absolute;right:405px; top:134px; }
#guide04 .link{ display:block; width:105px; height:65px; overflow:hidden; text-indent:-9699px;position:absolute; right:378px; top:233px;}

</style>



<div id="guide01">	
		<div class="inner">&nbsp;</div>
		<a href="javascript:void(0)" class="link" title="详细了解">详细了解</a>
		<a href="javascript:void(0)" title="关闭" class="close close-win">关闭</a>
</div>
<div id="guide02">
	<div class="inner">&nbsp;</div>
	<a href="javascript:void(0)" class="link" title="下一步">下一步</a>
	<a href="javascript:void(0)" title="关闭" class="close close-win">关闭</a>
</div>

<div id="guide03">
	<div class="inner">&nbsp;</div>
	<a href="javascript:void(0)" class="link" title="下一步">下一步</a>
	<a href="javascript:void(0)" title="关闭" class="close close-win">关闭</a>
</div>


<div id="guide04">
	<div class="inner">&nbsp;</div>
	<a href="javascript:void(0)" class="link close-win" title="立即体验">立即体验</a>
	<a href="javascript:void(0)" title="关闭" class="close close-win">关闭</a>
</div>

<script>
function	showguide02(){
			$("#guide01").hide();
				var g_t = $("#jsIndexBranchTabTitle").offset().top;
				var g_l = $("#jsIndexBranchTabTitle").offset().left;
				$("body,html").animate({scrollTop:0},150)
				$("#guide02").css({
						"left":g_l+"px",
						"top":g_t - 103 +"px"
				}).show();
};

function	showguide03(){
		$("#guide02").hide();
		var g_l = $("#centre").offset().left;
		$("body,html").animate({scrollTop:0},150)
		$("#guide03").css({
				"left":g_l+388+"px",
				"top":56 +"px"
		}).show();
};

function	showguide04(){
		$("#guide03").hide();
		var g_l = $("#centre").offset().left;
		$("body,html").animate({scrollTop:0},150)
		$("#guide04").css({
				"left":g_l-85+"px",
				"top":0 
		}).show();
};


$(function(){

		openWin("guide01");
		
		$("#guide01 .link").click(function(){
				showguide02()
		});
		
		$("#guide02 .close").click(function(){
				$("#guide02").hide()
		});
		
		$("#guide02 .link").click(function(){
				showguide03()
		});
		
		
		$("#guide03 .close").click(function(){
				$("#guide03").hide()
		});
		
		$("#guide03 .link").click(function(){
				showguide04()
		});
		
		
		$("#guide04 .link,#guide04 .close").click(function(){
					$("#guide04").hide()
		});

		$(window).resize(function(e){
			if($("#guide02").is(":visible"))
			{
						showguide02()
			};
			if($("#guide03").is(":visible"))
			{
						showguide03()
			};
			if($("#guide04").is(":visible"))
			{
						showguide04()
			};
		})
		
		
})
</script>
<?php } ?>


<?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;近日，住房和城乡建设部下发通知：为继续做好房地产市场调控工作，要求各地整顿和规范房 地产中介市场秩序，严肃查处房地产中介机构和经纪人员炒作不真实信息误导消费者、发布虚假房源等违法违规行为。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;365淘房将在近期将升级技术手段，加大人力投入，严查网站房源信息。对恶意发布 <span>价格过低虚假房源</span> 的经纪人进行严厉惩罚，<span>租售宝账号将直接降为一星</span> 。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;望广大经纪人积极配合本次治理，在6月1日以前对账号内已发布的虚假或过期房源进行自查自纠，及时调整或下架价格过低的房源。</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':'getvisit'},
						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':'setvisit'},
								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 } ?>
