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>
<img src="img/topo_n.jpg" width="100%" alt=""/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="450" align="center"><? $data=date("d/m");
$dataA=date("Y");
$sql="select * from cartaz_n WHERE ano='$dataA' and data='$data' order by tipo";
$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);
$loginx=@mysql_result($query,$i,img);
$senha=@mysql_result($query,$i,senha);
$plano=@mysql_result($query,$i,operadora);
$destino=@mysql_result($query,$i,destino);
$ti=@mysql_result($query,$i,ti);
$tipo=@mysql_result($query,$i,tipo);
?> <img src="img/dias_site.jpg" width="450" usemap="#Map"></td>
<td width="90%" align="center"> </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="center"><iframe src="artista_banner.php" width="1100" height="638" frameborder="0" scrolling="no"></iframe></td>
</tr>
</tbody>
</table>
<p> </p>
<script>
$(document).ready(function() {
$('.carousel').carousel({
interval: 8000,
pause : false
})
});
</script>
</body>
</html>
Zerion Mini Shell 1.0