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: #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"/>
<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"/></p>
<p> </p>
<p> </p></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><table width="1100" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<?
$sql="select * from busca order by nome";
$query=@mysql_query($sql);
$total=@mysql_num_rows($query);
for($i=0;$i<$total;$i++){
$id=@mysql_result($query,$i,id);
$img=@mysql_result($query,$i,img);
$nome=@mysql_result($query,$i,nome);
$estilo=@mysql_result($query,$i,estilo);
$fone=@mysql_result($query,$i,fone);
$insta=@mysql_result($query,$i,insta);
$face=@mysql_result($query,$i,face);
$youtube=@mysql_result($query,$i,youtube);
$texto=@mysql_result($query,$i,texto);
$mapa=@mysql_result($query,$i,mapa);
$fixo=@mysql_result($query,$i,fixo);
$site=@mysql_result($query,$i,site);
$estilo1=@mysql_result($query,$i,estilo1);
?>
<div style="width: 330px; height: 50px; display: block; float: left; margin: 22px; font-size:30px; color: #fff; text-align: left;" >
<?= $nome; ?></div>
<div style="width: 330px; height: 50px;display: block; float: left; margin: 22px; font-size:30px; color: #fff; text-align: left;" ><?= $estilo; ?><br>
<?= $estilo1; ?></div>
<div style="height: 45px; display: block; float: left; margin: 0px; text-align: center;" ><?php if($insta!=''){?>
<a href="<?= $insta;?>" target="_blank"><img src="img_n/insta.jpg" width="100" alt=""/></a>
<? } ?>
</div>
<div style="height: 45px; display: block; float: left; margin: 0px; text-align: center;" >
<?php if($fone!=''){?>
<a href="<?= $fone;?>" target="_blank"><img src="img_n/favImage.png" width="100" alt=""/></a>
<? } ?>
</div>
<? } ?>
</td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<map name="Map"><area shape="rect" coords="335,121,571,199" href="filtro.php" onclick="Mudarestado('minhaDiv')">
<area shape="circle" coords="98,86,86" href="index_novo.php">
<area shape="rect" coords="593,122,849,201" href="cadastre.php">
</map>
<script>
$(document).ready(function() {
$('.carousel').carousel({
interval: 8000,
pause : false
})
});
</script>
</body>
</html>
Zerion Mini Shell 1.0