<?php require_once(ROOT . "/views/admin/layouts/_header_admin.php"); ?>

<h2>Авторизация</h2>

<?php if(isset($errors)) echo $errors; ?>

<form action="" method="post">
<input type="hidden" name="_tocken" value="<?=Session::$tocken; ?>">
<table width="300" border="0" align="center">
  <tr>
    <td><b>Логин:</b></td>
	<td align="center"><input type="text" name="admlogin" value="" /></td>
  </tr>
  <tr>
    <td><b>Пароль:</b></td>
	<td align="center"><input type="password" name="admpass" value="" /></td>
  </tr>
 
  <tr>
    <td colspan="2" align="center"><br><br><br><input type="submit" value="Войти" /></td>
  </tr>

</table>
</form>

<?php require_once(ROOT . "/views/admin/layouts/_footer_admin.php"); ?>