Mini Shell
<?php
include("adm/banco.php");
if($_GET[pagina]==""){
$pagina="agenda.php";
}
else{$pagina=$_GET[pagina].".php";
}
if($_GET[pagina1]==""){
$pagina1="home_resp.php";
}
else{$pagina1=$_GET[pagina1].".php";
}
$conexao= mysql_connect($servidor,$usuario_db,$senha_db) or die($msg[0]);
mysql_select_db($banco,$conexao) or die($msg[1]);
$query3="insert into contador(valor)values('1')";
mysql_query($query3);
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Grupo Bora Dançar</title>
<style type="text/css">
body {
background-color: #FFFFFF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
h1{font:Comic Sans ms; color: #000; font-size: 35px;}
a{color: #fff; text-decoration: none;}
a:hover{color: red;}
</style>
<link href="img/icone.png" rel="shortcut icon" type="image/x-icon"/>
<link href="img/icones.png" rel="shortcut icon" type="image/x-icon"/>
<style type="text/css">
a:link {
color: #000;
}
body,td,th {
color: #000;
}
</style>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>
</head>
<body>
<map name="Map2">
<area shape="rect" coords="977,135,1157,221" href="https://api.whatsapp.com/send?phone=5581983411550" target="_blank" alt="">
<area shape="rect" coords="982,238,1156,309" href="https://www.instagram.com/boradancar.oficial/" target="_blank">
</map><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td bgcolor="red"><img src="img/topo_nn.jpg" alt="" usemap="#Map2" style="width: 100%"/></td>
</tr>
<tr>
<td><img src="img/topo_nn1.jpg" alt="" style="width: 100%" /></td>
</tr>
</tbody>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="450" align="center" valign="top"> <img src="img/dias_site.jpg" width="450" usemap="#Map" style="margin-top: 10px;">
<map name="Map">
<? $ano=date("Y");
$query_l=@mysql_query("select * from data where ano='$ano' and semana='dom' order by id desc limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<area shape="rect" coords="155,365,303,418" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Domingo&id=<?= $linhal[id];?>">
<? } ?>
<? $ano=date("Y");
$query_l=@mysql_query("select * from data where ano='$ano' and semana='sab' order by id desc limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<area shape="rect" coords="255,281,403,334" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sabado&id=<?= $linhal[id];?>">
<? } ?>
<? $ano=date("Y");
$query_l=@mysql_query("select * from data where ano='$ano' and semana='sex' order by id desc limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<area shape="rect" coords="48,281,196,334" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sexta&id=<?= $linhal[id];?>">
<? } ?>
<? $ano=date("Y");
$query_l=@mysql_query("select * from data where ano='$ano' and semana='qui' order by id desc limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<area shape="rect" coords="50,193,198,246" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quarta&id=<?= $linhal[id];?>">
<? } ?>
<? $ano=date("Y");
$query_l=@mysql_query("select * from data where ano='$ano' and semana='qua' order by id desc limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<area shape="rect" coords="255,192,403,245" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quinta&id=<?= $linhal[id];?>">
<? } ?>
<? $ano=date("Y");
$query_l=@mysql_query("select * from data where ano='$ano' and semana='ter' order by id desc limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<area shape="rect" coords="259,103,407,156" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Terça&id=<?= $linhal[id];?>">
<? } ?>
<? $ano=date("Y");
$query_l=@mysql_query("select * from data where ano='$ano' and semana='seg' order by id desc limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<area shape="rect" coords="49,102,197,155" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Segunda&id=<?= $linhal[id];?>">
<? } ?>
</map></td>
<td width="90%" align="left" valign="top"><iframe src="banner_destaque.php" width="600" height="509" frameborder="0" scrolling="no"></iframe></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="img/artista.jpg" width="864" height="70" alt=""/></td>
</tr>
<tr>
<td colspan="2" align="left"><span class="carousel-item active" style="margin-left: 20px;">
<?
$query_l=@mysql_query("select * from car_prin where tipo='3' order by rand() limit 6");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<a href="<?= $linhal[insta];?>" target="_blank"><img src="../car_prin/<?= $linhal[img];?>" width="240" height="240" alt="" style="margin:5px;"/></a>
<? } ?>
</span></td>
</tr>
<tr>
<td colspan="2" align="left"> </td>
</tr>
<tr>
<td colspan="2" align="center"><img src="img/casa.jpg" width="864" height="70" alt=""/></td>
</tr>
<tr>
<td colspan="2" align="center"><span class="carousel-item active" style="margin-left: 20px;">
<?
$query_l=@mysql_query("select * from car_prin where tipo='1' order by rand() limit 6");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<a href="<?= $linhal[insta];?>" target="_blank"><img src="../car_prin/<?= $linhal[img];?>" width="240" height="240" alt="" style="margin:5px;"/></a>
<? } ?>
</span></td>
</tr>
<tr>
<td colspan="2" align="left"> </td>
</tr>
</tbody>
</table>
<p> </p>
<script>
$(document).ready(function() {
$('.carousel').carousel({
interval: 8000,
pause : false
})
});
</script>
</body>
</html>
Zerion Mini Shell 1.0