Mini Shell

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

<? 

include("adm/banco.php");
if($_GET[pagina]==""){
	$pagina="home.php";
}
else{$pagina=$_GET[pagina].".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;
}
	
		html {
    scroll-behavior: smooth;
  }
</style>
<script type="text/javascript">
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>

<body onLoad="MM_preloadImages('img/m51.jpg','img/m41.jpg')">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td align="center"><a href="index.php"><img src="2025/topo.jpg" alt="" usemap="#Map" width="100%"/></a></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFFFFF"><p>&nbsp;</p>
        <p><img src="2025/titulo.jpg" width="311" height="85" alt=""/></p>
        <p>
			<?  $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_dia.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Segunda&id=<?= $linhal[id];?>&ddia=Seg"><img src="2025/seg.jpg" width="125" height="50" alt=""/></a><? } ?>
			
			&nbsp;&nbsp; 
			<?  $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_dia.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Terça&id=<?= $linhal[id];?>&ddia=Ter"><img src="2025/ter.jpg" width="125" height="50" alt=""/></a>
			<? } ?>
			&nbsp;&nbsp; 
			<?  $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_dia.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quarta&id=<?= $linhal[id];?>&ddia=Qua"><img src="2025/qua.jpg" width="125" height="50" alt=""/></a>
			<? } ?>
			&nbsp;&nbsp; 
			<?  $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_dia.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Quinta&id=<?= $linhal[id];?>&ddia=Qui"><img src="2025/qui.jpg" width="125" height="50" alt=""/></a>
			<? } ?>
			&nbsp;&nbsp; 
			<?  $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_dia.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sexta&id=<?= $linhal[id];?>&ddia=Sex"><img src="2025/sex.jpg" width="125" height="50" alt=""/></a>
			<? } ?>
			&nbsp;&nbsp; 
			<?  $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_dia.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Sabado&id=<?= $linhal[id];?>&ddia=Sab"><img src="2025/sab.jpg" width="125" height="50" alt=""/></a>
			<? } ?>
			&nbsp;&nbsp; 
			<?  $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_dia.php?dia=<?= $linhal[dia];?>&ano=<?= $linhal[ano];?>&di=Domingo&id=<?= $linhal[id];?>&ddia=Dom"><img src="2025/dom.jpg" width="125" height="50" alt=""/></a>
			<? } ?>
        </p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td width="10%" align="left"><img src="2025/l1.jpg" alt="" width="117" height="94" onMouseOver="MM_swapImage('m5','','img/m51.jpg',1)" onMouseOut="MM_swapImgRestore()"/></td>
            <td align="center"><img src="2025/producao.jpg" width="136" height="71" alt=""/>&nbsp;&nbsp;<img src="2025/divulga.jpg" width="136" height="71" alt=""/>&nbsp;&nbsp;<img src="2025/oficinas.jpg" width="136" height="71" alt=""/>&nbsp;&nbsp;&nbsp;&nbsp;<img src="2025/oficinas2.jpg" width="136" height="71" alt=""/>&nbsp;<img src="2025/turismo.jpg" width="136" height="71" alt=""/></td>
            <td width="10%" align="right"><img src="2025/l2.jpg" alt="" width="117" height="94" onMouseOver="MM_swapImage('m4','','img/m41.jpg',1)" onMouseOut="MM_swapImgRestore()"/></td>
          </tr>
        </tbody>
      </table>
      <p>&nbsp;</p></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td width="205" align="left">&nbsp;</td>
            <td width="942" align="right"><a href="completo.php?tipo=Artistas&id=3"><img src="2025/t1.jpg" width="100%" alt=""/></a></td>
          </tr>
          <tr>
            <td width="205" align="left"><span class="carousel-item active" style="margin-left: 20px;">
              <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='1' order by rand() limit 1");
				//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="232" height="280" alt="" style="margin:10px;"/></a>
              <? } ?>
            </span></td>
            <td align="center" valign="top"><span class="carousel-item active" style="margin-left: 20px;">
              <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='3' order by rand() limit 10");
				//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="110" height="110" alt="" style="margin:10px;"/></a>
              <? } ?>
            </span></td>
          </tr>
        </tbody>
      </table></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr><tr>
      <td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td width="790" align="left"><a href="completo.php?tipo=Casas&id=4"><img src="2025/t2.jpg" width="100%" alt=""/></a></td>
            <td width="242" align="right">&nbsp;</td>
          </tr>
          <tr>
            <td width="790" align="center" valign="top"><span class="carousel-item active" style="margin-left: 20px;">
              <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='4' order by rand() limit 10");
				//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="110" height="110" alt="" style="margin:10px;"/></a>
              <? } ?>
            </span></td>
            <td align="right"><span class="carousel-item active" style="margin-left: 20px;">
              <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='2' order by rand() limit 1");
				//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="232" height="280" alt="" style="margin:10px;"/></a>
              <? } ?>
            </span></td>
          </tr>
        </tbody>
      </table></td>
    </tr><tr>
      <td>&nbsp;</td>
    </tr><tr>
      <td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td width="205" align="left">&nbsp;</td>
            <td width="942" align="right"><a href="completo.php?tipo=Fornecedores&id=6"><img src="2025/t3.jpg" width="828" alt=""/></a></td>
          </tr>
          <tr>
            <td width="205" align="left"><span class="carousel-item active" style="margin-left: 20px;">
              <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='2' order by rand() limit 1");
				//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="232" height="280" alt="" style="margin:10px;"/></a>
              <? } ?>
            </span></td>
            <td align="center" valign="top"><span class="carousel-item active" style="margin-left: 20px;">
              <?  
 				$query_l=@mysql_query("select * from car_prin  where tipo='6' order by rand() limit 10");
				//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="110" height="110" alt="" style="margin:10px;"/></a>
              <? } ?>
            </span></td>
          </tr>
        </tbody>
      </table></td>
    </tr><tr>
      <td>&nbsp;</td>
    </tr><tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FEC435">&nbsp;</td>
    </tr>
  </tbody>
</table>
<map name="Map">
  <area shape="rect" coords="476,120,670,175" href="https://www.instagram.com/boradancar.oficial/" target="_blank">
  <area shape="circle" coords="145,149,147" href="index.php">
</map>
</body>
</html>

Zerion Mini Shell 1.0