Esempio n. 1
0
<?php

include_once 'common/base.php';
$pageTitle = 'Outer';
include_once 'common/header.php';
include_once 'inc/class.game.inc.php';
if (isset($_SESSION['LoggedIn']) && isset($_SESSION['Username']) && $_SESSION['LoggedIn'] == 1) {
    $game = new SpinnereyeGame($db);
    include_once 'common/dashboard.php';
    ?>

<div class="wrapp grid">
<?php 
    $game->listUsers();
    ?>
</div>
<div class="wrapp grid"> <?php 
    echo '<div class="userLists">';
    $game->listUsersLists();
    echo '</div>';
    $game->fetchFollowed();
    //$game->listCategories();
    ?>
</div>
</div>

<script src="js/followers.js"></script>
<?php 
}
Esempio n. 2
0
        echo $i;
        ?>
"><?php 
        echo $gameObj->tagFromId($follower);
        ?>
</div>
        <?php 
        $i++;
        ?>
        <?php 
    }
    ?>

        <h3>Following</h3>
        <?php 
    $followed = $gameObj->fetchFollowed();
    $j = 1;
    foreach ($followed as $follow) {
        ?>
            <div class="con-<?php 
        echo $j;
        ?>
"><?php 
        echo $gameObj->tagFromId($follow);
        ?>
</div>
        <?php 
        $j++;
        ?>
        <?php 
    }