Mini Shell

Direktori : /home/boradancar/www/novo/
Upload File :
Current File : /home/boradancar/www/novo/p_bares1.php

<?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>Bora Dançar</title>
<style type="text/css">
body {
    background-color: #000000;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
		font-family: arial;

}
	h1{font:Comic Sans ms; color: #fff;  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"/> 

</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tbody>
    <tr>
      <td align="center"><img src="img_n/b_bares2.png" alt="" usemap="#Map"/></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td align="center"><table width="1100" border="0" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td><?  
 $sql="select * from buscar1 where tipo='1' order by nome";
 $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);
 $nome=@mysql_result($query,$i,nome);
 $estilo=@mysql_result($query,$i,estilo);
 $fone=@mysql_result($query,$i,fone);
 $insta=@mysql_result($query,$i,insta);
 $face=@mysql_result($query,$i,face);
 $youtube=@mysql_result($query,$i,youtube);
 $texto=@mysql_result($query,$i,texto);
 $mapa=@mysql_result($query,$i,mapa);
 $fixo=@mysql_result($query,$i,fixo);
 $site=@mysql_result($query,$i,site);
 $estilo1=@mysql_result($query,$i,estilo1);
 $maps=@mysql_result($query,$i,maps);

?>
              <div style="width: 330px; height: 50px;  display: block; float: left; margin: 22px; font-size:30px; color: #fff; text-align: left;" >
                &nbsp;&nbsp;&nbsp;
                <?= $nome; ?>
              </div>
              <div style="width: 330px; height: 50px;display: block; float: left; margin: 22px; font-size:30px; color: #fff; text-align: left;" >
                <?= $estilo; ?>
                <br>
                <?= $estilo1; ?>
              </div>
              <div style="height: 45px;  display: block; float: left; margin: 0px;  text-align: center;" >
                <?php if($insta!=''){?>
                <a href="<?= $insta;?>"  target="_blank"><img src="img_n/insta.jpg" width="100" alt=""/></a>
                <? } ?>
              </div>
              <div style="height: 45px;  display: block; float: left; margin: 0px;  text-align: center;" >
                <?php if($fone!=''){?>
                <a href="https://api.whatsapp.com/send?phone=55<?= $fone;?>" target="_blank"><img src="img_n/zap.jpg" width="100" alt=""/></a>
                <? } ?>
              </div>
				<div style="height: 45px;  display: block; float: left; margin: 0px;  text-align: center;" >
                <?php if($maps!=''){?>
                <a href="<?= $maps;?>" target="_blank"><img src="img_n/mapss.jpg" width="100" alt=""/></a>
                <? } ?>
              </div>
              <? } ?></td>
          </tr>
        </tbody>
      </table></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
  </tbody>
</table>
<map name="Map"><area shape="rect" coords="311,134,611,201" href="filtro_b.php">
  <area shape="circle" coords="100,98,88" href="index_novo.php">
  <area shape="rect" coords="617,138,851,199" href="cadastro_b.php">
</map>
<script>
$(document).ready(function() {
    $('.carousel').carousel({
      interval: 8000,
	  pause   : false
    })
  });
  </script>
</body>
</html>

Zerion Mini Shell 1.0