</li> <?php } ?> </ul> </div> <!--people follows --> <div class="Following_heddbox"> <span class="Followers_icon"></span> <h1>Followers</h1> </div> <div class="Following_box"> <ul class="Following"> <?php $userFollows = getUserFollowers($id); ?> <?php if (is_array($userFollows)) { ?> <?php foreach ($userFollows as $userFollowsKey => $userFollowsValue) { ?> <?php $userDetails = userDetails($userFollowsValue->user_id); ?> <li> <div class="following-content_box"> <div class="following_thumb"><a href="<?php echo site_url('user/index/' . $userDetails['userId']); ?>
</ul> </div> </div> <div class="col-sm-6 col-md-4"> <div class="box"> <hr><h2 class="intro-text text-center"><span class="glyphicon glyphicon-pushpin" aria-hidden="true"></span> <strong>Activity</strong></h2><hr> <ul class="list-group"> <li class="list-group-item text-right"><span class="pull-left"><strong>Received comments</strong></span> <?php $comments = getCommentForUser($_SESSION['email']); echo "{$comments}"; ?> </li> <li class="list-group-item text-right"><span class="pull-left"><strong>Followers</strong></span> <?php $followers = getUserFollowers($_SESSION['email']); echo "{$followers}"; ?> </li> <li class="list-group-item text-right"><span class="pull-left"><strong>Financier</strong></span> <?php $financier = getUserFinancier($_SESSION['email']); echo "{$financier}"; ?> </li> <li class="list-group-item text-right"><span class="pull-left"><strong>My ideas</strong></span> <?php $numIdeas = getUserIdeasCount($_SESSION['email']); echo "{$numIdeas}"; ?> </li>