<!doctype html>
<html>
<head>
<meta charset="gb2312">
<title>找回密码</title>
<link href="<?=STATIC_SOURCE_URL?>/min/?f=common/css/base.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?=STATIC_SOURCE_URL?>/min/?f=common/js/jquery-1.8.3.min.js"></script>
<!--[if lt IE 9]> 
<script type="text/javascript" src="<?=STATIC_SOURCE_URL?>/min/?f=common/js/html5.js"></script>
<![endif]-->
<link href="<?=STATIC_SOURCE_URL?>/min/?f=zsb/css/v1.0/findPassword.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?=STATIC_SOURCE_URL?>/min/?f=common/js/jquery.validate.min.js,zsb/js/v1.0/findPassword.js"></script>
<script type="text/javascript" src="<?=STATIC_SOURCE_URL?>/min/?f=common/js/jquery.validate.min.js,zsb/js/v1.0/jquery.form.js"></script>

</head>
<body>

<?php
/**
 * Get Phone
 * @param int $type
 * @return string
 */
function getPhone($type = 1)
{
    $modelBroker = new Broker_model();
    $databaseSlave = $modelBroker->getDatabaseSlave();
    $result = $databaseSlave
        ->where('type =', $type)
        ->select('telno')
        ->get('telno_config')
        ->result_array();
    $phone = isset($result[0]['telno']) ? $result[0]['telno'] : '';
    return $phone;
}

$phone = getPhone(4);
?>
<header class="header">
		<div class="w960 clearfix">
				<h1 id="logo"> <a href="<?=GB_SITE_URL?>" class="logoInner" title="365地产家居网">365地产家居网</a> </h1>
				<div class="loginTitle">租售宝 找回密码</div>
				<nav id="nav">
						<dl class="list clearfix">
								<dd class="item"><a class="link" href="<?=GB_SELL_URL?>">二手房</a></dd>
								<dd class="item"><a class="link" href="<?=GB_RENT_URL?>">租房</a></dd>
                                <?php if(GB_CITY == 'nj'){ ?>
								<dd class="item"><a class="link" href="<?=GB_BROKER_URL?>">经纪人</a></dd>
                                <?php } ?>
								<dd class="item"><a class="link" href="<?=GB_CITY_CONTACT?>">帮助</a></dd>
								<dd class="item">热线服务：<strong class="tel"><?=$phone?></strong></dd>
						</dl>
				</nav>
		</div>
</header>