Mini Shell
Direktori : /home/playbengal/www/ |
|
Current File : /home/playbengal/www/manual-de-cuidados-do-seu-filhote-play-bengal.php |
<?
include('admin/inc/conexao.php');
include('admin/inc/funcoes.php');
$PERM = prevSQL($_GET["perm"]);
$SQL = mysql_query("SELECT id, foto, titu, cham, cont, perm FROM blog WHERE id = 67 LIMIT 1",$db);
if($row = mysql_fetch_array($SQL)){
$ID = $row["id"];
$SEO1 = $row["seo1"];
$SEO2 = $row["seo2"];
$SEO3 = $row["seo3"];
$TITU = $row["titu"];
$CHAM = $row["cham"];
$FOTO = $row["foto"];
$CONT = str_replace('imagens/',URL().'/imagens/',$row["cont"]);
$OG = '<meta property="og:url" content="http://www.playbengal.com.br/'.$PERM.'">
<meta property="og:title" content="'.$TITU.'">
<meta property="og:site_name" content="Pet Retrato">
<meta property="og:description" content="'.$CHAM.'">
<meta property="og:image" content="http://www.playbengal.com.br/imagens/blog/'.$FOTO.'">
';
$aID = explode(",",$_COOKIE["v"]);
if(!in_array($ID,$aID)){
mysql_query("UPDATE blog SET visu = (SELECT visu+1) WHERE id = '$ID' LIMIT 1") or die (mysql_error());
$aID[] .= $ID;
setcookie("v",implode(",",$aID),0,"/");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<? include('head.php'); echo $OG ?>
<link type="text/css" rel="stylesheet" href="<?=URL()?>/css/internas.css" />
<script type="text/javascript">
$(window).on('load resize', function(){
$('#divTopo').anystretch("<?=URL()?>/imagens/bg-couro.jpg");
$('#divFilh').anystretch("<?=URL()?>/imagens/bg-madeira.jpg");
});
</script>
</head>
<body>
<!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TT72FNK6" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->
<div id="divTudo">
<div id="divGera">
<? include('topo.php'); ?>
<? include('banner.php'); ?>
<div id="divCont">
<div class="limite">
<div id="divBlog">
<div class="c1 coluna">
<h1 style="color:#201e1e;"><?=$TITU?></h1><br><br>
<div class="divCK" style="color:#201e1e;">
<?=$CONT?>
</div>
<div style="clear:both"></div>
<script type="text/javascript">
$(window).load(function(){
IMAGEM();
});
function IMAGEM(){
$(".divCK img").each(function(){
$(this).css('maxWidth',$(this).width());
$(this).css('width','100%');
$(this).css('height','auto');
});
}
/**/
var $allVideos = $(".divCK iframe"), $fluidEl = $(".divCK");
$allVideos.each(function(){
$(this)
.data('aspectRatio', this.height / this.width)
.removeAttr('height')
.removeAttr('width');
});
$(window).resize(function(){
var newWidth = $fluidEl.width();
if(newWidth > 640) newWidth = 640;
$allVideos.each(function() {
var $el = $(this);
$el
.width(newWidth)
.height(newWidth * $el.data('aspectRatio'));
});
}).resize();
</script>
<br /><br />
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.6";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-comments" data-href="http://www.playbengal.com.br/<?=$PERM?>" data-numposts="5" data-width="100%" data-order-by="reverse_time"></div>
</div><div class="c2 coluna">
<? include('blog-direita.php'); ?>
</div>
</div>
</div>
</div>
<? include('informacoes.php'); ?>
<div id="divFilh">
<? include('incFilhotes.php'); ?>
</div>
<? include('rodape.php'); ?>
</div>
</div>
</body>
</html>
Zerion Mini Shell 1.0