Advertisement
Nautiluss

users

May 14th, 2024
693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.99 KB | None | 0 0
  1. <?php
  2. $user_id = $_GET['user'];
  3. $db = mysqli_connect("localhost", "root", "", "forum");
  4. $query = mysqli_query($db, "SELECT * FROM `users` WHERE `id`='{$user_id}'");
  5. $array = mysqli_fetch_array($query);
  6. ?>
  7. <!DOCTYPE html>
  8. <html id="suka">
  9. <body style="background: #11191F; display: flex; justify-content: center; align-items: center; height: 100vh; flex-direction: column;">
  10. <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">
  11.     <img style=" position:absolute; top:5%; left:5%; width: 80px; height: 80px; border-radius: 9999px" src="src/media/logo.png" />
  12.   </div>
  13.   <div style="position:fixed; top:9vh; left:13vh; width: 175px; height: 30px; padding: 10px; justify-content: center; align-items: center; display: inline-flex">
  14.     <a href="index.php" class="mont" style="text-decoration: none;">UNO-WTF.TK</a>
  15.   </div>
  16.   <div>
  17.   <a href="home.php" class="mont" style="position:fixed; text-decoration: none; top:9vh; right:20vh;  width: 205px; height: 30px; padding: 10px;" >Личный кабинет</a>
  18.   <a href="forum.php" class="mont" style="position:fixed; text-decoration: none; top:9vh; right:5vh;  width: 100px; height: 30px; padding: 10px;">Форум</a>
  19.   </div>
  20.   </body>
  21.  
  22. <head>
  23.     <title>Профиль: <?php echo $array['user_name']; ?></title>
  24.      <link rel="stylesheet" type="text/css" href="style.css">
  25.     <link rel="stylesheet" href="fonts/fonts.css">
  26. </head>
  27. <body>
  28. <div style="width: 415px; height: 400px; position: fixed; left: 3%; top:30%">
  29.      <div style="width: 415px; height: 400px; left: 0px; top: 0px; position: absolute; background: #141E26; border-radius: 65px"></div>
  30.      <a href="logout.php" style="z-index:1; text-decoration: none; position:absolute; right: 35%; top:80%;">
  31.       <button  type="submit" style="    float: right; background: #000AFF; padding: 10px 15px; color: #fff; border-radius: 5px; left: 160vh; border: none;">Подписаться</button>
  32.       </a>
  33.      </div>
  34.  
  35.  
  36.  
  37.      <div style="width: 603px; height: 400px; position: fixed; top:30%; right: 2%;">
  38.       <div class="wow" style="width: 603px; height: 400px; left: 0px; top: 0px; position: absolute; background: #141E26; border-radius: 65px;"></div>
  39.       <div class="wow" style="width: 160.94px; left: 45%; top: 82px; position: absolute; text-align:centr;"><?php echo $array['user_name']; ?></div>
  40.       <img style="width: 122.23px; height: 120px; left: 240.39px; top: 140px; border-radius: 9999px; position: absolute" src="<?php echo $array['avatar']; ?>" />
  41.       <div class="wow" style="width: 265.85px; height: 28px; left: 40%; top: 25px; position: absolute; ">UserName:</div>
  42.     </div>
  43.  
  44.  
  45.  
  46.      <div style="width: 741px; height: 400px; position: fixed; top: 30%; left: 28%;">
  47.       <div class="wow" style="width: 650px; height: 400px; left: 0px; top: 0px; position: absolute; background: #141E26; border-radius: 65px"></div>
  48.       <div class="wow" style="width: 622px; height: 41px; left: 84px; top: 112px; position: absolute; ">Дата регистрации: <?=$array['trn_date']?></div>
  49.       <div class="wow" style="width: 622px; height: 41px; left: 84px; top: 307px; position: absolute; ">id Пользователя: <?=$array['id'] ?></div>
  50.       <div class="wow" style="width: 622px; height: 41px; left: 84px; top: 177px; position: absolute; ">Реакции:  <?=$array['reactions']?></div>
  51.       <div class="wow" style="width: 622px; height: 41px; left: 84px; top: 242px; position: absolute; ">Комментарии: <?=$array['messages']?></div>
  52.       <div class="wow" style="width: 504px; height: 35px; left: 84px; top: 53px; position: absolute;">Права: <div style=" position: absolute; top:-30%; left:20%; width: 170px; height: 35px; font-size: 0px; background:url( <?=$array['prefix']?>);"></div> </div>
  53.     </div>
  54.  
  55.      <script src="./src/visual/dop.js"></script>
  56.      <script src="./src/visual/back.js"></script>
  57.      <script src="./src/visual/app.js"></script>
  58. </body>
  59. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement