diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-27 03:47:30 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-27 03:47:30 +0300 |
| commit | 059e0d95d0c28bc5060e87e146eaf7411f51bf90 (patch) | |
| tree | 7c21ac432f16dde2329a0d5954d70711eceb48e6 /public/app/views/welcome.php | |
| parent | 26cd8ee99659ef1926c96a049c93645ffc9b169d (diff) | |
| download | gyraf1gov-059e0d95d0c28bc5060e87e146eaf7411f51bf90.tar.gz gyraf1gov-059e0d95d0c28bc5060e87e146eaf7411f51bf90.tar.bz2 gyraf1gov-059e0d95d0c28bc5060e87e146eaf7411f51bf90.zip | |
skeleton commit; based on an anom project
Diffstat (limited to 'public/app/views/welcome.php')
| -rw-r--r-- | public/app/views/welcome.php | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/public/app/views/welcome.php b/public/app/views/welcome.php new file mode 100644 index 0000000..c5552a8 --- /dev/null +++ b/public/app/views/welcome.php @@ -0,0 +1,71 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title><?=SITE_TITLE?> - Welcome!</title> + + <?php // header includes + //////////////////////////////////////////////////////////////////////// + Render::view('components/header_includes'); + ?> + +</head> +<body class='classroom'> + + <?php // top-bar + //////////////////////////////////////////////////////////////////////// + Render::view('components/top_bar'); + ?> + + + <div class="main-content container"> + <div class="row"> + + <div class="col col-md-5 col-lg-4 d-sm-none d-md-block side-bar"> + + + <?php // tree of courses + //////////////////////////////////////////////////////////////////////// + Render::view('components/courses_menu', [ + 'categories' => $categories, + 'open_path' => [] + ]); + ?> + </div> + + <div class="col col-sm-12 col-md-7 col-lg-8"> + the content goes here + </div> + + </div> + </div> + + + <!-- TESTING STRINGS (while developing only) --> + <?php /* --- print_r($_SESSION); ?> + <?php print_r($_COOKIE); ?> + <?php + if (isset($_SESSION)) echo '; session seted ; '; + ?> + <?= + isset($_SESSION[UserTokenInterface::DEFAULT_PREFIX_KEY]) + ? var_dump($_SESSION[UserTokenInterface::DEFAULT_PREFIX_KEY]) + : 'none!' + --- */ ?> + + + <footer> + <div class="container"> + + <?php // render footer + //////////////////////////////////////////////////////////////// + Render::view('components/footer', [ 'entity' => $entity ]); + ?> + + </div> + </footer> + + <script src="/assets/js/classroom.js"></script> + +</body> +</html>
\ No newline at end of file |
