<?php require APPPATH_MVC.'views/header.php'; ?>
<div class="w960 clearfix mt10 pepcenterBox">
<?php require APPPATH_MVC.'views/left.php'; ?>
<!--会员左侧 End-->


<?php require APPPATH_MVC.'views/win_message.php'; ?>


<div class="user-main">
<!--                <div class="indexAnnouncement">
                                <div class="inner"><a href="#" class="link">买房送黄金啦，走过路过不要错过！</a></div>
                        </div> -->
        <div class="indexPInfo clearfix">
                <div class="left detailsMain">
                        <div class="name">欢迎您，<strong class="str"><?php echo $_COOKIE['esfshowname'];?></strong><a href="<?php echo USER_CENTER.'user/edit_profile';?>" class="link">修改个人资料</a></div>
                        <div class="details">
                                <div class="info">
                                        <div class="ico">&nbsp;</div>
                                        <div class="item">房源信息：
                                        <a class="link" href="<?php echo USER_CENTER;?>user/myhousesell">出售<strong class="str">(<?php echo $sell_num;?>)</strong></a>
                                        <a href="<?php echo USER_CENTER;?>user/myhouserent" class="link">出租<strong class="str">(<?php echo $rent_num;?>)</strong></a>
                                        <a href="<?php echo USER_CENTER;?>want/rentlist" class="link">求租<strong class="str">(<?php echo $want_num;?>)</strong></a>
                                        <a href="<?php echo USER_CENTER;?>want/buylist" class="link">求购<strong class="str">(<?php echo $buy_num;?>)</strong></a>
                                        </div>
                                        <div class="item">账户状态：
                                        <?php if(!empty($user_detail[0]['telno'])){?>
                                        <a href="<?php echo USER_CENTER;?>user/edit_telno" class="link linkTel">手机已认证</a>
                                        <?php }else{?>
                                        <a href="<?php echo USER_CENTER;?>user/edit_telno" class="link linkTel linkTelNone"><strong class="str">手机未认证</strong></a>
                                        <?php } ?>
                                        <?php if(!empty($user_detail[0]['email'])){?>
                                        <a href="<?php echo USER_CENTER;?>user/edit_profile" class="link linkEmail">邮箱已绑定</a>
                                        <?php }else{?>
                                        <a href="<?php echo USER_CENTER;?>user/edit_profile" class="link linkEmail linkEmailNone"><strong class="str">邮箱未绑定</strong></a>

                                        <?php } ?>
                                        </div>
                                        <?php $message_num = getmesnumbyuid();?>
                                       
                                        <div class="item">消息提醒：<a href="<?php echo USER_CENTER.'user/mymessage';?>" class="link">系统消息<strong class="str" >(<span style="color:#ff8400;"><?php echo !empty($message_num)?$message_num:'0';?></span>)</strong></a></div>
                                     
                                </div>
                        </div>
                </div>
                <div class="right detailsMainFun">
                        <div class="inner"> <a href="<?php echo GB_PUBLISH_URL.'?kind=1';?>" target="_blank" class="link link1">我要出售</a> <a href="<?php echo GB_PUBLISH_URL.'?kind=2';?>" target="_blank" class="link link2">我要出租</a> <a href="<?php echo GB_PUBLISH_URL.'?kind=3';?>" target="_blank" class="link link3">我要求购</a> <a href="<?php echo GB_PUBLISH_URL.'?kind=4';?>" class="link link4" target="_blank">我要求租</a> </div>
                </div>
        </div>
        <?php if(is_array($newhouse) && !empty($newhouse)){?>
        <div class="mod-list h-source source-manger source-manger02">
                <div class="modListHd" style="margin-bottom:10px;">
                        <h4 class="h4">您发布的最新房源</h4>
                        <a href="<?php echo USER_CENTER;?>user/myhousesell" class="more">更多</a>
                </div>
                <?php
                $city=GB_CITY;
                foreach($newhouse as $key=>$value){
                $streetname = $this->block_model->getstreetname($value['streetid']);
                $this->house_statistic_model->set_city(GB_CITY);
                $this->house_statistic_model->set_uid($this->user_id);
                //房源今日是否刷新
                $is_refresh = $this->house_statistic_model->get_operate_list(2 , $value['id'],date('Y-m-d',time()));
                //房源今日是否再发布
                $is_oper = $this->house_statistic_model->get_operate_list(5 , $value['id'],date('Y-m-d',time()));
                //搜索是否有相同条件的已激活房源，有的话就不能再发布
                $arr=array('blockshowname'=>$value['blockshowname'],'buildarea'=>$value['buildarea'],'price'=>$value['price'],'floor'=>$value['floor'],'subfloor'=>$value['subfloor'],'totalfloor'=>$value['totalfloor']);
                $telno = $value['telno'];
                $is_esta = $this->house_model->yzsamehouse($telno,$arr,$value['tbl']);
                $click_num = $this->house_statistic_model->get_house_clicknum_by_id($value['id'],$value['tbl']);
				$refresh_num = $this->user_model->getRefreshByid($value['tbl'],$value['id']);
				if(strpos($value['price'],'.')){//如果除法运算后为整数，则小数点后加0
					$value['price']=rtrim($value['price'],'0');
					$value['price']=rtrim($value['price'],'.');
			    }
			    if(strpos($value['buildarea'],'.')){//如果除法运算后为整数，则小数点后加0
				    $value['buildarea']=rtrim($value['buildarea'],'0');
				    $value['buildarea']=rtrim($value['buildarea'],'.');
			    }
                ?>
                <div class="list-inner list-inner02 clearfix <?php if($value['esta']!=1){echo 'unable'; }?>">
                <?php if($value['esta']==1){?>
                <a href="<?php if(isset($value['priceunit'])){ echo get_rentinfo_url($value['id']);}else{echo get_sellinfo_url($value['id']);}?>" target="_blank"><img src="<?php echo $value['pic1']?$value['pic1']:USER_CENTER.'images/no_img_small.gif';?>" width="110" height="85" /></a>
                <?php }else{?>
                <img src="<?php echo $value['pic1']?$value['pic1']:USER_CENTER.'images/no_img_small.gif';?>" width="110" height="85" />
                <?php }?>
                        <div class="h-source-info">
                        <div class="text">
                        <?php if($value['esta']==1){?>
                        <a class="link" href="<?php if(isset($value['priceunit'])){ echo get_rentinfo_url($value['id']);}else{echo get_sellinfo_url($value['id']);}?>" target="_blank"><?php echo !empty($value['blockshowname'])?$value['blockshowname'].' <em class="t-line">|</em> ':'';?> <?php echo !empty($value['room'])?$value['room'].'室':'';?><?php echo !empty($value['hall'])?$value['hall'].'厅 <em class="t-line">|</em> ':'';?><?php echo ($value['buildarea']).'㎡ <em class="t-line">|</em> ';?><span class="price"><strong class="num"><?php echo $value['price'];?></strong> <?php if($value['tbl']=='rent' && $value['priceunit']){ echo $priceunit[$value['priceunit']];}elseif($value['tbl']=='rent'){echo $priceunit[1]; }else{echo '万元';}?></span></a>
                        <?php }else{?>
                        <?php echo !empty($value['blockshowname'])?$value['blockshowname'].' <em class="t-line">|</em> ':'';?> <?php echo !empty($value['room'])?$value['room'].'室':'';?><?php echo !empty($value['hall'])?$value['hall'].'厅 <em class="t-line">|</em> ':'';?><?php echo ($value['buildarea']).'㎡ <em class="t-line">|</em> ';?><span class="price"><strong class="num"><?php echo $value['price'];?></strong> <?php if($value['tbl']=='rent' && $value['priceunit']){ echo $priceunit[$value['priceunit']];}elseif($value['tbl']=='rent'){echo $priceunit[1]; }else{echo '万元';}?></span>
                        <?php } ?>
                        </div>
                        <p><?php echo date("Y-m-d H:i:s",$value['creattime']);?>发布 (<?php echo time_tran($value['updatetime']);?>更新)</p>
                        </div>
                         <?php if($value['esta']==1){?>
                        <div class="operate-bar"><a href="javascript:submit_all_refresh('refresh',<?php echo $value['id'];?>,'0','<?php echo md5($value['id'].'house365')?>',<?php echo $value['infotype'];?>,<?php echo $value['ischarge'];?>,'<?php echo $value['tbl'];?>')" class="operate-refresh oper-link"><span class="text">刷新</span><span class="num jsUpLoadNum"><?php echo $refresh_num;?></span><span style="display: none;" class="p_text jsUpLoadText">可刷新次数<strong class="str"><?php echo $refresh_num;?></strong>次</span></a><a href="<?php echo GB_PUBLISH_URL;?>?kind=<?php echo isset($value['priceunit'])?'2':'1';?>&id=<?php echo $value['id'];?>&code=<?php echo md5($value['id'].'house365');?>&tbl=<?php echo $value['tbl'];?>" class="operate-revise oper-link" target="_blank">修改</a>
                        <?php if(empty($is_oper[0])){?>
                        <a href="javascript:submit_all_del('del',<?php echo $value['id'];?>,'0','<?php echo md5($value['id'].'house365')?>','<?php echo $value['infotype'];?>','<?php echo $value['ischarge'];?>','<?php echo $value['tbl'];?>')" class="operate-del oper-link" >删除</a>
                        <?php }?>
                         <?php if($city=='nj' && $value['ischarge']==2){?>
                        <span class="c-29B966 extending">推广申请中</span>
                        <?php }elseif($city=='nj' && $value['ischarge']==0){?>
                        <a href="javascript:void(0)" class="extend" onclick="$('#tgid').val(<?php echo $value['id'];?>);$('#tgtbl').val('<?php echo $value['tbl'];?>'); openWin('showBox');">推广</a>
                        <?php }elseif($city=='nj' && $value['ischarge']==1){?>
                        <span class="c-29B966 extending">付费推广中</span>
                        <?php }?>
                        </div>
                        <?php }?>

                        <div class="lookdetails">
                            <div class="inner">
                                <p class="look">昨日点击量：<strong class="num"><?php echo $click_num;?></strong></p>
                                <?php if(($value['ischarge']==0 || $value['ischarge']==2) && empty($value['pic1'])){?>
                                <p class="text">上传图片就可以获得一次刷新了哦。</p>
                                <?php }elseif(($value['ischarge']==0 || $value['ischarge']==2) && !empty($value['pic1']) && empty($is_refresh)){?>
                                <p class="text">刷新一下，就立马排到前面去了哦。</p>
                                <?php }elseif(($value['ischarge']==0 || $value['ischarge']==2) && !empty($value['pic1']) && !empty($is_refresh) && $city=='nj'){ ?>
                                <p class="text">付费推广效果更佳哦。</p>
                                <?php }elseif($value['ischarge']==1){?>
                                <p class="text">记得每天刷新哦。</p>
                                <?php }?>
                            </div>
                        </div>

                        <?php if($value['esta'] == 2){?>
                        <span class="del-over">已删除</span>
                        <?php if($value['ischarge'] != 1){?>
                        <a href="javascript:submit_all('again_pub',<?php echo $value['id'];?>,'0','<?php echo md5($value['id'].'house365')?>',<?php echo $value['infotype'];?>,'<?php echo $value['tbl'];?>')" class="republish">再发布</a>
                        <?php }?>
                        <?php }elseif($value['esta'] == 0 || $value['esta'] == 5 || $value['esta'] == -10){?>
                        <span class="auditing">审核中</span>
                        <?php }elseif($value['esta'] == 3 || $value['esta'] == 4){?>
                        <span class="del-over">已删除</span>
                        <?php if($value['ischarge'] != 1 && empty($is_esta)){ ?>
                        <a href="javascript:submit_all('again_pub',<?php echo $value['id'];?>,'0','<?php echo md5($value['id'].'house365')?>',<?php echo $value['infotype'];?>,'<?php echo $value['tbl'];?>')" class="republish">再发布</a>
                        <?php }?>
                        <?php }elseif($value['esta'] < 0 && $value['esta'] > -9){?>
                        <span class="auditing-none">审核未通过</span>
                        <div class="auditing-tip">
                            <p>了解详情，请拨打客服电话：<?php echo TEL;?></p>
                        </div>
                        <?php }?>
                </div>
								
                <?php
                }}
                ?>
								<div class="solidDiv" style="margin-bottom:15px;">&nbsp;</div>
                <div class="modListHd modListBd">
                        <h4 class="h4">您可能感兴趣的</h4>
                        <dl class="list" id="jsModListBdList">
                            <dd class="item itemOn">二手房 </dd>
                            <dd class="item">租房</dd>
                            <dd class="item">小区</dd>
                        </dl>
                </div>
                <div class="showHouseBox" id="jsShowHouseBox">


                    <div class="details">
                        <dl class="list">
                        <?php if(is_array($likesell) && !empty($likesell)){
?>
                        <?php foreach($likesell as $key=>$value){
						if(!empty($value)){

						?>
                        <dd class="item">
                            <div class="pic"><a href="<?php echo get_sellinfo_url($value['ID']);?>" target="_blank"><img src="<?php echo $value['PIC1']?get_big_pic_new($value['PIC1']):USER_CENTER.'images/no_img_small.gif';?>" width="156" height="118" /></a></div>
                            <div class="info">
                                <p class="tex"><a href="<?php echo get_sellinfo_url($value['ID']);?>" target="_blank" class="name"><?php echo csubstr2($value['ADDRESS'],16);?></a></p>
                                <p class="tex"><?php echo !empty($value['ROOM'])?$value['ROOM'].'室':'';?><?php echo !empty($value['HALL'])?$value['HALL'].'厅':'';?> / <?php echo ($value['BUILDAREA']).'㎡';?><?php if(GB_CITY=='sz' or GB_CITY=='wx' or GB_CITY=='cz' or GB_CITY=='cq'){echo ' / '.$value['FITMENT'][0];}else{ echo ' / '.$value['FITMENT'];}?></p>
                                <p class="tex"><strong class="num"><?php echo intval($value['PRICE']);?></strong>万元</p>
                            </div>
                        </dd>
                        <?php }} ?>
                        <?php } ?>
                        </dl>
                    </div>

                    <div class="details hide">
                        <dl class="list">
                        <?php if(is_array($likerent) && !empty($likerent)){?>
                        <?php foreach($likerent as $key=>$value){
							 if(!empty($value)){
								 if(strpos($value['PRICE'],'.')){//如果除法运算后为整数，则小数点后加0
									$value['PRICE']=rtrim($value['PRICE'],'0');
									$value['PRICE']=rtrim($value['PRICE'],'.');
								 }
								 if(strpos($value['BUILDAREA'],'.')){//如果除法运算后为整数，则小数点后加0
									$value['BUILDAREA']=rtrim($value['BUILDAREA'],'0');
									$value['BUILDAREA']=rtrim($value['BUILDAREA'],'.');
								 }
								 
						?>
                                
                                <dd class="item">
                                    <div class="pic"><a href="<?php echo get_rentinfo_url($value['ID']);?>" target="_blank"><img src="<?php echo $value['PIC1']?get_big_pic_new($value['PIC1']):USER_CENTER.'images/no_img_small.gif';?>" width="156" height="118" /></a></div>
                                    <div class="info">
                                        <p class="tex"><a href="<?php echo get_rentinfo_url($value['ID']);?>" target="_blank" class="name"><?php echo csubstr2($value['ADDRESS'],18);?></a></p>
                                        <p class="tex"><?php echo !empty($value['ROOM'])?$value['ROOM'].'室':'';?><?php echo !empty($value['HALL'])?$value['HALL'].'厅':'';?> / <?php echo ($value['BUILDAREA']).'㎡';?> / <?php echo $value['FITMENT'];?></p>
                                        <p class="tex"><strong class="num"><?php echo intval($value['PRICE']);?></strong><?php if(!empty($value['PRICEUNIT'])){ echo $priceunit[$value['PRICEUNIT']];}else{echo $priceunit[1]; }?></p>
                                    </div>
                                </dd>
                        <?php }} ?>
                        <?php } ?>
                        </dl>
                    </div>

                    <div class="details hide">
                        <dl class="list">
                        <?php if(is_array($likeblock) && !empty($likeblock)){?>
                        <?php foreach($likeblock as $key=>$value){
                         $streetname = $this->block_model->getstreetname($value['streetid']);?>
                                <dd class="item">
                                    <div class="pic"><a href="<?php echo get_blockinfo_url($value['id']);?>" target="_blank"><img src="<?php echo $value['b_img']?get_big_pic_new($value['b_img']):USER_CENTER.'images/no_img_small.gif';?>" width="156" height="118" /></a></div>
                                    <div class="info">
                                        <p class="tex"><a href="<?php echo get_blockinfo_url($value['id']);?>" target="_blank" class="name"><?php echo $value['blockname'];?></a></p>
                                        <p class="tex"><?php echo $value['district'];?><em class="t-line">|</em><?php echo $streetname['streetname'];?></p>
                                        <p class="tex"><strong class="num"><?php echo intval($value['averprice']);?></strong>元/平米
</p>
                                    </div>
                                </dd>
                        <?php } ?>
                        <?php } ?>
                        </dl>
                    </div>



                </div>
        </div>

</div>
<!--会员右侧 End-->

</div>
<!-- <form name="" method="post">
<div class="showBox payBox" id="showBox">
    <a href="javascript:void(0)" class="showBox-close payBox-close">关闭</a>
    <div class="inner">
        <div class="pay-panel">
            <div class="hd">套餐类型</div>
            <div class="bd pay-type clearfix">
                <label><input name="pay-type" type="radio" value="1" checked><div class="on">普通套餐</div></label>
                <label><input name="pay-type" type="radio" value="2"><div>标准套餐</div></label>
                <label><input name="pay-type" type="radio" value="3"><div>文字置顶套餐</div></label>
                <label><input name="pay-type" type="radio" value="4"><div>图片置顶套餐</div></label>
            </div>
        </div>
        <div class="pay-panel">
            <div class="hd">天数</div>
            <div class="bd pay-day clearfix">
                <label><input name="pay-day" type="radio" value="1" checked><div class="on">10天</div></label>
                <label><input name="pay-day" type="radio" value="2"><div>30天</div></label>
            </div>
        </div>
        <a href="javascript:void(0)" onclick="tgzf()"  class="btn2" >确定</a>
    </div>
</div>
<input type="hidden" name="tgid" id="tgid" value="">
<input type="hidden" name="tgtbl" id="tgtbl" value="">
</form> -->
<script>
function submit_all(type,id,mark,code,infotype,tbl){
    if(id) {
    if(mark==1)
    {
     $("#pop_win_1").hide();
     $.ajax({
     type: 'post',
     url : '<?php echo USER_CENTER;?>user/myhouse'+tbl,
     data: 'type='+type+'&id='+id+'&code='+code+'&infotype='+infotype,
     dataType:'html',
     success: function(msg){

            if(type == 'again_pub'){
                  switch(msg)
                  {
                   case '1':
                   $("#war-text").html("再发布成功");
                   break;

                   case '2':
                   $("#war-text").html("验证不通过，来源不正确");
                   break;

                   case '3':
                   $("#war-text").html("再发布失败");
                   break;
                  }
                openWin('warning');
              }


         }
       });

    }else{

        if(type == 'again_pub')
        {
        $("#pop_text").html("确定再发布这条房源吗");
        $("#pop_sure").attr("href","javascript:submit_all('"+type+"',"+id+",1,'"+code+"','"+infotype+"','"+tbl+"')");
        }
     openWin('pop_win_1');
    }

    }
}

function submit_all_del(type,id,mark,code,infotype,ischarge,tbl){
    if(id) {
    if(mark==1)
    {
     $("#pop_win_1").hide();
     $.ajax({
     type: 'post',
     url : '<?php echo USER_CENTER;?>user/myhouse'+tbl,
     data: 'type='+type+'&id='+id+'&code='+code+'&infotype='+infotype,
     dataType:'html',
     success: function(msg){

              if(type == 'del')
              {
                  switch(msg)
                  {
                   case '1':
                   $("#war-text").html("删除成功");
                   break;

                   case '2':
                   $("#war-text").html("验证不通过，来源不正确");
                   break;

                   case '3':
                   $("#war-text").html("删除失败");
                   break;
                  }
              }
                openWin('warning');

         }
       });

    }else{

        if(type == 'del')
        {
            if(ischarge==1)
            {
             $("#pop_text").html("付费房源删除不可恢复，确定删除吗");
             }else{
             $("#pop_text").html("确定要删除这条房源吗");
            }
        $("#pop_sure").attr("href","javascript:submit_all_del('"+type+"',"+id+",1,'"+code+"','"+infotype+"','"+ischarge+"','"+tbl+"')");
        }
        openWin('pop_win_1');
    }

    }
}


function submit_all_refresh(type,id,mark,code,infotype,ischarge,tbl){
    if(id) {
    if(mark==1)
    {
     $("#pop_win_1").hide();
     $.ajax({
     type: 'post',
     url : '<?php echo USER_CENTER;?>user/myhouse'+tbl,
     data: 'type='+type+'&id='+id+'&code='+code+'&infotype='+infotype,
     dataType:'json',
     success: function(data){

              if(type == 'refresh')
              {
                  switch(data.msg)
                  {
                   case 1:
                   $("#war-text").html("刷新成功,今天还剩"+data.num+"次");
                   openWin('warning');
                   break;

                   case 2:
                   $("#war-text").html("验证不通过，来源不正确");
                   openWin('warning');
                   break;

                   case 3:

                   //if(ischarge==0)
                   // {
                   //$("#pop_text02").html("您今日没有刷新次数了！");
                   //$("#pop_sure02").html("付费刷新");
                  // $("#pop_sure02").attr("href","javascript:void(0);");
                  // $('#tgid').val(id);
                  // $('#tgtbl').val(tbl);
                  // alert($("#pop_sure").attr("onclick"))
                  // openWin('pop_win_02');
                 //   }else{
                    $("#war-text").html("您今日没有刷新次数了！");
                    openWin('warning');
                  //  }

                   break;

                   case 4:
                   $("#war-text").html("刷新失败");
                   openWin('warning');
                   break;
                  }
              }


         }
       });

    }else{

        if(type == 'refresh')
        {
        $("#pop_text").html("确定刷新这条房源吗");
        $("#pop_sure").attr("href","javascript:submit_all_refresh('"+type+"',"+id+",1,'"+code+"','"+infotype+"','"+ischarge+"','"+tbl+"')");
        }
        openWin('pop_win_1');
    }

    }
}





//推广提交
function tgzf(){
     id = $("#tgid").val();
     tbl = $("#tgtbl").val();
     paytype = $("#paytype").val();
     payday = $("#payday").val();
     $.ajax({
     type: 'post',
     url : '<?php echo USER_CENTER;?>user/myhouse'+tbl,
     data: 'type=tg&id='+id+'&paytype='+paytype+'&payday='+payday,
     dataType:'html',
     success: function(msg){

       switch(msg)
       {
       case '1':
       $("#war-text").html("推广申请已提交");
       break;

       case '3':
       $("#war-text").html("推广申请提交失败");
       break;
       }
        $("#showBox").hide();
        openWin('warning');
     }

     })

}

</script>
<script>
var openWin = function(obj){
	var winHeght = $(document).height() ;
	var winElemt = $('#'+ obj);

	var win = {

		height : function(){
			return winElemt.outerHeight();
		},

		width : function(){
			return winElemt.outerWidth();
		},

		show : function(){
			winElemt.css({
				'position':'absolute',
				'z-index':'9999902',
				'left':'50%',
				'margin-left':'-' + win.width() / 2 + 'px',
				'top':$(window).height()/2 - (win.height()/2) + $(window).scrollTop() + 'px'
			}).show();
		},

		hide : function(){
			winElemt.hide();
		}

	};
	win.show();
	$('.close-win').click(function(){
		win.hide();
	});
};
function tg(id)
{
  $("#tgid").val(id);

}
$(function(){
    $('#pop_sure02').click(function(){
       
        $("#pop_win_02").hide();
         openWin('showBox');
         $(this).attr("date-num","0")
         $("#pop_sure").html("确定");
         //$("#pop_sure").attr("onclick","$('#pop_win_1').hide();");
        
    })
})



</script>
<div id="warning" class="pop" style=" display:none;z-index:100">
    <div class="hd">
    	<h2>提示</h2>
    	<a href="javascript:void(0)" class="close-win">关闭</a>
    </div>
    <div class="bd">
    	<div class="warning-inner">
        	<div class="war-bg" style="background:url(<?php echo USER_CENTER;?>images/pop-ico.gif)  0 0 no-repeat;"></div>
        	<p class="war-text" id="war-text"></p>
        </div>
    	<div class="pop-btn-area"><a href="javascript:location.reload();" class="close-win" style="background:#29B966;color:#fff;padding:7px 15px;margin:0 5px;border:1px solid #26AB5E">确定</a></div>
    </div>
</div>
<div style="display:none;width:390px;height:200px; position:absolute;left:50%;top:300px;margin-left:-85px;-moz-box-shadow: 0 0 34px #cacaca;-webkit-box-shadow: 0 0 34px #cacaca;box-shadow: 0 0 34px #cacaca; z-index:9999" id="pop_win_1" class="pop_win"><div style="height:40px;background:#FF8400" class="hd"><h2 style="font-size:14px;color:#fff;font-weight:800; position:absolute;left:10px;top:10px">提示</h2><a style="display:block;width:30px;height:30px;background:url(<?php echo USER_CENTER;?>images/pop-ico.gif) 0 -80px no-repeat; position:absolute;right:10px;top:6px; text-indent:-999px; overflow:hidden" class="close-win" href="javascript:void(0)">关闭</a></div><div style="background:#fff;height:160px" class="bd"><div style="width:70px;height:80px;background:url(<?php echo USER_CENTER;?>images/pop-ico.gif) no-repeat -2px -113px; position:absolute;left:70px;top:60px"></div><p style="position:absolute;left:140px;top:85px;font-size:14px" id="pop_text">你确定要删除该房源吗？</p><div style="text-align:center;position:absolute;top:155px;width:100%;"><a style="*position:relative;background:#29B966;color:#fff;padding:7px 15px;margin:0 5px;border:1px solid #26AB5E" class="refresh-ok" href="javascript:submit_all(1)" date-num="0" id="pop_sure">确定</a><a style="*position:relative;background:#F5F5F5;color:#666;padding:7px 15px;margin:0 5px;border:1px solid #CCCCCC" class="close-win" href="javascript:void(0)">取消</a></div></div></div>

<form name="" method="post">
<div style="display:none;width:390px;height:200px; position:absolute;left:50%;top:300px;margin-left:-85px;-moz-box-shadow: 0 0 34px #cacaca;-webkit-box-shadow: 0 0 34px #cacaca;box-shadow: 0 0 34px #cacaca; z-index:9999" id="showBox" class="pop_win"><div style="height:40px;background:#FF8400" class="hd"><h2 style="font-size:14px;color:#fff;font-weight:800; position:absolute;left:10px;top:10px">提示</h2><a style="display:block;width:30px;height:30px;background:url(<?php echo USER_CENTER;?>images/pop-ico.gif) 0 -80px no-repeat; position:absolute;right:10px;top:6px; text-indent:-999px; overflow:hidden" class="close-win" href="javascript:void(0)">关闭</a></div><div style="background:#fff;height:160px" class="bd"><div style="width:70px;height:80px;background:url(<?php echo USER_CENTER;?>images/pop-ico.gif) no-repeat -2px -113px; position:absolute;left:70px;top:60px"></div><p style="position:absolute;left:140px;top:85px;font-size:14px" id="pop_text">你确定要推广该房源吗？</p><div style="text-align:center;position:absolute;top:155px;width:100%;"><a style="*position:relative;background:#29B966;color:#fff;padding:7px 15px;margin:0 5px;border:1px solid #26AB5E" class="refresh-ok" href="javascript:void(0)" onclick="tgzf()">确定</a><a style="*position:relative;background:#F5F5F5;color:#666;padding:7px 15px;margin:0 5px;border:1px solid #CCCCCC" class="close-win" href="javascript:void(0)">取消</a></div></div></div>
<input type="hidden" name="tgid" id="tgid" value="">
<input type="hidden" name="tgtbl" id="tgtbl" value="">
<input type="hidden" name="paytype" id="paytype" value="1">
<input type="hidden" name="payday" id="payday" value="1">
</form>

<div style="display:none;width:390px;height:200px; position:absolute;left:50%;top:300px;margin-left:-85px;-moz-box-shadow: 0 0 34px #cacaca;-webkit-box-shadow: 0 0 34px #cacaca;box-shadow: 0 0 34px #cacaca; z-index:9999" id="pop_win_02" class="pop_win"><div style="height:40px;background:#FF8400" class="hd"><h2 style="font-size:14px;color:#fff;font-weight:800; position:absolute;left:10px;top:10px">提示</h2><a style="display:block;width:30px;height:30px;background:url(<?php echo USER_CENTER;?>images/pop-ico.gif) 0 -80px no-repeat; position:absolute;right:10px;top:6px; text-indent:-999px; overflow:hidden" class="close-win" href="javascript:void(0)">关闭</a></div><div style="background:#fff;height:160px" class="bd"><div style="width:70px;height:80px;background:url(<?php echo USER_CENTER;?>images/pop-ico.gif) no-repeat -2px -113px; position:absolute;left:70px;top:60px"></div><p style="position:absolute;left:140px;top:85px;font-size:14px" id="pop_text02">您今日没有刷新次数了！</p><div style="text-align:center;position:absolute;top:155px;width:100%;"><a style="*position:relative;background:#29B966;color:#fff;padding:7px 15px;margin:0 5px;border:1px solid #26AB5E" class="refresh-ok"  date-num="0" id="pop_sure02" >付费刷新</a><a style="*position:relative;background:#F5F5F5;color:#666;padding:7px 15px;margin:0 5px;border:1px solid #CCCCCC" class="close-win" href="javascript:void(0)">取消</a></div></div></div>
<style>
#showBox{left:50%;margin-left:-355px;}
</style>

<?php
if($isa_website!=''){
?>
<script type="text/javascript">
	var isa_website = "<?=$isa_website?>";
	var isa_city = "<?=$isa_city?>";
	var isa_addones = "<?=$isa_addones?>";

	var _analyze365 = (('https:' == document.location.protocol) ? ' https://': ' http://');
	document.write(unescape('%3Cscript src="'+ _analyze365 + '<?=$isa_url?>" type="text/javascript"%3E%3C/script%3E'));
</script>
<?php
}
?>
<script type='text/javascript'>
    var website="2,146";
    var ga_city = "nj";
    var ga_channel = 'sell';
    var ga_page= "/个人中心/首页";
</script>
<script language="javascript" src="http://stat.house365.com/365count.js"></script>

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Ff8b4cdf4f8650a2f04373d701fce6843' type='text/javascript'%3E%3C/script%3E"));
</script>

<?php require APPPATH_MVC.'views/footer.php'; ?>


