<?php require_once __DIR__ . '/../config/config.php'; //var_dump($_SESSION['me']); $app = new MyApp\Controller\Index(); $app->run(); //$app->me() //$app->getValues()->users ?> <!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <title>Home</title> <link rel="stylesheet" href="lstyle.css"> </head> <body> <div id="container"> <form action="logout.php" method="post" id="logout"> <?php echo h($app->me()->email); ?> <input type="submit" value="Logout"> <input type="hidden" name="token" value="<?php echo h($_SESSION['token']); ?> "> </form> <h1>Users <span class="fs12">(<?php echo count($app->getValues()->users);
<?php //ユーサーの一覧 require_once __DIR__ . '/../config/config.php'; $app = new MyApp\Controller\Index(); $app->run();