Exemplo n.º 1
0
<?php

require_once "../includes/engine.php";
// Log the Users has been here
if (isset($_SESSION['data']['loggedpages'])) {
    $loggedPages = session::get('loggedpages');
    if (!in_array('EngineIndex', $loggedPages)) {
        ProgressLog::logPage('EngineIndex');
    }
} else {
    ProgressLog::logPage('EngineIndex');
}
templates::display('header');
?>

<div class="row">
    <div class="col-xs-6">
        <h2> EngineAPI </h2>
    </div>

    <div class="col-xs-6">
        <p> Your Progress: </p>
        <div class="progress progress-striped active">
            <div class="progress-bar" style="width: 5%"></div>
        </div>
    </div>
</div>

<?php 
templates::display('footer');
Exemplo n.º 2
0
<?php

require_once "../../includes/engine.php";
// Just save the session info
if (LoginAuth::checkAuthorization()) {
    ProgressLog::saveSession();
}
header("refresh:5;url=/?sessionSaved");
templates::display('header');
?>

<div class="row">
    <div class="col-xs-12 col-sm-offset-2 col-sm-8 well text-center">
        <h2> Logging Out</h2><br>
        <i class="fa fa-spinner fa-spin fa-5x"></i><br><br>
        <p> Saving your information into the system so that your information and progress remains intact while finishing the course modules. </p>
    </div>
</div>

<?php 
templates::display('footer');
Exemplo n.º 3
0
<?php

require_once "../includes/engine.php";
// Log the Users has been here
if (isset($_SESSION['data']['loggedpages'])) {
    $loggedPages = session::get('loggedpages');
    if (!in_array('MeteorIndex', $loggedPages)) {
        ProgressLog::logPage('MeteorIndex');
    }
} else {
    ProgressLog::logPage('MeteorIndex');
}
templates::display('header');
?>

<div class="row">
    <div class="col-xs-6">
        <h2> MeteorJS </h2>
    </div>

    <div class="col-xs-6">
        <p> Your Progress: </p>
        <div class="progress progress-striped active">
            <div class="progress-bar" style="width: 5%"></div>
        </div>
    </div>
</div>

<?php 
templates::display('footer');