Advertisement
Nautiluss

index.php

May 14th, 2024
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.39 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html id="suka">
  3.    
  4. <body>
  5. <div style="position:fixed; top:5vh; left:5vh; width: 100px; height: 100px; justify-content: flex-start; align-items: flex-start; gap: 10px; display: inline-flex">
  6.     <img style=" position:absolute; top:5%; left:5%; width: 80px; height: 80px; border-radius: 9999px" src="src/media/logo.png" />
  7.   </div>
  8.   <div style="position:fixed; top:9vh; left:13vh; width: 175px; height: 30px; padding: 10px; justify-content: center; align-items: center; display: inline-flex">
  9.     <a href="index.php" class="mont" style="text-decoration: none;">UNO-WTF.TK</a>
  10.   </div>
  11.   <div>
  12.   <a href="home.php" class="mont" style="position:fixed; text-decoration: none; top:9vh; right:20vh;  width: 205px; height: 30px; padding: 10px;" >Личный кабинет</a>
  13.   <a href="forum.php" class="mont" style="position:fixed; text-decoration: none; top:9vh; right:5vh;  width: 100px; height: 30px; padding: 10px;">Форум</a>
  14.   </div>
  15.   </body>
  16.    
  17.     <title>Авторизация</title>
  18.     <link rel="stylesheet" type="text/css" href="style.css">
  19.     <link rel="stylesheet" href="fonts/fonts.css">
  20. </head>
  21. <body style="background: #11191F; display: flex; justify-content: center; align-items: center; height: 100vh; flex-direction: column;">
  22.      <form action="login.php" method="post" class="chlen" style="width: 500px; border: 2px solid #141E26; padding: 30px; background: #141E26; position: absolute; left:65%; border-radius: 15px;">
  23.         <h2 style="color: #ccc; text-align: center; margin-bottom: 40px;">Вход</h2>
  24.         <?php if (isset($_GET['error'])) { ?>
  25.             <p class="error"><?php echo $_GET['error']; ?></p>
  26.         <?php } ?>
  27.         <label>Введите логин</label>
  28.         <input type="text" name="uname" placeholder="Логин"><br>
  29.  
  30.         <label>Введите пароль</label>
  31.         <input type="password" name="password" placeholder="Пароль"><br>
  32.  
  33.         <button type="submit" style="   float: right; background: #000AFF; padding: 10px 15px; color: #fff; border-radius: 5px; margin-right: 10px; border: none;">Войти</button>
  34.           <a href="signup.php" style="font-size: 14px;display: inline-block;padding: 10px;text-decoration: none; color: #ccc;">Создать аккаунт</a>
  35.      </form>
  36.  
  37.      <script src="./src/visual/dop.js"></script>
  38.      <script src="./src/visual/back.js"></script>
  39.      <script src="./src/visual/app.js"></script>
  40.  
  41. </body>
  42. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement