Mini Shell

Direktori : /home/sicomercio/domains/sicomerciomppa.com.br/private_html/
Upload File :
Current File : /home/sicomercio/domains/sicomerciomppa.com.br/private_html/index.php

 <?
 include"topo.php";


 include"slide.php";
 ?>


    <title>SICOMÉRCIO | Miguel Pereira Paty do Alferes</title>
    <meta charset="utf-8">
<link rel="shortcut icon" href="..//logo.png" type="image/x-icon">
<link rel="icon" href="..//logo.png" type="image/x-icon">





  </head>
  <body>



  <div class="container" style = "width:99%;" >
 

   <font color="#00a6a3" size="3" face="Arial, Helvetica, sans-serif">
 <b>VÍDEOS:</b> 
</font>
<div class="table_wrapper" style=" display: block; overflow-x: auto;  white-space: nowrap;">

<?

include"adm/conexao.php";


$sql = "SELECT * FROM videos order by id desc ";


 ?>
 

<?



$res = mysqli_query($con, $sql);

$total = mysqli_num_rows($res);

while ($f = mysqli_fetch_array($res))
{


$id = $f["id"];
$link = $f["link"];


$arquivo = $f["arquivo"];
 


// $titulo =  utf8_decode("$titulo");
//  $cidade =  utf8_decode("$cidade");
  //echo"<h3><a href = \"noticia.php?id=$id\"> $legenda</a> </h3><HR>";
  
 $arquivoo = str_replace(".mp4",".jpg",$arquivo );
echo "
<label>
    <a href='video.php?a=$arquivo' 
       data-fancybox='group' 
       data-caption='$link' 
       class='fancybox fancybox.iframe'
       data-width='800'   
       data-height='600'>  
        <img src='adm/fotos/videos/$arquivoo' style='height:180px;' class='img-responsive'>
    </a>
 
</label>
";

 

}


//echo"</br> <a href = \"pesquisa?busca=.&onde=noticias\"><h4>+ noticias</h4></a>";
?>

 
</div>











   <div class="col-md-3">
   <font color="#00a6a3" size="3" face="Arial, Helvetica, sans-serif">
<b>NOTICIAS:</b>
</font>

<?

include"adm/conexao.php";


switch ($dispositivo)
{
case "computador":
print'
<div class="thumbnail" style="background-color:#FFFFFF; border-color:#00a6a3; width:100%; height:340px; overflow:auto;  ">';
$sql = "SELECT * FROM noticias order by data desc,hora desc limit 10 ";

 break;

 default:

print'
<div class="thumbnail" style="background-color:#FFFFFF; border-color:#00a6a3; width:100%;  ">';

$sql = "SELECT * FROM noticias order by data desc,hora desc limit 3 ";


 break;
}
 ?>



<?



$res = mysqli_query($con, $sql);

$total = mysqli_num_rows($res);

while ($f = mysqli_fetch_array($res))
{


$id = $f["id"];
$idd = $f["id"];


$secao = $f["secao"];
$cidade = $f["cidade"];
$imagem = $f["foto"];
$titulo = $f["titulo"];
$data = $f["data"];
$hora = $f["hora"];
 //$data = formataData("$data");
$link = $f["link"];
$click = $f["click"];
$enviadopor = $f["enviadopor"];



// $titulo =  utf8_decode("$titulo");
  $cidade =  utf8_decode("$cidade");
  echo"<h3><a href = \"noticia.php?id=$id\"> $titulo</a> </h3><HR>";
}
echo"</br> <a href = \"pesquisa?busca=.&onde=noticias\"><h4>+ noticias</h4></a>";
?>

</div>
</div>



   <div class="col-md-3">
      <font color="#00a6a3" size="3" face="Arial, Helvetica, sans-serif">
<b>FOTOS HISTÓRICAS:</b>
</font>
<div class="thumbnail" style="background-color:#FFFFFF; border-color:#00a6a3; width:300px; height:340px;">
<a href = "https://www.facebook.com/sicomerciomppa/photos/?ref=&tab=album" target='_blank'>
<img src='fotoshistoricas.png' alt='Sicomercio fotos históricas' style="width:300px; height:330px;" class="img-responsive" >
</a>
</div>
</div>



   <div class="col-md-3">
      <font color="#00a6a3" size="3" face="Arial, Helvetica, sans-serif">
<b>FALE CONOSCO:</b>
</font>
<div class="thumbnail" style="background-color:#FFFFFF; border-color:#ffffff; width:100%;">

<a href = "http://wa.me/5524988462133" target='_blank'><img src='btnwhatsapp.png' alt='Sicomercio MP PA' style='width:160px; margin-bottom: 7px;' class='img-responsive animated  wow pulse' ></a>
</br>
<a href = "https://www.instagram.com/sicomerciomppa/" target='_blank'><img src='btninsta.png' alt='Sicomercio MP PA' style='width:160px; margin-bottom: 7px;' class='img-responsive animated  wow pulse' ></a>
</br>
<a href = "https://www.facebook.com/sicomerciomppa/?ref=page_internal" target='_blank'><img src='btnfacebook.png' alt='Sicomercio MP PA' style='width:160px; margin-bottom: 7px;' class='img-responsive animated  wow pulse' ></a>
</br>
<a href = "https://www.google.com/maps/place/Av.+Pres.+John+Kenedy,+191+-+Centro,+Miguel+Pereira+-+RJ,+26900-000/@-22.4561914,-4B8r3B4p7yhRXuBWLqsQ546WR43cqQwrbXMDFnBi6vSJBeif8tPW85a7r7DM961Jvk4hdryZoByEp8GC8HzsqJpRN4FxGM9-43.4682609" target='_blank'><img src='btnlocalizacao.png' alt='Sicomercio MP PA' style='width:160px; margin-bottom: 7px;' class='img-responsive animated  wow pulse' ></a>
</br>
<a href = "mailto:sicomerciomppa@gmail.com" target='_blank'><img src='btnemail.png' alt='Sicomercio MP PA' style='width:160px; margin-bottom: 7px;' class='img-responsive animated  wow pulse' ></a>

</div>
</div>
</p>
</p>
   <div class="col-md-3">
</p>
<div class="thumbnail" style=" margin-top: 15px; border-color:#ffffff; width:100%;  ">
 </p>
<img src='certificado.png' alt='Sicomercio MP PA' style='height:146px;  margin-bottom: 17px;' class='img-responsive animated  wow pulse' >
 </p> </p>
 <a href = "QVNTT0NJRS1TRQ==" target='_parent'> <img src='ass.png' alt='Sicomercio MP PA' style='height:146px;  margin-bottom: 7px;' class='img-responsive animated  wow pulse' ></a>
</p>
 </div>
</div>

<div class="col-md-7">
<div class="thumbnail" style=" border-color:#ffffff; width:100%;">
<?
include"slidecidade.php";
?>
 </div>
 </div>


<div class="col-md-4">
<?
switch ($dispositivo)
{
case "computador":
 print'<div class="thumbnail" style="margin-left:100px;  border-color:#ffffff; width:100%;">';
break;


default:
 print'<div class="thumbnail" style="border-color:#ffffff; width:100%;">';
break;
}
?>

<?

include"slideassociados.php";
echo"  <a href = \"pesquisa?busca=&onde=empresas\"><h4> <i class=\"fa fa-cog\" aria-hidden=\"true\"></i> Pesquisa Avançada</h4></a>
";
?>
 </div>
 </div>





</div>








</div>













</br>
</br>
</br>
</br>



</p>
<?
include"rodape.php";
?>


</body>
</html>

Zerion Mini Shell 1.0