File: /home/confeduphaar/backip-old-files/modules/mod_jdprofiler/tmpl/layout/table/table.php
<?php
defined('_JEXEC') or die;
// Licensed under the GPL v3
//echo "<pre>";
//print_r($profiles);
?>
<?php if(!empty($profiles)){ ?>
<div class="jd-profiler-wrapper jd-table-layout-view jd-table-simple-layout">
<div class="jd-row <?php echo ($params->get('gutter_space')=='nomargin') ? 'jd-nogutters' : '' ?>">
<!-- Team Item wrapper start -->
<div class="jd-team-table jd-col-12">
<table class="table table-striped">
<tbody>
<?php foreach($profiles as $profile) { ?>
<tr>
<?php if(!empty($profile->image)) { ?>
<th scope="team-mamber-image-wrapper">
<img src="<?php echo $profile->image; ?>" alt="<?php echo $profile->name; ?>">
</th>
<?php } ?>
<?php if($params->get('display_name')) { ?>
<?php if(!empty($profile->name)) { ?>
<td class="team-member-name">
<span class="name">
<?php echo $profile->name; ?>
</span>
</td>
<?php } ?>
<?php } ?>
<?php if($params->get('display_designation')) { ?>
<?php if(!empty($profile->designation)) { ?>
<td class="team-member-designation"><i class="fas fa-stamp"></i> <?php echo $profile->designation; ?></td>
<?php } ?>
<?php } ?>
<?php if(!empty($profile->email)) { ?>
<td class="team-member-address"><i class="fas fa-envelope"></i> <?php echo $profile->email; ?> </td>
<?php } ?>
<?php if($params->get('show_Contact')) { ?>
<?php if(!empty($profile->phone)) { ?>
<td class="team-member-email"><i class="fas fa-phone fa-rotate-90"></i> <?php echo $profile->phone; ?></td>
<?php } ?>
<?php } ?>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<!-- Team Item wrapper end -->
</div>
</div>
<?php }else{ ?>
<div class="alert alert-warning">
<strong>Warning!</strong> There is no profile in the list.
</div>
<?php } ?>