예제 #1
0
 <?php 
require './clases/AutoCarga.php';
$sesion = new Session();
$bd = new DataBase();
$gestor = new ManageComment($bd);
$id = Request::get("ID");
$id_post = Request::get("ID_post");
$comentario = $gestor->get($id);
$gestorUser = new ManageUser($bd);
$usuarios = $gestorUser->getList();
$usuarioActual = new User();
$nombreSesion = "";
foreach ($usuarios as $key => $usuario) {
    if ($usuario->getID() === $sesion->get($usuario->getLogin())) {
        $nombreSesion = $sesion->get($usuario->getLogin());
        echo $usuario->getLogin();
        $usuarioActual = $usuario;
    }
}
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>