| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/meusitei/public_html/painel/front/tema02/ |
Upload File : |
<?php
date_default_timezone_set('Brazil/East');
session_start();
$_SESSION['msifront'];
function brancoString($string) {
// matriz de entrada
$what = array( '-' );
// matriz de saída
$by = array( ' ' );
// devolver a string
return str_replace($what, $by, $string);
}
function brancoStringCodReferencia($string) {
// matriz de entrada
$what = array( '_-_' );
// matriz de saída
$by = array( ' ' );
// devolver a string
return str_replace($what, $by, $string);
}
if(isset($_GET["controller"])){
//echo $_GET["controller"];
if(($_GET["controller"] == "home" ) || ($_GET["controller"] == "imoveis" ) || ($_GET["controller"] == "quemsomos")
|| ($_GET["controller"] == "imoveis_favoritos") || ($_GET["controller"] == "encomende_seu_imovel")
|| ($_GET["controller"] == "anuncie_seu_imovel") || ($_GET["controller"] == "cadastre_seu_imovel") || ($_GET["controller"] == "detalhes_imovel")
|| ($_GET["controller"] == "fale_conosco") || ($_GET["controller"] == "finaciamento_imoveis") || ($_GET["controller"] == "contact")
|| ($_GET["controller"] == "newsletter") || ($_GET["controller"] == "ver_mais") || ($_GET["controller"] == "envie_para_um_amigo")
|| ($_GET["controller"] == "fale_com_corretor") || ($_GET["controller"] == "generic_paginacao")|| ($_GET["controller"] == "detalhes_imovel_impressao")|| ($_GET["controller"] == "busca")){
include_once('controllers/controller_' . $_GET["controller"] . '.php');
}elseif (($_GET["controller"] == '' )) {
include_once('controllers/controller_erro.php');
}else{
$_GET["controller"] = brancoString($_GET["controller"]);
include_once('controllers/controller_novas_paginas.php');
}
}else{
include_once('controllers/controller_home.php');
}
?>