<!doctype html>
<html>
<head>
    <meta charset="gb2312">
    <title><?php echo $title;?></title>

    <?php if(!empty($css)) echo $css; ?>
    <script type="text/javascript" src="<?php echo USER_CENTER;?>js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="<?php echo USER_CENTER;?>js/public.js"></script>
    <?php if(!empty($js))echo $js;?>
    <?php if(!empty($css))echo $css;?>
    <?php
        $cityList = array('cq','cz','sy','ks','cz','xa','hz','ks','sz','gy','sh','bh','nc','lyg','fcg','ty','aq','tl','xc','bd','nt','xz');
        $jmzList = scandir(CORE_CONF.'/jmz');
        foreach ($jmzList as $file){
            if(!in_array($file,array('.','..')) && preg_match('/^conf_(.*).php$/',$file,$match)){
                $cityList[] = $match[1];
            }
        }

    ?>

    <?php if(GB_CITY != 'nj'){?>
<!--    <link rel="stylesheet" type="text/css" href="http://--><?php //echo 'ph';?><!--.sell.house365.com/template/--><?php //echo 'ph';?><!--/style/business.css">-->
<!--    <link rel="stylesheet" type="text/css" href="http://zt.house365.com/365_icon/365_Icon.css" />-->
<!--    <link rel="stylesheet" href="http://--><?php //echo 'ph';?><!--.sell.house365.com/template/--><?php //echo 'ph';?><!--/style/newVersion.css">-->
    <link rel="stylesheet" type="text/css" href="http://<?php echo 'nj';?>.sell.house365.com/template/<?php echo 'nj';?>/style/business.css">
    <link rel="stylesheet" type="text/css" href="http://zt.house365.com/365_icon/365_Icon.css" />
    <link rel="stylesheet" href="http://<?php echo 'nj';?>.sell.house365.com/template/<?php echo 'nj';?>/style/newVersion.css">

        <script type="text/javascript" src="http://user.house365.com/js/headerNew.js"></script>
        <script type="text/javascript" src="http://user.house365.com/js/pepcenter.js"></script>
    <link href="<?php echo USER_CENTER;?>css/publicNew.css" rel="stylesheet" type="text/css">

    <?php } else {?>
    <link rel="stylesheet" type="text/css" href="http://<?php echo GB_CITY;?>.sell.house365.com/template/<?php echo GB_CITY;?>/style/business.css">
    <link rel="stylesheet" type="text/css" href="http://zt.house365.com/365_icon/365_Icon.css" />
    <link rel="stylesheet" href="http://<?php echo GB_CITY;?>.sell.house365.com/template/<?php echo GB_CITY;?>/style/newVersion.css">

        <script type="text/javascript" src="http://user.house365.com/js/headerNew.js"></script>
        <script type="text/javascript" src="http://user.house365.com/js/pepcenter.js"></script>
    <link href="<?php echo USER_CENTER;?>css/publicNew.css" rel="stylesheet" type="text/css">
    <?php }?>
</head>
<body>
<style>
    .nav-c {font-family: microsoft yahei;}
</style>

<?php if(GB_CITY=='wh'){?>
    <style>
        /*.mores-c, .broker-c, .user-login {left:340px;}*/
        /*.mores-c, .broker-c {left:340px;}*/
        .mores-c{left:340px;}
        .mores2-c {left:440px;}
    </style>
<?php }?>

<?php if(in_array(GB_CITY,array('sy','ks','hz','sz','cz','cq','sh','gy','bh','cq','nc'))){?>
    <style>
        .mores-c, .broker-c, .user-login {left:540px;}
        .mores1-c {left:140px;}
        .mores2-c {left:240px;}
        .broker-c {left:650px;}
    </style>
<?php }?>
<div class="head-top mb20">
    <div class="head-top-c">
        <div class="ads fl" alt="0"><i class="qIcon adress c-o"></i><span><?php $city = GB_CITY;
                global $core_city_sell;
                $cityname = $core_city_sell[$city]['name'];
                echo $cityname;?></span></div>
        <div class="areas-more zoom_">
            <div class="hot-city zoom_  citys red2">热门城市：
                <a target="_blank" href="http://user.house365.com/user/changecity?city=nj">南京</a>
                <a target="_blank" href="http://user.house365.com/user/changecity?city=hf">合肥</a>
                <a target="_blank" href="http://user.house365.com/user/changecity?city=wh">芜湖</a>
            </div>
            <?php

            $data =getheadCityGlobalVariableNew($cityname);

            $a1   =$data['a1'];
            $a2   =$data['a2'];
            $a3   =$data['a3'];
            $a4   =$data['a4'];
            $a5   =$data['a5'];
            ?>
            <div class="citys">
                <div class="letter red2">A-F：</div>
                <div class="letter-city zoom_">
                    <?php echo $a1;?>
                </div>
            </div>

            <div class="citys">
                <div class="letter red2">G-J：</div>
                <div class="letter-city zoom_">
                    <?php echo $a2;?>
                </div>
            </div>

            <div class="citys">
                <div class="letter red2">K-N：</div>
                <div class="letter-city zoom_">
                    <?php echo $a3;?>
                </div>
            </div>

            <div class="citys">
                <div class="letter red2">P-W：</div>
                <div class="letter-city zoom_">
                    <?php echo $a4;?>
                </div>
            </div>

            <div class="citys">
                <div class="letter red2">X-Z：</div>
                <div class="letter-city zoom_">
                    <?php echo $a5;?>
                </div>
            </div>
        </div>

        <div class="logo-small-Con zoom_">
            <span>扫描二维码下载House365手机客户端（365淘房）</span>
            <div class="fl">
                <a class="iphone" href="http://app.house365.com/" target="_blank"></a>
                <a class="android" href="http://app.house365.com/" target="_blank"></a>
            </div>
            <div class="fr">
                <img src="http://nj.sell.house365.com/template/nj/images/taofang_wh_280.png" alt="">
            </div>
        </div>
        <div class="user-login">
            <a target="_blank" href="http://user.house365.com/user/selllist">我的关注</a>
            <a target="_blank" href="http://user.house365.com/user/myhousesell">房源管理</a>
            <a target="_blank" href="http://user.house365.com/want/buylist">求购求租</a>
            <a target="_blank" href="http://user.house365.com/user/mymessage">我的消息</a>
            <a target="_blank" href="http://user.house365.com/user/myask">我的问答</a>
            <a href="<?php echo GB_LOGOUT_URL; ?>" class="border_clear">退出</a>
        </div>
        <div class="broker-c">
            <a href="<?php echo GB_WO_URL;?>" target="_blank">经纪人登录</a>
            <a href="<?php echo GB_WS_URL;?>" target="_blank">门店版登录</a>
            <a href="<?php echo GB_BROKER_REGISTER_URL;?>" target="_blank" class="border_clear">经纪人注册</a>
        </div>
        <a class="nav-a fl" target="_blank" href="<?php echo GB_SITE_HOME;?>">首页</a>
        <span class="nav-a fl">|</span>
        <a class="nav-a fl" target="_blank" href="<?php echo GB_NEWHOUSE_URL;?>">新房</a>
        <span class="nav-a fl">|</span>
        <a class="nav-a fl" target="_blank" href="<?php echo GB_SELL_URL;?>">二手房</a>
        <span class="nav-a fl">|</span>
        <a class="nav-a fl" target="_blank" href="<?php echo GB_RENT_URL;?>">租房</a>
        <?php if(GB_CITY=='nj'){?>
            <span class="nav-a fl">|</span>
            <a class="nav-a fl" target="_blank" href="<?php echo GB_BBS_URL;?>">家居</a>
            <span class="nav-a fl">|</span>
            <a class="nav-a fl" target="_blank" href="http://zx.house365.com/">装修</a>
        <?php }?>
        <?php if(GB_CITY!='wh'){?>
            <span class="nav-a fl">|</span>
            <a class="nav-a fl" target="_blank" href="<?php echo GB_BBS_URL;?>"><?php echo GB_BBS_NAME;?></a>
        <?php }?>
        <a class="nav-a fr nav-a-hot">个人热线:<span class="c-o" style="float:right;"><?php echo TEL;?></span></a>
        <a class="nav-a fr tel"><i class="qIcon phone"></i>手机淘房</a>
        <a target="_blank" class="nav-a fr broker" href="<?php echo GB_WO_URL;?>">经纪人登录注册</a>
        <script src="http://nj.sell.house365.com/module/login/login_js.php" language="javascript"></script>

    </div>
</div>

<div class="nav">
    <a class="logo fl" href="<?php echo GB_SELL_URL;?>" target="_blank"><img src="http://nj.sell.house365.com/template/nj/images/logo.jpg"></a>

    <div class="nav-c fl">
        <a href="<?php echo GB_SELL_URL;?>" target="_blank" class="nav-a nav-a_ hover fl">二手房</a>
        <span class="nav-a fl">|</span>
        <a href="<?php echo GB_RENT_URL;?>" target="_blank" class="nav-a nav-a_ fl">租房</a>
        <span class="nav-a fl">|</span>
        <?php if(!in_array(GB_CITY,array('sy','ks','hz','cq','sz','cz'))){?>
            <a href="http://<?php echo GB_CITY;?>.sell.house365.com/schoolhouse/" target="_blank" class="nav-a nav-a_ fl">学区房</a>
            <span class="nav-a fl">|</span>
        <?php }?>
        <?php if(GB_CITY=='sy'){?>
        <?php } else {?>
            <a href="http://<?php echo GB_CITY;?>.sell.house365.com/community/" target="_blank" class="nav-a nav-a_ fl ">小区<?php if(GB_CITY=='wh'){echo "房价";}?></a>
            <span class="nav-a fl">|</span>
        <?php }?>
        <?php if(GB_CITY=='wh'){?>
            <a href="http://<?php echo GB_CITY;?>.sell.house365.com/agent/list.html" target="_blank" class="nav-a nav-a_ fl">星级经纪人</a>
            <span class="nav-a fl">|</span>
        <?php }?>

        <?php if(GB_CITY=='nj'){?>
            <a href="http://loan.house365.com/" target="_blank" class="nav-a nav-a_ fl">金融服务</a>
            <span class="nav-a fl">|</span>
        <?php }?>
        <a href="http://<?php echo GB_CITY;?>.sell.house365.com/dl_x4.html" target="_blank" class="nav-a nav-a_ mores1 mores fl">商铺</a>
        <span class="nav-a fl">|</span>
        <a href="http://<?php echo GB_CITY;?>.sell.house365.com/dl_x3.html" target="_blank" class="nav-a nav-a_ mores2 mores fl">写字楼</a>
        <span class="nav-a fl">|</span>
        <?php if(GB_CITY=='wh'){?>
        <?php } else {?>
            <a href="javascript:void(0)" class="nav-a nav-a_ mores3 mores fl">更多</a>
            <span class="nav-a fl">|</span>
        <?php }?>

        <a href="http://user.house365.com/login/login_judge?kind=5" target="_blank" class="nav-a icon02 fr">修改删除信息</a>
        <a href="http://user.house365.com//login/login_judge?kind=1" target="_blank" class="nav-a icon01 fr">免费发布房源</a>

        <div class="mores1-c mores-c zoom">
            <a href="http://<?php echo GB_CITY;?>.sell.house365.com/district/dl_x4.html" target="_blank">商铺出售</a>
            <a href="http://<?php echo GB_CITY;?>.rent.house365.com/district/dl_x4.html" target="_blank">商铺出租</a>

        </div>

        <div class="mores2-c mores-c zoom">
            <a href="http://<?php echo GB_CITY;?>.sell.house365.com/district/dl_x3.html" target="_blank">写字楼出售</a>
            <a href="http://<?php echo GB_CITY;?>.rent.house365.com/district/dl_x3.html" target="_blank">写字楼出租</a>

        </div>

        <div class="mores3-c mores-c zoom">
            <a href="<?php echo GB_NEWS_URL;?>" target="_blank">资讯</a>
            <a href="<?php echo GB_BBS_URL;?>" target="_blank">论坛</a>
            <?php if(GB_CITY=='nj'){?>
                <a href="<?php echo GB_ASK_URL;?>" target="_blank">问答</a>
            <?php }?>
        </div>
    </div>

</div>
<?=$GB_MOBLIE_URL;?>
<style>
    /***2015.08.26 头部切换城市 添加***/
    .smcom_ch_drop{ font-family: "Microsoft Yahei";z-index: 900;position: absolute;background-color: #fff;top:32px;left:0;border:1px solid #ccc;
        border-top:none;padding: 10px;width: 255px;}
    .smcom_ch_drop a{text-decoration: none;}
    .smcom_ch_drop a:hover{color: #ff4400;}
    .smcom_ch_top .smcom_ch_city{float: left;margin-left: 5px;width: 80px;display: inline-block;position: relative;}
    .smcom_ch_drop dl{line-height: 30px;border-top:1px #cdcdcd dotted;padding: 2px 0;}
    .smcom_ch_drop dl dt{float: left;width: 48px;text-align: left;color:#ff5600;font-weight: bold;}
    .smcom_ch_drop dl dd{float: left;width: 205px;}
    .smcom_clearfix{clear:both;}
    .smcom_ch_hot_city{color:#ff5600;padding: 5px 0 10px 0;}
    .smcom_ch_hot_city a{color:#ff5600;margin:0 4px 0 5px;}

</style>