Ejemplo n.º 1
0
?>
        </ol>
    </div>

    <div class="col-md-3">
        <h3>System Users</h3>

        <p><?php 
echo \Fuel\Core\Html::anchor('admin/users/create', 'New System User', array('class' => 'btn btn-success btn-xs'));
?>
</p>

        <ol>
            <?php 
foreach (\Auth\Model\Auth_User::find('all', array('where' => array(array('id', '>', 0)))) as $user) {
    ?>
                <li>
                    <?php 
    echo \Fuel\Core\Html::anchor("admin/users/edit/{$user->id}", $user->fullname);
    ?>
                    <?php 
    echo \Auth\Auth::get('id') == $user->id ? '<span class="glyphicon glyphicon-user"></span>' : '';
    ?>
                </li>
            <?php 
}
?>
        </ol>
    </div>
</div>