<?php include(PROJECT_DIR . '/application/controller/common/header/guest.php') ?>
<div class="mw-1024 mx-auto of-hidden">
  <div class="mw-360 mx-auto my-100 bg-c-4 b-r-3 py-28 px-24">
    <h1 class="f-size-20 f-normal mb-20"><?php echo _('Login') ?></h1>
    <form action="login" name="login" method="POST">
      <input type="text" name="userName" value="<?php echo $userName ?>" placeholder="<?php echo _('Username') ?>" class="input-text mb-22" />
      <?php if ($errorUserName) { ?>
      <div class="c-5 mb-22"><?php echo $errorUserName ?></div>
      <?php } ?>
      <input type="password" name="userPrivateKey" value="<?php echo $userPrivateKey ?>" placeholder="<?php echo _('Key') ?>" class="input-text mb-22" />
      <?php if ($errorUserPrivateKey) { ?>
      <div class="c-5 mb-22"><?php echo $errorUserPrivateKey ?></div>
      <?php } ?>
      <div class="mt-4">
        <button type="submit" class="btn btn-1"><?php echo _('Enter') ?></button>
        <a class="c-1 ml-16" href="register"><?php echo _('Register') ?></a>
      </div>
    </form>
  </div>
</div>
<?php include(PROJECT_DIR . '/application/controller/common/footer/guest.php') ?>