<?php 
/*
// foreach(PageContext::$response->members As $members){?>
<div class="col-sm-4 col-md-4 col-lg-4">
                        <div class="mediapost">
                        <div class="mediapost_left pull-left">
                            <span class="mediapost_pic">
						<img src="<?php if ($members->file_path =='' ){echo PageContext::$response->userImagePath.'small/member_noimg.jpg';}else{echo PageContext::$response->userImagePath.'small/'.$members->file_path;} ?>">
						</span>
                        </div>
                        <div class="media-body">
					<h4 class="media-heading">
                                            <a href="<?php echo PageContext::$response->baseUrl.'timeline/'.$members->user_alias; ?>"><?php echo ($members->user_firstname!='')?$members->user_firstname." ".$members->user_lastname:$members->user_email;?> </a></h4>
						<p><?php echo $members->user_friends_count; ?>  friends</p>
						</div>
                        <div class="clearfix"></div>
                    </div>
                </div>
					
<?php }?>
<div class="clear"></div>
 * 
 */
    foreach (PageContext::$response->members As $members) {
        ?>

            <div class="col-sm-4 col-md-4 col-lg-4">
                        <div class="mediapost <?php if($members->cmember_active_status =='A'){?> active_user_box <?php }?>">
                        <div class="picpost_left pull-left">
                            <span class="picpost_left_pic">
                                <img src="<?php if ($members->file_path == '') {
            echo PageContext::$response->userImagePath . 'small/member_noimg.jpg';
        } else {
            echo PageContext::$response->userImagePath . 'medium/' . $members->file_path;
        } ?>">
                            </span>
                        </div>
                        <div class="media-body">
                            <h4 class="media-heading"><a href="<?php echo PageContext::$response->baseUrl . 'timeline/' . $members->user_alias; ?>"><?php echo ($members->user_firstname != '') ? $members->user_firstname . " " . $members->user_lastname : $members->user_email; ?> </a></h4>
                            <p><?php echo $members->user_friends_count; ?>  friends</p>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            
            <?php
        }
?>
