/* charset */ ini_set('default_charset', 'UTF-8'); /* erros */ ini_set('display_errors', 'ON'); error_reporting(E_ALL & ~E_NOTICE); // error_reporting(0); /* conexao */ include("conexao.php"); /* localizacao */ setlocale(LC_ALL, 'pt_BR'); /* sessao */ $Secao = "2OPojAks#iYEl_@dk+Wp_WcJKS=5rieM7"; /* dados */ $sqlcon = mysqli_query($conecta, "SELECT * FROM configuracoes"); $rescon = mysqli_fetch_object($sqlcon); $Titulo = $rescon->site; $Mobile = $rescon->mobile; //$Titulo = "Virt Soluções"; $Ano = (date("Y") != '2020') ? '-'.date("Y") : ''; $Copyright = "Copyright © 2020".$Ano." ".$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/virtsolucoes-programacao"; } else { // $Url = "http://www.virtsolucoes2.hospedagemdesites.ws"; $Url = "https://www.virtsolucoes.com.br"; } $Imagens = $Url."/_assets/img"; $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]; ?>
Empresas que confiam em nossos serviços