return money_format('%n', $valor);
}
/**
 * Instanciando objetos para trabalhar com dados
 * @var Imoveis
*/
$imoveis = new Imoveis();
$imovel = new Imovel();
$url = new UrlAmigavel();
$title = new Title();
$allfotos = new FotoImovel();
/**
 * Implementação de imóveis na index home page
 * @var Imoveis
*/
$index = $imoveis->qtde_imoveis($imoveis->key, $imoveis->tipo, $imoveis->param, 1, 12);
$atual = $index['pagina'];
$tpages = $index['paginas'];
$imppage = $index['quantidade'];
$timov = $index['total'];
/**
 * Pegando o ID do imóvel ao acessar uma página de imóvel
 * @var [type]
 */
$id = $imovel->get_ID();
/**
 * Definindo configurações para receber o titulo da página
 * @var [type]
*/
$pagetitle = $title->escreve($id, $title->key, $title->tipo, $title->param);
/**