summaryrefslogtreecommitdiff
path: root/public/app/views/welcome.php
blob: ded22940a6efb790fcf394a4ca4e9bb4200d6340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!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');
    ?>

    <pre>
        <?php print_r($categories); ?>
    </pre>

    <!-- 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!'
    --- */ ?>

</body>
</html>