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]);
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Bora Dançar</title>
</head>
<body>
<table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><img src="img/topo_eventos.jpg" alt="" width="1176" height="190" usemap="#Map"/></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="center"><span class="carousel-item active" style="margin-left: 20px;">
<?
$query_l=@mysql_query("select * from car_prin where tipo='4' order by rand() ");
//seleciona todos os campos no banco e exibir
while ($linhal = @mysql_fetch_array($query_l)) {
?>
<a href="geral.php?pagina=<?= $linhal[id];?>"><img src="../car_prin/<?= $linhal[img];?>" width="210" height="210" alt="" style="margin:5px;"/></a>
<? } ?>
</span></td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<map name="Map">
<area shape="circle" coords="110,106,91" href="index.php">
<area shape="rect" coords="896,62,1183,117" href="#">
<area shape="rect" coords="961,134,1178,176" href="#">
</map>
</body>
</html>
Zerion Mini Shell 1.0