Advertisement
Equidea

home-user.php

Nov 2nd, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.82 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Browsergame - Home</title>
  5. </head>
  6. <body>
  7.     <main class="container">
  8.         <?= (!empty($success)) ? '<p>'.$success.'</p>' : '' ?>
  9.         <?= (!empty($error)) ? '<p>'.$error.'</p>' : '' ?>
  10.         <a href="/logout">Logout</a>
  11.         <h1>Change password</h1>
  12.         <form action="/change-password.php" method="post">
  13.             <input type="password" name="new_password" placeholder="New Password" />
  14.             <input type="password" name="check" placeholder="Confirm" />
  15.             <input type="password" name="old_password" placeholder="Old Password" />
  16.             <input type="submit" value="Submit" />
  17.         </form>
  18.         <h1>Delete account</h1>
  19.         <form action="/delete-account.php" method="post">
  20.             <input type="password" name="password" placeholder="Password" />
  21.             <input type="submit" value="Delete" />
  22.         </form>
  23.     </main>
  24. </body>
  25. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement