Mini Shell
<?
if($_GET[pagina]==""){
$pagina="home.php";
}
else{$pagina=$_GET[pagina].".php";
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Grupo Bora Dançar</title>
<style type="text/css">
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
body,td,th {
font-family: arial;
}
a:link {
color: #000000;
}
a:hover {
color: #00352F;
}
a:visited {
color: #00352F;
}
</style>
</head>
<body>
<?
include("adm/banco.php");
$query_l=@mysql_query("select * from videos_noticias where id='$_GET[id]' order by rand() limit 1 ");
//seleciona todos os campos no banco e exibir
while ($linhal = mysql_fetch_array($query_l)) {
?>
<table border="0" align="center" style="border:5px;">
<tr>
<td align="center" valign="top" >
<?= $linhal[video]; ?></td>
</tr>
<tr>
<td align="center" valign="middle"><strong style="color: #fff;">
<h2><?= utf8_encode($linhal[sub]);?></h2>
</strong></td>
</tr>
</table>
<? } ?>
</body>
</html>
Zerion Mini Shell 1.0