enter.php
См. документацию.
1 <?php
2 
3 /**
4  * @file
5  * @brief страница Вход в систему
6  */
7 
8  if ($user->id) {
9  header("Location: /?main");
10  exit;
11 }
12 
13 
14 ?>
15 
16 <script>
17  _modal('#sign-in');
18  $(document).on('show.bs.modal', () => {
19  $('.modal .close').hide();
20  });
21  $('body>*').hide();
22 </script>
$user
Definition: from-user.php:38
if(($dbh=Connect::getInstance(true) ->dbh) && $dbh->query("SHOW TABLES") ->fetchAll() && $dbh->query("SELECT COUNT(*) FROM `users`") ->fetchColumn()) if(!empty($_POST)) exit
Definition: install.php:198