Mini Shell

Direktori : /home/boradancar/www/
Upload File :
Current File : /home/boradancar/www/index_1.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;
}
	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">
  <tbody>
    <tr>
      <td align="center" valign="top"><p><img src="img_n/topo1.gif" alt="" width="1200" height="411" usemap="#Map"/></p></td>
    </tr>
    <tr>
      <td height="55" align="center" bgcolor="#FDC806"><table width="1200" border="0" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td width="150" align="center" bgcolor="#FFCC00"><?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Segunda&id=<?= $linhal[id];?>">
              <img src="img_n/seg.jpg" width="130" alt=""/></a>
              <? } ?>
              </td>
            <td width="150" align="center" bgcolor="#FFFF66"><?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Terça&id=<?= $linhal[id];?>">
              <img src="img_n/ter.jpg" width="130" alt=""/>
              </a>
              <? } ?>              </td>
            <td width="150" align="center"><?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quarta&id=<?= $linhal[id];?>">
              <img src="img_n/qua.jpg" width="130" alt=""/>
              </a>
              <? } ?>              </td>
            <td width="150" align="center" bgcolor="#FFFF66"><?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quinta&id=<?= $linhal[id];?>">
              <img src="img_n/qui.jpg" width="130" alt=""/>
              </a>
              <? } ?>              </td>
            <td width="150" align="center"><h1>
              <?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sexta&id=<?= $linhal[id];?>">
              <img src="img_n/sex.jpg" width="130" alt=""/>
              </a>
              <? } ?>              </td>
            <td width="150" align="center" bgcolor="#FFFF66"><?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sábado&id=<?= $linhal[id];?>">
              <img src="img_n/sab.jpg" width="130" alt=""/>
              </a>
              <? } ?>              </td>
            <td width="150" align="center"><?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Domingo&id=<?= $linhal[id];?>">
              <img src="img_n/dom.jpg" width="130" alt=""/>
              </a>
              <? } ?>              </td>
            <td width="150" align="center" bgcolor="#FFFF66"><a href="futuro.php?id=50&ano=<?= $linhal[ano];?>&di=futuros"><img src="img_n/futuro.jpg" width="130" height="34" alt=""/></a></td>
          </tr>
        </tbody>
      </table></td>
    </tr>
    <tr>
      <td height="55" align="center"><table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td width="150" align="center">
				<h1>
					<?  $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)) {

?>
					<?  $qu=@mysql_query("select * from cartaz_n where ano='$ano' and tipo='50' and data='$linhal[dia]'");
				while ($li = @mysql_fetch_array($qu)) {
$ss="update cartaz_n set tipo='$linhal[id]' where id='$li[id]'";  
$qu= mysql_query($ss); 
				} ?>
					
				<a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Segunda&id=<?= $linhal[id];?>"><img src="img_n/seg1.png"><?= $linhal[dia];?></a>
					<? } ?><h1>
			</td>
					
            <td width="150" align="center"><h1><?  $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)) {

?><?  $qu=@mysql_query("select * from cartaz_n where ano='$ano' and tipo='50' and data='$linhal[dia]'");
				while ($li = @mysql_fetch_array($qu)) {
$ss="update cartaz_n set tipo='$linhal[id]' where id='$li[id]'";  
$qu= mysql_query($ss); 
				} ?>
				
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Terça&id=<?= $linhal[id];?>">
              <?= $linhal[dia];?>
              </a>
              <? } ?><h1>
			</td>
            <td width="150" align="center"><h1>
              <?  $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)) {

?>
              <?  $qu=@mysql_query("select * from cartaz_n where ano='$ano' and tipo='50' and data='$linhal[dia]'");
				while ($li = @mysql_fetch_array($qu)) {
$ss="update cartaz_n set tipo='$linhal[id]' where id='$li[id]'";  
$qu= mysql_query($ss); 
				} ?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quarta&id=<?= $linhal[id];?>">
              <?= $linhal[dia];?>
              </a>
              <? } ?></td>
            <td width="150" align="center"><h1>
              <?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quinta&id=<?= $linhal[id];?>">
              <?  $qu=@mysql_query("select * from cartaz_n where ano='$ano' and tipo='50' and data='$linhal[dia]'");
				while ($li = @mysql_fetch_array($qu)) {
$ss="update cartaz_n set tipo='$linhal[id]' where id='$li[id]'";  
$qu= mysql_query($ss); 
				} ?>
              <?= $linhal[dia];?>
              </a>
              <? } ?></td>
            <td width="150" align="center"><h1>
              <?  $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)) {

?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sexta&id=<?= $linhal[id];?>">
              <?  $qu=@mysql_query("select * from cartaz_n where ano='$ano' and tipo='50' and data='$linhal[dia]'");
				while ($li = @mysql_fetch_array($qu)) {
$ss="update cartaz_n set tipo='$linhal[id]' where id='$li[id]'";  
$qu= mysql_query($ss); 
				} ?>
              <?= $linhal[dia];?>
              </a>
              <? } ?></td>
            <td width="150" align="center"><h1>
              <?  $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)) {

?>
              <?  $qu=@mysql_query("select * from cartaz_n where ano='$ano' and tipo='50' and data='$linhal[dia]'");
				while ($li = @mysql_fetch_array($qu)) {
$ss="update cartaz_n set tipo='$linhal[id]' where id='$li[id]'";  
$qu= mysql_query($ss); 
				} ?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sábado&id=<?= $linhal[id];?>">
              <?= $linhal[dia];?>
              </a>
              <? } ?></td>
            <td width="150" align="center"><h1>
              <?  $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)) {

?>
              <?  $qu=@mysql_query("select * from cartaz_n where ano='$ano' and tipo='50' and data='$linhal[dia]'");
				while ($li = @mysql_fetch_array($qu)) {
$ss="update cartaz_n set tipo='$linhal[id]' where id='$li[id]'";  
$qu= mysql_query($ss); 
				} ?>
              <a href="data.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Domingo&id=<?= $linhal[id];?>">
              <?= $linhal[dia];?>
              </a>
              <? } ?></td>
            <td width="150" align="center"><a href="futuro.php?id=50&ano=<?= $linhal[ano];?>&di=futuros"><img src="img_n/bola.jpg" width="47" height="38" alt=""/></a></td>
          </tr>
        </tbody>
    </table></td>
    </tr>
    <tr>
      <td align="center">
		
		







	  </td>
    </tr>
    <tr>
      <td align="center"><marquee scrollamount="15" onMouseOver="stop()" onMouseOut="start()" direction="right">
		  <p>&nbsp;</p>
		  <p>
		    <?  
 			for ($i = 1; $i <= 50; $i++) {
    	$query_l=@mysql_query("select * from car_prin   where tipo='1' order by id");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
	    <a href="geral.php?pagina=<?= $linhal[id];?>"><img src="car_prin/<?= $linhal[img];?>"  height="250" alt="" style="margin:5px;"/></a>
	    <? } } ?>
	    </p>
		  <p>&nbsp;</p>
      </marquee>
		  
	  </td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFCC00"><a href="p_artista.php"><img src="img_n/parceiron.png" width="1207" height="44" alt=""/></a></td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center"><p>&nbsp;</p>
        <p>
          <?  
 				$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="geral.php?pagina=<?= $linhal[id];?>"><img src="car_prin/<?= $linhal[img];?>" width="280" height="280" alt="" style="margin:5px;"/></a>
        <? } ?>
        </p>
      <p>&nbsp; </p></td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
	   <tr>
      <td align="center" bgcolor="#FFCC00">&nbsp;</td>
    </tr>
	   <tr>
      <td align="center"><marquee scrollamount="10" onMouseOver="stop()" onMouseOut="start()" >
      <p>&nbsp;</p>
      <p>
        <?  
 			for ($i2 = 1; $i2 <= 50; $i2++) {
    	$query_l=@mysql_query("select * from car_prin   where tipo='1' order by id");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
        <a href="geral.php?pagina=<?= $linhal[id];?>"><img src="car_prin/<?= $linhal[img];?>" height="250" alt="" style="margin:5px;"/></a>
        <? } } ?>
      </p>
      <p>&nbsp;</p>
      </marquee></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFCC00"><a href="p_bares.php"><img src="img_n/parceiron2.png" width="1207" height="44" alt=""/></a></td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center"><p>&nbsp;</p>
        <p>
          <?  
 				$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="geral.php?pagina=<?= $linhal[id];?>"><img src="car_prin/<?= $linhal[img];?>" width="280" height="280" alt="" style="margin:5px;"/></a>
        <? } ?>
        </p>
      <p>&nbsp;</p></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFCC00">&nbsp;</td>
    </tr>
    <tr>
      <td align="center"><p>&nbsp;</p>
        <marquee scrollamount="10" onMouseOver="stop()" onMouseOut="start()"  direction="right">
        <p>
          <?  
 			for ($i1 = 1; $i1 <= 50; $i1++) {
    	$query_l=@mysql_query("select * from car_prin   where tipo='1' order by id");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
          <a href="geral.php?pagina=<?= $linhal[id];?>"><img src="car_prin/<?= $linhal[img];?>" height="250" alt="" style="margin:5px;"/></a>
          <? } } ?>
        </p>
        <p>&nbsp;</p>
</marquee></td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFCC00"><a href="p_bares1.php"><img src="img_n/parceiron3.png" width="1207" height="44" alt=""/></a></td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center"><p>&nbsp;</p>
        <p>
          <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='6' order by rand()");
				//seleciona todos os campos no banco e exibir
				while ($linhal = @mysql_fetch_array($query_l)) {

?>
          <a href="geral.php?pagina=<?= $linhal[id];?>"><img src="car_prin/<?= $linhal[img];?>" width="280" height="280" alt="" style="margin:5px;"/></a>
          <? } ?>
        </p>
      <p>&nbsp; </p></td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center" background="img_n/fundo.jpg" style="height: 21px;">&nbsp;</td>
    </tr>
    <tr>
      <td align="center"><table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
          
          <tr>
            <td>&nbsp;</td>
            </tr>
          <tr>
            <td>&nbsp;</td>
            <td align="center"><img src="img_n/roda_n.jpg" alt="" width="1200" height="343" usemap="#MapMapMapMapMap2"/>
              <map name="MapMapMapMapMap2"><area shape="circle" coords="291,276,59" href="quem.php" alt="">
                <area shape="circle" coords="1016,273,59" href="https://www.youtube.com/channel/UCpECtgOOJtNI6WMXE45IV4w" target="_blank" alt="">
                <area shape="circle" coords="835,274,59" href="https://www.instagram.com/boradancar.oficial/" target="_blank" alt="">
                <area shape="circle" coords="471,270,59" href="https://api.whatsapp.com/send?phone=5581998069122" target="_blank" alt="">
                <area shape="circle" coords="652,275,59" href="https://www.facebook.com/SuzanaBoradancar" target="_blank" alt="">
              </map></td>
            </tr>
        </tbody>
      </table></td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
    </tr>
    <tr>
      <td align="right"><font face="arial" color="#FFFFFF" size="4">ACESSOS:</font><strong> <font face="comic sans ms" color="#FFFFFF" size="6">
      <?  include('adm/banco.php');
 				$query_C=@mysql_query("select * from contador order by id desc limit 1 ");
				//seleciona todos os campos no banco e exibir
				while ($linhalC= mysql_fetch_array($query_C)) 
{ echo $linhalC[id];}

?>
&nbsp;&nbsp;&nbsp;&nbsp; </font></strong></td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
    </tr>
  </tbody>
</table>
	
	
<?	$query_l1=@mysql_query("select * from cartaz_n where tipo!='36' order by tipo");
				//seleciona todos os campos no banco e exibir
				while ($linhal1= @mysql_fetch_array($query_l1)) {
					
			$que=@mysql_query("select * from cartaz_n where ano='$linhal1[ano]' and  data='$linhal1[data]' and  tipo='36'  order by tipo");
				while ($lin= @mysql_fetch_array($que)) {
					
					$sq="update cartaz_n set tipo='$linhal1[tipo]' where id='$lin[id]'";  
					$qu= mysql_query($sq); 
					
					}
				}
	$AANN=date("Y");
	$mmee=date("m");
	$ddii=date("d");
	$query_DA=@mysql_query("select * from cartaz_n where ano='$AANN' order by tipo");
				//seleciona todos os campos no banco e exibir
				while ($linhaDA= @mysql_fetch_array($query_DA)) {
					echo "";
				}
	

?>
<map name="Map"><area shape="circle" coords="1088,74,59" href="https://www.youtube.com/channel/UCpECtgOOJtNI6WMXE45IV4w" target="_blank" alt=""><area shape="circle" coords="901,71,59" href="https://www.instagram.com/boradancar.oficial/" target="_blank" alt=""><area shape="circle" coords="534,71,59" href="https://api.whatsapp.com/send?phone=5581998069122" target="_blank" alt="">
  <area shape="circle" coords="714,71,59" href="https://www.facebook.com/SuzanaBoradancar" target="_blank" alt="">
</map>
<script>
$(document).ready(function() {
    $('.carousel').carousel({
      interval: 8000,
	  pause   : false
    })
  });
  </script>
</body>
</html>

Zerion Mini Shell 1.0