 <?php foreach (PageContext::$response->usersList as $user){ ?>
            <div class="row">
                <div class="colside1">
                    <div class="colside1_pic">{if $user->file_path eq ''}{PageContext::$response->userImagePath}small/member_noimg.jpg{else}{PageContext::$response->userImagePath}{$user->file_path}{/if}
                        <a href="<?php echo PageContext::$response->baseUrl;?>profile/<?php echo $user->user_alias;?>"><img src="<?php if($user->file_path == ''){echo PageContext::$response->userImagePath;?>small/member_noimg.jpg<?php }else{echo PageContext::$response->userImagePath;?><?php echo $user->file_path;}?>"></a>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="colmiddle">
                    <h6><a href="<?php echo PageContext::$response->baseUrl;?>profile/<?php echo $user->user_alias;?>"><?php echo $user->user_firstname;?> <?php echo $user->user_lastname;?></a></h6>
                    <p>
                       <?php echo $user->user_friends_count;?> Friends
                    </p>
                </div>
                <div class="colside3">
              <?php   if (PageContext::$response->sess_user_id > 0){?>
					 <a class="friends_btn fright" uid="<?php echo $user->user_id;?>" href="<?php echo PageContext::$response->baseUrl;?>accept-invitation/<?php echo $user->invitation_id;?>/reject/0/pending-request" style="float:left; ">
                       
                        <span class="declinefriend_icon"></span>
                        Decline
                       </a>
                    <a class="friends_btn fright" uid="<?php echo $user->user_id;?>" href="<?php echo PageContext::$response->baseUrl;?>accept-invitation/<?php echo $user->invitation_id;?>/friend/0/pending-request" style="float:left; ">
                       
                        <span class="tik_icon"></span>
                        Accept
                       </a>

                      <?php  }?>
                       
                       </div>
                       </div>
               <?php   }	?>