Simple website with some JavaScript games.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
915 B

7 years ago
  1. <?php
  2. //ini_set('display_errors', 1);
  3. include 'includes/header.php';
  4. if($loggedIn)
  5. {
  6. //profile
  7. echo '<div class="w3-row w3-padding-32">';
  8. echo '<div class="w3-half w3-container">';
  9. //new game or something
  10. include 'games/bamboofield.html';
  11. echo '</div><div class="w3-half w3-container">';
  12. //profile
  13. include('user/profile.php');
  14. echo '</div></div>';
  15. }
  16. else
  17. {
  18. //profile(login) & register
  19. echo '<div class="w3-row w3-padding-32">';
  20. echo '<div class="w3-half w3-container">';
  21. //register
  22. include('user/register.php');
  23. echo '</div><div class="w3-half w3-container">';
  24. //profile
  25. include('user/profile.php');
  26. echo '</div></div>';
  27. }
  28. include 'includes/footer.php';
  29. ?>