<div id="headerwrap">
    <div class="container">
        <div class="row">
            <div class="col-lg-6">
                <!-- <h1>Hier komt een slogan</h1> -->
            </div><!-- /col-lg-6 -->

            
        </div><!-- /row -->
    </div><!-- /container -->
</div><!-- /headerwrap -->


<div class="container components">
    <div class="row mt centered">
        <div class="col-lg-12">
            <h1>Welcome to <?php echo Configure::read('CFG.site_name'); ?>!</h1>
            <p><?php echo nl2br(Configure::read('CFG.site_description')); ?></p>
        </div>
    </div><!-- /row -->
    
    <div class="row mt centered">
        <div class="col-lg-6">
            <i class="fa fa-bullhorn"></i>
            <h4><?php echo __('News') ?></h4>
            <p><?php echo __('News is a category where members can share interesting news stories.'); ?></p>
        </div><!--/col-lg-4 -->

        <div class="col-lg-6">
            <i class="fa fa-calendar"></i>
            <h4><?php echo __('Calendar') ?></h4>
            <p><?php echo __('Calendar is a category where members can share events.'); ?></p>

        </div><!--/col-lg-4 -->

        <div class="col-lg-6">
            <i class="fa fa-file-o"></i>
            <h4><?php echo __('Files') ?></h4>
            <p><?php echo __('Files is a category where members can share files.'); ?></p>

        </div><!--/col-lg-4 -->
        
        <div class="col-lg-6">
            <i class="fa fa-comments-o"></i>
            <h4><?php echo __('Forum') ?></h4>
            <p><?php echo __('Forum is a category where members can communicate with each other.'); ?></p>

        </div><!--/col-lg-4 -->
    </div><!-- /row -->
</div><!-- /container -->

<div class="container">
    <hr>
    <div class="row mt centered">
        <div class="col-lg-8 col-lg-offset-2">
            <h1><?php echo __('Administrators') ?></h1>
        </div>
    </div><!-- /row -->
    
    <div class="row mt centered">
        <?php
        foreach ($users as $user) {
            ?>
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                <img class="img-circle" src="<?php echo $user['Profile']['photo']; ?>" width="140" alt="">
                <h4><?php echo $user['Profile']['first_name'] . ' ' . $user['Profile']['last_name']; ?></h4>
                <p>
                    <a href="mailto:<?php echo $user['User']['email']; ?>"><i class="fa fa-envelope-o"></i></a> 
                    <?php echo !empty($user['Profile']['linkedin']) ? '<a href="' . $user['Profile']['linkedin'] . '" target="_blank"><i class="fa fa-linkedin"></i></a>' : null; ?>
                        <?php echo !empty($user['Profile']['twitter']) ? '<a href="' . $user['Profile']['twitter'] . '" target="_blank"><i class="fa fa-twitter"></i></a>' : null; ?>
                </p>
            </div><!--/col-lg-4 -->
            <?php
        }
        ?>
    </div><!-- /row -->
</div><!-- /container -->

<div class="container">
    <hr>
    <p class="centered footer">&copy; <?php echo date('Y'); ?> <?php echo Configure::read('CFG.site_name'); ?></p>
</div><!-- /container -->