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>Documento sem tÃtulo</title>
<link href="bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
<div class="carousel-item">
<? $query_l=@mysql_query("select * from cartaz_n WHERE tipo='78' order by tipo rand() limit 1");
//seleciona todos os campos no banco e exibir
while ($linhal= @mysql_fetch_array($query_l)) {
?>
<a href="wowsliderD.php?id=<?= $linhal[id];?>" target="_top"><img src="../cartaz_n/<?= $linhal[img];?>" width="520" height="520" alt="" style="margin:10px;"/></a>
<? } ?>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="prev" style="margin-top:560px;">
<span aria-hidden="true"></span>
<span class=""><img src="img/voltar.png"></span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="next" style="margin-top:560px;">
<span aria-hidden="true"></span>
<span class=""><img src="img/voltar1.png"></span>
</button>
</div><img src="../imagem_n/todos.jpg" style="margin-left: 160px; margin-top:10px">
</body>
</html>
Zerion Mini Shell 1.0