Mini Shell

Direktori : /home/boradancar/www/
Upload File :
Current File : /home/boradancar/www/futuro.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>Grupo 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"><table width="1200" border="0" align="center" cellpadding="4" cellspacing="4">
        <tbody>
          <tr>
            <td align="center"><a href="index.php" style="font-size:40px; font-family: arial;"><img src="img_n/logo.jpg" width="253" alt=""/><br>
              Voltar
            </a></td>
            <td align="center"><img src="img_n/futuros.jpg" width="471" height="72" alt=""/></td>
            <td>&nbsp;</td>
			  <td align="center"><h1 style="color:#FDD005;"><?= $_GET[di];?>
			  </h1>
			    <h1>
			      <?= $_GET[dia];?>
	          </h1></td>
          </tr>
        </tbody>
      </table></td>
    </tr>
    <tr>
      <td align="center"><table width="1200" border="0" align="center" cellpadding="4" cellspacing="4">
        <tbody>
          <tr>
            <td height="400" align="center">
				<? $data=date("d/m");
				 $dataA=date("Y");
 $sql="select * from cartaz_n  WHERE tipo='$_GET[id]'  order by tipo";
 $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);
 $loginx=@mysql_result($query,$i,img);
 $senha=@mysql_result($query,$i,senha);
 $plano=@mysql_result($query,$i,operadora);
 $destino=@mysql_result($query,$i,destino);
 $tipo=@mysql_result($query,$i,tipo);

?>
			  <a href="wowslider_f.php?id=<?= $id; ?>&di=<?= $_GET[di]; ?>&idd=<?= $_GET[id];?>&ano=<?= $_GET[ano];?>&dia=<?= $_GET[dia];?>"><img src="cartaz_n/<?= $img;?>" height="330" style="border-radius:20px; margin:15px;" /></a>
                <? } ?>
                <table width="100%" border="0" cellspacing="4" cellpadding="4">
                  <tbody>
                  <tr>
                    <td>&nbsp;</td>
                    <td align="center"><p style="color: #fff; font-family: arial; font-size: 25px;"><? if($total>0){?>CLIQUE EM CIMA PARA AMPLIAR<? } ?></p></td>
                    <td align="right"></td>
                  </tr>
                </tbody>
        </table></td>
            </tr>
        </tbody>
      </table></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"><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"> <font color="#000" face="arial">
                <?= $linhal[dia];?>
                </font> </a>
              <? } ?></td>
            <td width="150" align="center" bgcolor="#FFFF66"><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];?>"><img src="img_n/ter1.png"> <font color="#000" face="Arial">
                <?= $linhal[dia];?>
                </font> </a>
              <? } ?>
              <h1></h1>
            </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];?>"><img src="img_n/qua1.png"> <font color="#000" face="Arial">
                <?= $linhal[dia];?>
                </font> </a>
              <? } ?></td>
            <td width="150" align="center" bgcolor="#FFFF66"><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];?>"><img src="img_n/qui1.png">
                <?  $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); 
				} ?>
                <font color="#000" face="Arial">
                  <?= $linhal[dia];?>
                </font> </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/sex1.png">
                <?  $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); 
				} ?>
                <font color="#000" face="Arial">
                  <?= $linhal[dia];?>
                </font> </a>
              <? } ?></td>
            <td width="150" align="center" bgcolor="#FFFF66"><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];?>"><img src="img_n/sab1.png"> <font color="#000" face="Arial">
                <?= $linhal[dia];?>
                </font> </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];?>"><img src="img_n/dom1.png"> <font color="#000" face="Arial">
                <?= $linhal[dia];?>
                </font></a>
              <? } ?></td>
            <td width="150" align="center" bgcolor="#FFFF66"><a href="futuro.php?id=50&ano=<?= $linhal[ano];?>&di=futuros"><img src="img_n/fut1.png" width="140" height="35" alt=""/><img src="img_n/fut.png" width="140" height="35" alt=""/></a></td>
          </tr>
        </tbody>
      </table></td>
    </tr>
    <tr>
      <td height="55" align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center">
		
		







	  </td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
    <tr>
      <td align="center">&nbsp;</td>
    </tr>
  </tbody>
</table>
<script>
$(document).ready(function() {
    $('.carousel').carousel({
      interval: 8000,
	  pause   : false
    })
  });
  </script>
</body>
</html>

Zerion Mini Shell 1.0