// echo "login screen"; // exit; ?> <!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <title>Log In</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div id="container"> <form action="" method="post" id="login"> <p> <input type="text" name="email" placeholder="email" value="<?php echo isset($app->getValues()->email) ? h($app->getValues()->email) : ''; ?> "> </p> <p> <input type="password" name="password" placeholder="password"> </p> <p class="err"><?php echo h($app->getErrors('login')); ?> </p> <div class="btn" onclick="document.getElementById('login').submit();">Log In</div> <p class="fs12"><a href="/signup.php">Sign Up</a></p> <input type="hidden" name="token" value="<?php echo h($_SESSION['token']); ?>