Advertisement
c0d3dsk1lls

inline

Jul 3rd, 2022
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.64 KB | None | 0 0
  1. <?php
  2. // Initialize the session
  3. session_start();
  4.  
  5. // Check if the user is logged in, if not then redirect him to login page
  6. if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
  7.    header("location: login.php");
  8.    exit;
  9. }
  10. ?>
  11.  
  12. <!DOCTYPE html>
  13. <html lang="en">
  14. <head>
  15. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  16. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  17. <meta name="keywords" content="HTML, CSS, tutorial, free">
  18. <meta name="author" content="codedskills">
  19. <meta name="description" content="Learn HTML step by step">
  20. <meta charset="UTF-8">
  21. <meta charset="UTF-8">
  22.  
  23.                              <title>Welcome</title>
  24.  
  25. <style>
  26.  
  27. body{
  28.      background-color:black;
  29. }
  30. h1{
  31.     color:white;
  32. }
  33. p{
  34.     background-color: blueviolet;
  35. }    
  36. body{ font: 14px sans-serif; text-align: center; }
  37. </style>
  38. </head>
  39.  
  40. <h3 class="my-5"><f style="color:rgb(247, 227, 0)">You are logged in as: <b><?php echo htmlspecialchars($_SESSION["username"]); ?></b></h3>
  41. <p>
  42. <center><h1 style="color:red">UNDER CONSTRUCTION</h1></center>
  43. <a href="reset-password.php" class="btn btn-warning"><f style="color:rgb(247, 227, 0)">____________Reset Your Password____________</a>
  44. <a href="logout.php" class="btn btn-danger ml-3"><f style="color:rgb(247, 227, 0)">____________Sign Out of Your Account____________</a>
  45. </p>
  46. <center><h1><a href="https://codedskills.org/welcome.php" target=_blank><f style="color:lime">_-_-_-_-_-CodedSkills.org-_-_-_-_-_</h1></a></center>
  47.     <center><h1 style="color:silver">.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.</ins></h1></center>
  48. <center><h1><ins style="color:orange">Adding global CSS values.</h1></center>
  49.  
  50. ------------------------
  51. <center><iframe allowtransparency="true" style="background-color: lightblue;" src="https://codedskills.net/learn_css/css_inline.txt" width="700" height="400"></iframe></center>
  52. <center><h1 style="color:silver">.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.</ins></h1></center>
  53.  
  54.  
  55.  
  56.  
  57.  
  58. <center><li><h1><a href="https://codedskills.org/learn_css_external.php" ><f style="color:lime">  Next page: ----->>> External style sheet: ----->>></a></li></BODY></center>
  59.  
  60. <center><li><h1><a href="https://codedskills.org/learn_css.php" ><f style="color:crimson"> <---- Back to CSS page 1</a></li></BODY></center>
  61.  
  62.  
  63. <center><iframe allowtransparency="true" style="background-color: lightblue;" src="https://codedskills.net/learn_css/css.txt" width="700" height="155"></iframe></center>
  64.  
  65. </body>
  66. </html>
  67.  
  68.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement