| Server IP : 162.214.74.102 / Your IP : 216.73.217.114 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/team/application/views/backend/staff/ |
Upload File : |
<?php
$client_profile = $this->db->get_where('client' , array('client_id' => $param2))->result_array();
foreach ($client_profile as $row):
?>
<div class="row">
<div class="col-md-12" style="text-align:center;">
<div class="profile-picture">
<img src="<?php echo $this->crud_model->get_image_url('client' , $row['client_id']);?>"
class="img-circle" style="width: 150px;"/>
<h3 style="font-weight:200;"><?php echo $row['name'];?></h3>
<a class="tooltip-primary" data-toggle="tooltip" data-placement="top" data-original-title="Call Skype"
href="skype:<?php echo $row['skype_id']; ?>?chat" style="color:#bbb;">
<i class="entypo-skype" style="font-size:12px;"></i>
</a>
<a class="tooltip-primary" data-toggle="tooltip" data-placement="top" data-original-title="Facebook profile"
href="<?php echo $row['facebook_profile_link']; ?>" style="color:#bbb;" target="_blank">
<i class="entypo-facebook" style="font-size:12px;"></i>
</a>
<a class="tooltip-primary" data-toggle="tooltip" data-placement="top" data-original-title="Twitter profile"
href="<?php echo $row['twitter_profile_link']; ?>" style="color:#bbb;" target="_blank">
<i class="entypo-twitter" style="font-size:12px;"></i>
</a>
<a class="tooltip-primary" data-toggle="tooltip" data-placement="top" data-original-title="Linkedin profile"
href="<?php echo $row['linkedin_profile_link']; ?>" style="color:#bbb;" target="_blank">
<i class="entypo-linkedin" style="font-size:12px;"></i>
</a>
</div>
</div>
</div>
<ul class="nav nav-tabs" style="margin-bottom: 0px; border-bottom: 0px; text-align:center;">
<!-- available classes "bordered", "right-aligned" -->
<li class="active" style="">
<a href="#profile" data-toggle="tab" style="color: #969696;">
<i class="entypo-user"></i>
<span><?php echo get_phrase('profile');?></span>
</a>
</li>
</ul>
<div class="tab-content" style="padding:0px;">
<div class="tab-pane active" id="profile">
<table class="table table-striped">
<tbody>
<tr>
<td width="50%">
<i class="entypo-dot"></i>
<?php echo get_phrase('total_project');?>
</td>
<td>
<b>
<?php
$this->db->like('client_id' , $row['client_id']);
$this->db->from('project');
echo $this->db->count_all_results();
?>
</b>
</td>
</tr>
<?php if ($row['address'] != ''):?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('address');?>
</td>
<td>
<b><?php echo $row['address'];?></b>
</td>
</tr>
<?php endif;?>
<?php
$query = $this->db->get_where('company' , array('client_id' => $row['client_id']));
if ($query->num_rows() > 0):
?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('company');?>
</td>
<td>
<b><?php echo $query->row()->name;?></b>
</td>
</tr>
<?php endif;?>
<?php if ($row['email'] != ''):?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('email');?>
</td>
<td>
<b><?php echo $row['email'];?></b>
</td>
</tr>
<?php endif;?>
<?php if ($row['phone'] != ''):?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('phone');?>
</td>
<td>
<b><?php echo $row['phone'];?></b>
</td>
</tr>
<?php endif;?>
<?php if ($row['skype_id'] != ''):?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('skype_id');?>
</td>
<td>
<b><?php echo $row['skype_id'];?></b>
</td>
</tr>
<?php endif;?>
<?php if ($row['facebook_profile_link'] != ''):?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('facebook_profile');?>
</td>
<td>
<b><?php echo $row['facebook_profile_link'];?></b>
</td>
</tr>
<?php endif;?>
<?php if ($row['twitter_profile_link'] != ''):?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('twitter_profile');?>
</td>
<td>
<b><?php echo $row['twitter_profile_link'];?></b>
</td>
</tr>
<?php endif;?>
<?php if ($row['linkedin_profile_link'] != ''):?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('linkedin_profile');?>
</td>
<td>
<b><?php echo $row['linkedin_profile_link'];?></b>
</td>
</tr>
<?php endif;?>
<?php if ($row['website'] != ''):?>
<tr>
<td>
<i class="entypo-dot"></i>
<?php echo get_phrase('website');?>
</td>
<td>
<b><?php echo $row['website'];?></b>
</td>
</tr>
<?php endif;?>
</tbody>
</table>
</div>
</div>
<?php endforeach;?>