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>Bora Dançar</title>
<style type="text/css">
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
font-family: arial;
}
h1{font:Comic Sans ms; color: #fff; font-size: 35px;}
a{color: #000; 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"/>
<script>
function Mudarestado(el) {
var display = document.getElementById(el).style.display;
if(display == "none")
document.getElementById(el).style.display = 'block';
else
document.getElementById(el).style.display = 'none';
}
</script>
</head>
<body>
<div id="minhaDiv" style="display: none; width: 600px; height: 800px; ">Conteudo</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center"><p><img src="img_n/b_artista.png" alt="" usemap="#Map"/>
<map name="Map">
<area shape="rect" coords="440,125,676,203" href="filtro.php" onclick="Mudarestado('minhaDiv')">
<area shape="circle" coords="98,86,86" href="index_novo.php">
<area shape="rect" coords="699,124,955,203" href="cadastre.php">
</map>
</p>
<p> </p>
<p> </p></td>
</tr>
<tr>
<td align="center"><p> </p>
<p>
<select name='iordena' onchange='if(options[selectedIndex].value) window.open(options[selectedIndex].value);' size='1' style='font-family: verdana, arial, helvetica; font-size: 40px; border-radius: 20px; text-align: center; background-color: #FFCC00;'>
<option>Selecione o Bairro</option>
<?
$sql="select * from bairro order by bairro";
$query=@mysql_query($sql);
$total=@mysql_num_rows($query);
for($i=0;$i<$total;$i++){
$id=@mysql_result($query,$i,id);
$bairro=@mysql_result($query,$i,bairro);
$cidade=@mysql_result($query,$i,cidade);
$uf=@mysql_result($query,$i,uf);
?>
<option value="filtro_b1.php?bairro=<?= utf8_encode($bairro);?>">>> <?= utf8_encode($bairro); ?></option>
<? } ?>
</select>
</p>
<p> </p></td>
</tr>
<tr>
<td align="center" bgcolor="#FFCC00"> </td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<map name="Map"><area shape="rect" coords="440,125,676,203" href="filtro.php" onclick="Mudarestado('minhaDiv')">
<area shape="circle" coords="98,86,86" href="index_novo.php">
<area shape="rect" coords="699,124,955,203" href="cadastre.php">
</map>
<map name="Map2"><area shape="rect" coords="90,288,824,393" href="filtro1.php?estilo=Brega Romântico">
</map>
<script>
$(document).ready(function() {
$('.carousel').carousel({
interval: 8000,
pause : false
})
});
</script>
</body>
</html>
Zerion Mini Shell 1.0