$useragent = $_SERVER['HTTP_USER_AGENT']; // testa browser
if (preg_match('|MSIE ([0-9].[0-9]{1,2})|',$useragent,$matched))
{
$browser_version=$matched[1];
$br=0;
} else {$br=1;}
?>
include("validacao/validacao.php"); ?>
include("funcoes/cabecalho.php"); ?>
include("funcoes/menu_produtos.php"); ?>
include("funcoes/menu_marcas.php"); ?>
include("funcoes/menu_facebook.php"); ?>
include("funcoes/menu_newsletter.php"); ?>
include("funcoes/slideshow.php"); ?>
$sql4= "SELECT * from produtos order by RAND() asc limit 8";
$res4 = mysqli_query($db,$sql4);
$gg=0;
while ($linha4=mysqli_fetch_array($res4))
{ $gg=$gg+1;?>
print $linha4['titulo'];?>
Cod: print $linha4['codigo'];?>
if ($gg>3){ $gg=0;?>
}?>
}?>
include("funcoes/rodape.php"); ?>