<section id="profile" class="content_wrapper innerPage clearfix">
             <div class="contactWraper container">
                <div class="contactHeader clearfix">
                    <h2 class="inline noborder heading_people_private"><?php echo getLang('blocked_user_list'); ?></h2>
                 </div>
               <div class="contactMessage" style="width: 100%;">

                <?php if(!empty($blocked_user_list)){ 
                    foreach ($blocked_user_list as $t_friend) { ?> 
                       <div class="messageBox private-pic-view">
                         <a href="<?php echo  base_url().'profil/'.$t_friend['username'];?>">
                            <div class="messageAvatar" >
									<img src="<?php if(!empty($t_friend) && $t_friend['filename']!='' && file_exists(FCPATH.'assets/userfiles/'.$t_friend['path'].'/160/'.$t_friend['filename'].'.'.$t_friend['extension'])){ echo base_url().'assets/userfiles/'.$t_friend['path'].'/160/'.$t_friend['filename'].'.'.$t_friend['extension']; } else { echo base_url().'assets/images/default-avatar.jpg'; }?>" alt="" srcset="<?php if(!empty($t_friend['filename']) && file_exists(FCPATH.'assets/userfiles/'.$t_friend['path'].'/160/'.$t_friend['filename'].'.'.$t_friend['extension'])){ echo  base_url().'assets/userfiles/'.$t_friend['path'].'/160/'.$t_friend['filename'].'.'.$t_friend['extension']; } else { echo base_url().'assets/images/default-avatar.jpg'; } ?> 1x, <?php if(!empty($t_friend['filename']) && file_exists(FCPATH.'assets/userfiles/'.$t_friend['path'].'/320/'.$t_friend['filename'].'.'.$t_friend['extension'])){ echo  base_url().'assets/userfiles/'.$t_friend['path'].'/320/'.$t_friend['filename'].'.'.$t_friend['extension']; } else { echo base_url().'assets/images/default-avatar.jpg'; } ?> 2x" >
								
								 </div>
                          </a>
                          <div class="messageContent messageBoxInnerDetails">
                            <h4><?php echo $t_friend['username']; ?></h4>
                            <small><?php echo ucfirst($t_friend['accounttype']); ?>, <span><?php echo $t_friend['country_name']; ?></small>
                          </div>
                          <div class="messageContent messageBoxInnerAbout">
                            <h5><?php echo $t_friend['about']; ?></h5>
                          </div>
                          <a href="<?php echo base_url('profile/unblock_this_user/'.base64_encode($t_friend['to_id'])); ?>" title="<?php echo getLang('Unblock'); ?>" class="btn_dark"><i class="fa fa-check-square" onclick="return confirm('<?php echo getLang('Are_you_sure_to_unblock'); ?>')"></i></a>

                          
                       </div>
                <?php  }
                      } else { echo getLang('No_record_found'); }
                    ?>  

               </div>           
             </div>
</section>
