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.

53 lines
1.3 KiB

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>';
  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>';
  27. }
  28. //4-row
  29. echo '<br><div class="w3-row w3-padding-32">';
  30. echo '<div class="w3-half w3-container"><div style=\'position: relative;
  31. width: 100%; height: 0px; padding-bottom: 60%;\'">';
  32. echo '<iframe src="https://www.youtube.com/embed/QhJYKBj3K08" frameborder="0"
  33. allowfullscreen style=\'position: absolute; left: 0px; top: 0px;
  34. width: 100%; height: 100%\'"></iframe>';
  35. echo '</div></div>';
  36. echo '<div class="w3-half w3-container"><div id="repo1">';
  37. echo '<script src="RepoJS/repo.js"></script>
  38. <script>
  39. $(\'#repo1\').repo({ user: \'jrtechs\', name: \'Panda-Quotes\' });
  40. </script>';
  41. echo '</div></div></div>';
  42. include 'includes/footer.php';