Mini Shell

Direktori : /home/boradancar/www/
Upload File :
Current File : /home/boradancar/www/casas.php

<? 
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>
<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" style="margin-left: 20px;">
      <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='4' order by rand() limit 6");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
        <a href="geral.php?pagina=<?= $linhal[id];?>" target="_top"><img src="car_prin/<?= $linhal[img];?>" width="250" height="250" alt="" style="margin:10px;"/></a>
        <? } ?>
		
    </div>
    <div class="carousel-item"  style="margin-left: 20px;">
      <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='4' order by rand() limit 6");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
        <a href="geral.php?pagina=<?= $linhal[id];?>" target="_top"><img src="car_prin/<?= $linhal[img];?>" width="250" height="250" alt="" style="margin:10px;"/></a>
        <? } ?>
    </div>
    <div class="carousel-item"  style="margin-left: 20px;">
      <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='4' order by rand() limit 6");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
        <a href="geral.php?pagina=<?= $linhal[id];?>" target="_top"><img src="car_prin/<?= $linhal[img];?>" width="250" height="250" alt="" style="margin:10px;"/></a>
        <? } ?>
    </div>
	  
	  
	  <div class="carousel-item"  style="margin-left: 20px;">
      <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='4' order by rand() limit 6");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
        <a href="geral.php?pagina=<?= $linhal[id];?>" target="_top"><img src="car_prin/<?= $linhal[img];?>" width="250" height="250" 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:585px; background-image:url(img/voltar1.png)">
    <span  aria-hidden="true"></span>
    <span class=""><img src="img/voltar1.png"></span>
  </button>
  
</div><img src="img/clique.jpg" style="margin-top: 20px; margin-left:300px;"> 
	<a href="eventos.php" target="_top"><img src="img/ver.jpg"  style=" margin-left:100px; margin-top: 20px;"></a>
	
</body>
</html>

Zerion Mini Shell 1.0