ÿØÿà JFIF ` ` ÿþ
|
Server : Apache System : Linux cloud.heroica.com.br 4.18.0-553.36.1.el8_10.x86_64 #1 SMP Wed Jan 22 03:07:54 EST 2025 x86_64 User : farolpborg ( 1053) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/farolpborg/public_html/_configs/ |
Upload File : |
<?
/* charset */
ini_set('default_charset', 'UTF-8');
/* erros */
ini_set('display_errors', 'ON');
error_reporting(E_ALL & ~E_NOTICE);
/* conexao */
include("conexao.php");
/* localizacao */
setlocale(LC_ALL, 'pt_BR');
/* sessao */
$Secao = "H&cmu%_RB6isSXVn7pr_Ih3OmK7gyoAE5i53rJ+ygˆ@rT?FmzYbS4vd4=_#2";
/* dados */
$sqlcon = mysqli_query($conecta, "SELECT * FROM configuracoes");
$rescon = mysqli_fetch_object($sqlcon);
$Titulo = $rescon->site;
$Mobile = $rescon->mobile;
//$Titulo = "Ideia Positiva Online";
//$Ano = (date("Y") != '2021') ? '-'.date("Y") : '';
$Copyright = "Copyright © 2023-".date("Y")." ".$Titulo;
$Keywords = $rescon->keywords;
$Description = $rescon->descricao;
$Autor = "PBSoft";
$AutorUrl = "http://www.pbsoft.com.br";
/* urls */
if($_SERVER['SERVER_NAME'] != "localhost"){
if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == 'off'){
$RedirecionarHttps = "https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
header("Location: $RedirecionarHttps");
exit();
}
}
if($_SERVER['SERVER_NAME'] == "localhost"){
$Url = "http://localhost/farolinstitucional-programacao";
} else {
// $Url = "https://www.farolpb.pbsoft.com.br";
$Url = "https://www.farolpb.org.br";
}
$Imagens = $Url."/_assets/imgs";
$Css = $Url."/_assets/css";
$Js = $Url."/_assets/js";
$Shared = $Url."/_shared";
/* redir */
$url_redir = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://').$_SERVER['SERVER_NAME'].$_SERVER ['REQUEST_URI'];
/* exibir */
$Exibir = $_SERVER['SCRIPT_NAME'];
$Exibir = explode("/", $Exibir);
$Exibir = $Exibir[count($Exibir)-1];
?>