Mini Shell
<?
include("adm/banco.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>Bora Dançar</title>
<style type="text/css">
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url();
}
html {
scroll-behavior: smooth;
}
a:link {
color: #000000;
text-decoration: none;
}
a:hover {
color: #F70206;
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.whatsapp {
position: fixed;
top: 62%;
right: 1%;
padding: 10px;
z-index: 10000000;
}
.whatsapp1 {
position: fixed;
top: 80%;
right: 1%;
padding: 10px;
z-index: 10000000;
}
</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];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onLoad="MM_preloadImages('img/dom.jpg','img/fut.jpg','img/sab.jpg','img/sex.jpg','img/qua.jpg','img/qui.jpg','img/ter.jpg','img/seg.jpg')">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><img src="img/topo_carna.jpg" alt="" usemap="#Map" width="100%"/>
<map name="Map">
<area shape="circle" coords="514,201,52" href="https://www.facebook.com/SuzanaBoradancar" target="_blank">
<area shape="circle" coords="310,198,48" href="https://api.whatsapp.com/send?phone=5581983411550" target="_blank">
<area shape="circle" coords="900,202,51" href="https://www.youtube.com/channel/UCDvGJy6tILfkP3aNDBVApoQ" target="_blank">
<area shape="circle" coords="707,205,51" href="https://www.instagram.com/boradancar.oficial/" target="_blank">
<area shape="circle" coords="1086,203,51" href="index1.php?pagina=quem" target="_blank">
</map></td>
</tr>
<tr>
<td><map name="menusMap">
<? $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="57,572,189,617" href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Domingo&id=<?= $linhal[id];?>" onMouseOver="MM_swapImage('menus','','img/dom.jpg',1)" onMouseOut="MM_swapImgRestore()">
<? } ?>
<? $ano=date("Y");
$query_l=@mysql_query("select * from data where semana='futuros' 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="266,572,398,617" href="dataF.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Futuros&id=<?= $linhal[id];?>" onMouseOver="MM_swapImage('menus','','img/fut.jpg',1)" onMouseOut="MM_swapImgRestore()">
<? } ?>
<? $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="266,446,398,491" href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sabado&id=<?= $linhal[id];?>" onMouseOver="MM_swapImage('menus','','img/sab.jpg',1)" onMouseOut="MM_swapImgRestore()">
<? } ?>
<? $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="56,448,188,493" href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sexta&id=<?= $linhal[id];?>" onMouseOver="MM_swapImage('menus','','img/sex.jpg',1)" onMouseOut="MM_swapImgRestore()">
<? } ?>
<? $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="58,321,190,366" href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quarta&id=<?= $linhal[id];?>" onMouseOver="MM_swapImage('menus','','img/qua.jpg',1)" onMouseOut="MM_swapImgRestore()">
<? } ?>
<? $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="268,321,400,366" href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quinta&id=<?= $linhal[id];?>" onMouseOver="MM_swapImage('menus','','img/qui.jpg',1)" onMouseOut="MM_swapImgRestore()">
<? } ?>
<? $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="267,196,399,241" href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Terça&id=<?= $linhal[id];?>" onMouseOver="MM_swapImage('menus','','img/ter.jpg',1)" onMouseOut="MM_swapImgRestore()">
<? } ?>
<? $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="55,197,187,242" href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Segunda&id=<?= $linhal[id];?>" onMouseOver="MM_swapImage('menus','','img/seg.jpg',1)" onMouseOut="MM_swapImgRestore()">
<? } ?>
</map></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
</body>
</html>
Zerion Mini Shell 1.0