Linux 186-227-203-186.cprapid.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
Apache
Server IP : 186.227.203.186 & Your IP : 216.73.217.146
Domains : 154 Domain
User : pmcaxingo
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
home /
pmcaxingo /
public_html /
site /
pages /
Delete
Unzip
Name
Size
Permission
Date
Action
acessibilidade.php
2.9
KB
-rw-r--r--
2025-06-06 20:15
busca.php
1015
B
-rw-r--r--
2024-11-08 18:35
contato.php
1.97
KB
-rw-r--r--
2025-06-06 20:31
deep-minimized.php
40.53
KB
-rw-r--r--
2023-08-24 16:32
error_log
466
B
-rw-r--r--
2023-08-24 16:32
galeria.php
3.89
KB
-rw-r--r--
2025-06-06 20:18
home.php
12.39
KB
-rw-r--r--
2025-01-02 15:10
home_new.php
10.9
KB
-rw-r--r--
2025-09-26 18:55
lgpd.php
5.13
KB
-rw-r--r--
2025-06-06 20:18
mapa-site.php
583
B
-rw-r--r--
2025-06-06 20:19
noticias.php
6.82
KB
-rw-r--r--
2025-06-06 20:20
parlamentares.php
39
B
-rw-r--r--
2023-08-24 16:32
pesquisa-satisfacao.php
7.52
KB
-rw-r--r--
2025-06-11 17:32
telefones.php
251
B
-rw-r--r--
2026-02-04 11:47
Save
Rename
<!-- Caminho navegado --> <div class="d-flex p-0 ms-4 align-items-center gap-2"> <i class="fas fa-map me-1 pt-1"></i> <span>Caminho navegado</span> <p class="rotas m-0"><a href="/">InĂcio</a> <i class="fa fa-arrow-right m-2"></i> <a href="/galeria">Galeria</a><span> </div> <?php $_gallerys = new DBController; $_gallerys->sql = "select * from site where modulo = 'fotos' and status = '1' order by data_cadastro desc"; $gallerys = json_encode($_gallerys->select()); $_gallerys_photos = new PublicacaoController; $gallerys_photos = $_gallerys_photos->all_photos(); ?> <section id="gallery-section" class="py-3"> <div id="gallery-list-container"> <ul id="gallery-list" type="none" class="py-2"> </ul> </div> <div id="gallery-selected-container" class=""> <span id="gallery-selected-title" class="pt-2"> </span> <ul id="gallery-selected-list" class=" " type="none"> </ul> <div class="modal fade" id="staticBackdrop" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <img src="" id="modal-image" class="w-100 px-2 h-auto img-fluid"> </div> </div> </div> </div> </section> <script type="module"> import { templates } from '/site/js/templates.js'; let gallerys = <?php echo $gallerys ?>; if (!Array.isArray(gallerys)) { gallerys = [gallerys]; } let gallerys_photos = <?php echo $gallerys_photos ?>; function load_gallery_selected(hash) { let gallery_selected = gallerys_photos[hash]; if (gallery_selected !== undefined) { let gallery_selectedHtml = gallery_selected .slice(0, gallery_selected.length) .map((photos, index) => { let src = `//lagoadositio.pi.gov.br/${photos.caminho}`; return templates.gallerySelectedItem(index, src); }) .join(''); let gallery_title = $(`#${hash} div`).text(); $("#gallery-selected-title").text(gallery_title); $("#gallery-selected-list").html(gallery_selectedHtml); // Adiciona evento de clique nas imagens da galeria selecionada $("#gallery-selected-list img").click(function () { // Pega o src da imagem clicada const imgSrc = $(this).attr('src'); console.log(this); // Define a imagem no modal $("#modal-image").attr('src', imgSrc); }); } }; function load_gallery_list() { let galleryListHtml = gallerys .slice(0, gallerys.length) .map((gallery) => { return templates.galleryItem(gallery.hash, gallery.imagem_capa, gallery.titulo); }) .join(''); if (gallerys.length > 0) { $("#gallery-list").html(galleryListHtml); $(".gallery").click(function () { load_gallery_selected(this.id); }); } else { $("#gallery-list").html('<h5 class="text-center w-100 my-2">Sem galerias no momento!</h5>'); } }; const initializeGallery = () => { load_gallery_list(); setTimeout(() => { load_gallery_selected(gallerys[0].hash); }, 100); }; document.addEventListener('DOMContentLoaded', initializeGallery); </script>