require_once "admin/connect/conexao.php";
require_once "admin/security_scripts/functions.php";
$link = @$_GET['link'];
$link .= ".php";
if (!isset($link))
{ $link= "home.php"; }
else if(ereg("http",$link))
{ $link="home.php"; }
else if(ereg("ftp",$link))
{ $link="home.php"; }
else
{ if (!file_exists($link))
{ $link="home.php"; }
}
$url = $_SERVER['HTTP_HOST'];
header("Cache-Control: store, cache, no-revalidate");
header("Cache-Control: post-check=1, pre-check=1", false);
header("Pragma: cache");
header('Content-Type: text/html; charset=utf-8');
?>
Hospidata
if($link == 'mostra.php'){
$id = $_GET['id'];
$face = mysql_fetch_array(mysql_query("SELECT * FROM produtos WHERE id = '".$_GET['id']."'"));
$arquivo = mysql_fetch_array(mysql_query("SELECT * FROM arquivos WHERE secao = 'produtos' AND id2 = '".$face['id']."' ORDER BY destaque DESC LIMIT 1"));
$titulo = $face['titulo'];
$cat = mysql_fetch_array(mysql_query("SELECT * FROM categorias WHERE id = '".$face['categoria']."'"));
$categoria = $cat['nome'];
$texto = $face['resumo'];
?>
} ?>
if($link == 'home.php'){ ?>
} ?>
if($link != 'home.php'){ ?>
} ?>
include $link; ?>
if($link == 'home.php'){ ?>
Entre em Contato
if(!$_GET['insert']) {?>
} else { echo $texto; }?>
if(!$_GET['insert']) {?>
} else { echo $texto; }?>
} ?>
if($link == 'home.php'){ ?>
} else { ?>
} ?>
(51) 3049-8139 /
(51) 3391-1450