Mini Shell

Direktori : /home/boradancar/www/novo/
Upload File :
Current File : /home/boradancar/www/novo/index_nn.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 {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
</style>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tbody>
    <tr>
      <td><img src="img/topo_nn.jpg" alt="" width="100%" usemap="#Map2"/></td>
    </tr>
    <tr>
      <td><img src="img/topo_nn1.jpg" width="100%" alt=""/></td>
    </tr>
    <tr>
      <td align="center"><img src="img/topo_nn2.jpg" alt="" width="1000" usemap="#Map"/>
        <map name="Map">
     
			
           <?  $ano=date("Y");
 				$query_l=@mysql_query("select * from data where ano='$ano' and semana='seg' order by id desc limit 1");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
			<area shape="rect" coords="56,80,219,139" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Segunda&id=<?= $linhal[id];?>">
			<? } ?>
			<?  $ano=date("Y");
 				$query_l=@mysql_query("select * from data where ano='$ano' and semana='ter' order by id desc limit 1");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
          <area shape="rect" coords="301,79,461,136" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Terça&id=<?= $linhal[id];?>">
			<? } ?>
			
			<?  $ano=date("Y");
 				$query_l=@mysql_query("select * from data where ano='$ano' and semana='qua' order by id desc limit 1");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
          <area shape="rect" coords="544,81,700,137" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quarta&id=<?= $linhal[id];?>">
			<? } ?>
			
			<?  $ano=date("Y");
 				$query_l=@mysql_query("select * from data where ano='$ano' and semana='qui' order by id desc limit 1");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
          <area shape="rect" coords="789,79,941,138" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quinta&id=<?= $linhal[id];?>">
			<? } ?>
			
			<?  $ano=date("Y");
 				$query_l=@mysql_query("select * from data where ano='$ano' and semana='sex' order by id desc limit 1");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
          <area shape="rect" coords="170,178,318,235" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sexta&id=<?= $linhal[id];?>">
			<? } ?>
			
			<?  $ano=date("Y");
 				$query_l=@mysql_query("select * from data where ano='$ano' and semana='sab' order by id desc limit 1");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
          <area shape="rect" coords="428,180,579,240" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sabado&id=<?= $linhal[id];?>">
			<? } ?>
			
			<?  $ano=date("Y");
 				$query_l=@mysql_query("select * from data where ano='$ano' and semana='dom' order by id desc limit 1");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
          <area shape="rect" coords="681,180,835,238" href="data_site.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Domingo&id=<?= $linhal[id];?>">
			<? } ?>
			
      </map></td>
    </tr>
    <tr>
      <td align="left">
		  <iframe src="banner_destaque.php" width="480" height="509" frameborder="0" scrolling="no" ></iframe>
      <iframe src="banner_destaque.php" width="480" height="509" frameborder="0" scrolling="no"></iframe></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
  </tbody>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td colspan="2" align="center"><img src="img/artista.jpg" width="864" height="70" alt=""/></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><span class="carousel-item active" style="margin-left: 20px;">
        <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='3' order by rand() ");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
        <a href="<?= $linhal[insta];?>"  target="_blank"><img src="../car_prin/<?= $linhal[img];?>" width="240" height="240" alt="" style="margin:5px;"/></a>
        <? } ?>
      </span></td>
    </tr>
    <tr>
      <td colspan="2" align="left">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2" align="center"><img src="img/casa.jpg" width="864" height="70" alt=""/></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><span class="carousel-item active" style="margin-left: 20px;">
        <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='4' order by rand()");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
        <a href="<?= $linhal[insta];?>"  target="_blank"><img src="../car_prin/<?= $linhal[img];?>" width="240" height="240" alt="" style="margin:5px;"/></a>
        <? } ?>
      </span></td>
    </tr>
  </tbody>
</table>

<map name="Map2"><area shape="rect" coords="836,226,1162,322" href="https://www.instagram.com/boradancar.oficial/" target="_blank">
  <area shape="rect" coords="833,124,1156,219" href="https://api.whatsapp.com/send?phone=5581983411550" target="_blank">
</map>
</body>
</html>

Zerion Mini Shell 1.0