Home Files
Adminer
Execute Command
PHP Eval
Symlink
File Upload
Owner :
www-data
PHP Version
5.6.40-0+deb8u12
Disk Space
41.01 GB
Server Addr
19-www4
Your IP
10.10.10.40
Edit File
File:
<?php require_once("admin/conexao/conecta.php"); require("admin/functions/limita-texto.php"); ?> <?php //RECUPERA OS DADOS //if(!isset($_GET['id'])){ header("Location: quemsomos.php"); exit;} $id = 1;//$_GET['id']; $select = "SELECT * from twebsite WHERE id=:id"; $contagem =1; try{ $result = $conexao->prepare($select); $result->bindParam(':id', $id, PDO::PARAM_INT); $result->execute(); $contar = $result->rowCount(); if($contar>0){ while($mostra = $result->FETCH(PDO::FETCH_OBJ)){ $idPost = $mostra->id; $quemsomos = $mostra->quemsomos; $logo = $mostra->logo; } }else{ echo '<div class="alert alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Aviso!</strong> Não há dados cadastrados com o id informado. </div>';exit; } }catch(PDOException $e){ echo $e; } ?> <!DOCTYPE html> <html lang="pt-br"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title><?php echo "Quem Somos - Projeto Fonte de Luz"; ?></title> <!--NOME DO SITE NO CABEÇALHO DO NAVEGADOR--> <?php $sql = "SELECT * from twebsite"; try { $resultado = $conexao->prepare($sql); $resultado->execute(); $contar = $resultado->rowCount(); if ($contar > 0) { while ($exibe = $resultado->fetch(PDO::FETCH_OBJ)) { ?> <link rel="icon" href="img/<?php echo $exibe->logo; ?>"> <?php }//while } } catch (PDOException $erro) { echo $erro; } ?> <!-- Bootstrap CSS --> <link rel="stylesheet" href="css/bootstrap.min.css"> <!-- animate CSS --> <link rel="stylesheet" href="css/animate.css"> <!-- owl carousel CSS --> <link rel="stylesheet" href="css/owl.carousel.min.css"> <!-- themify CSS --> <link rel="stylesheet" href="css/themify-icons.css"> <!-- flaticon CSS --> <link rel="stylesheet" href="css/flaticon.css"> <!-- font awesome CSS --> <link rel="stylesheet" href="css/magnific-popup.css"> <!-- swiper CSS --> <link rel="stylesheet" href="css/slick.css"> <!-- style CSS --> <link rel="stylesheet" href="css/style_fonte.css"> <!-- Custom styles for this template --> <link href="css/agency.min5.css" rel="stylesheet"> <!-- Movie Cicle --> <script src="js/wow.js"></script> <script> new WOW().init(); </script> </head> <body> <!--::header part start::--> <?php include("includes/header_pages.php");?> <!-- Header part end--> <!--================Blog Area =================--> <section class="blog_area single-post-area section_padding"> <div class="container"> <div class="row"> <div class="col-lg-8 posts-list"> <h1 align="center">Quem Somos</h1> <div class="single-post"> <div class="feature-img" align="center"> <img class="img-fluid" src="img/<?php echo $logo;?>" alt="" style="width:350px;height:350px;"> </div> <div class="blog_details"> <p class="excert"> <?php echo $quemsomos;?> </p> </div> </div> <div class="navigation-top"> <div class="d-sm-flex justify-content-between text-center"> <div class="col-sm-4 text-center my-2 my-sm-0"> <!-- <p class="comment-count"><span class="align-middle"><i class="far fa-comment"></i></span> 06 Comments</p> --> </div> <ul class="social-icons"> <li><a href="#"><i class="fab fa-facebook-f"></i></a></li> <li><a href="#"><i class="fab fa-twitter"></i></a></li> <li><a href="#"><i class="fab fa-dribbble"></i></a></li> <li><a href="#"><i class="fab fa-behance"></i></a></li> </ul> </div> </div> <!--Membros--> <div class="blog_right_sidebar col-lg-8"> <aside class="single_sidebar_widget instagram_feeds"> <h2 class="widget_title">Diretoria</h2> <ul class="instagram_row flex-wrap"> <?php $quantidade = 100; $inicio = 0; $modal = 0; $sql = "SELECT * from tusuarios WHERE exibir='Sim' AND cargodiretoria <>'' ORDER BY RAND() LIMIT 100"; try { $resultado = $conexao->prepare($sql); $resultado->execute(); $contar = $resultado->rowCount(); if ($contar > 0) { while ($exibe = $resultado->fetch(PDO::FETCH_OBJ)) { $modal +=1; ?> <div class="tilt" align="center"> <?php if ($exibe->imagem == 'avatar.jpg'){ $caminho = "img/perfil/null/"; } else{ $caminho = "img/perfil/"; } ?> <img class="mx-auto rounded-circle" src="<?php echo $caminho . $exibe->imagem; ?>" alt="" style="width:150px;height:150px"> <br><h10><?php echo $exibe->nome; ?></h10> <br><div style="font-size: 100%;"><b><?php echo $exibe->cargodiretoria; ?></b></div> </div> <?php }//while } else { echo '<li>Não existe sócios doadores cadastrados no sistema</li><br>'; } } catch (PDOException $erro) { echo $erro; } ?> </ul> </aside> </div> <!--Fim Membros--> <!--INFORMATIVOS--> <div class="col-lg-8"> <div class="project_details_content"> <h2>Informativos</h2> <?php try{ $sql = "SELECT * FROM tinformativos WHERE exibir = 'Sim' and idrelacionado =91 or idrelacionado = 90"; $result = $conexao->prepare($sql); $result->execute(); $contar = $result->rowCount(); if($contar>0){ while($exibe = $result->FETCH(PDO::FETCH_OBJ)){ ?> <div><li> <?php echo $exibe->nome;?> <a href="baixar.php?arquivo=informativos/<?php echo $exibe->arquivo; ?>" class="d-flex" alt="Clique para baixar"> <p style="color: blue" alt="Clique para baixar">(Clique para baixar)</p> </a><br> </li> </div> <?php }//while } else { echo '<li>Nenhum até o momento.</li>'; } } catch (PDOException $erro) { echo $erro; } ?> </div> </div> <!--FIM INFORMATIVOS--> </div> <div class="col-lg-4"> <div class="blog_right_sidebar"> <aside class="single_sidebar_widget instagram_feeds"> <h4 class="widget_title">Últimas Notícias</h4> <ul class="instagram_row flex-wrap"> <?php $inicio = 0; $quantidade = 6; $select = "SELECT * from tnoticias WHERE exibir='Sim' ORDER BY data DESC LIMIT $inicio, $quantidade"; try{ $result = $conexao->prepare($select); $result->execute(); $contar = $result->rowCount(); if($contar>0){ while($exibe = $result->FETCH(PDO::FETCH_OBJ)){ ?> <li> <a href="noticia.php?id=<?php echo $exibe->id?>"> <img class="img-fluid" src="img/noticias/<?php echo $exibe->imagem;?>" alt="<?php echo $exibe->titulo; ?>" style="width:100px;height:100px;"> </a> </li> <?php }//while } else { echo '<li>Nenhuma</li>'; } } catch (PDOException $erro) { echo $erro; } ?> </ul> </aside> <aside class="single_sidebar_widget post_category_widget"> <h4 class="widget_title">Projetos</h4> <ul class="list cat-list"> <?php $select = "SELECT * from tprojetos WHERE exibir='Sim' ORDER BY RAND()"; try{ $result = $conexao->prepare($select); $result->execute(); $contar = $result->rowCount(); if($contar>0){ while($exibe = $result->FETCH(PDO::FETCH_OBJ)){ $id = $exibe->id; ?> <a href="projeto.php?id=<?php echo $exibe->id?>"> <img class="img-fluid" src="img/projetos/<?php echo $exibe->imagem;?>" alt="<?php echo $exibe->nome; ?>" style="width:80px;height:80px;"> </a> <?php }//while } else { echo '<li>Não existe projetos cadastrados no sistema</li>'; } } catch (PDOException $erro) { echo $erro; } ?> </ul> </aside> <aside class="single_sidebar_widget instagram_feeds"> <h4 class="widget_title">Parceiros</h4> <ul class="instagram_row flex-wrap"> <?php $select = "SELECT * from tparceiros WHERE exibir='Sim' ORDER BY RAND()"; try{ $result = $conexao->prepare($select); $result->execute(); $contar = $result->rowCount(); if($contar>0){ while($exibe = $result->FETCH(PDO::FETCH_OBJ)){ ?> <li> <a href="#"> <img class="img-fluid" src="img/parceiros/<?php echo $exibe->imagem;?>" alt=""> </a> </li> <?php }//while } else { echo '<li>Não existe parceiros cadastrados no sistema</li>'; } } catch (PDOException $erro) { echo $erro; } ?> </ul> </aside> <aside class="single_sidebar_widget popular_post_widget"> <h3 class="widget_title">Compartilhar em</h3> <div class="media post_item"> <div class="media-body"> <a href="https://www.facebook.com/sharer.php?u=pesquisa.unemat.br/geoclimamt" target="_blank" title="Compartilhar no Facebook"><i class="ti-facebook"></i></a> </div> <div class="media-body"> <a href="http://twitter.com/intent/tweet?text=Notícias Fonte de Luz&url=pesquisa.unemat.br/geoclimamt" title="Twittar" target="_blank"><i class="ti-twitter"></i></a> </div> <div class="media-body"> <a href="https://www.linkedin.com/shareArticle?mini=true&url=pesquisa.unemat.br/geoclimamt" target="_blank" title="Compartilhar no Linkedin"><i class="ti-linkedin"></i></a> </div> <!-- <a href="whatsapp://send?link=pesquisa.unemat.br/geoclimamt" data-action="share/whatsapp/share">Compartilhe no Whatsapp</a>--> <div class="media-body"> <a href="https://web.whatsapp.com/send?text=pesquisa.unemat.br/geoclimamt" target="_blank" title="Compartilhar no Whatsapp"><i class="ti-themify-favicon"></i></a> </div> </div> </aside> </div> </div> </div> </div> </section> <!--================Blog Area end =================--> <!-- footer part start--> <?php include("includes/footer.php");?> <!-- footer part end--> <!-- jquery plugins here--> <!-- jquery --> <script src="js/jquery-1.12.1.min.js"></script> <!-- popper js --> <script src="js/popper.min.js"></script> <!-- bootstrap js --> <script src="js/bootstrap.min.js"></script> <!-- easing js --> <script src="js/jquery.magnific-popup.js"></script> <!-- swiper js --> <script src="js/swiper.min.js"></script> <!-- swiper js --> <script src="js/masonry.pkgd.js"></script> <!-- particles js --> <script src="js/owl.carousel.min.js"></script> <!-- swiper js --> <script src="js/slick.min.js"></script> <!-- custom js --> <script src="js/custom.js"></script> </body> </html>