| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/components/com_djclassifieds/views/profile/tmpl/ |
Upload File : |
<?php
/**
* @package DJ-Classifieds
* @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
*/
defined ('_JEXEC') or die('Restricted access');
$app = JFactory::getApplication();
$user = JFactory::getUser();
$par = $this->par;
?>
<div class="profile_box">
<?php
$avatar_w = $par->get('profth_width','120')+10;
echo '<span style="width: '.$avatar_w.'px" class="profile_img">';
if($par->get('profile_avatar_source','')){
echo DJClassifiedsSocial::getUserAvatar($this->profile['id'],$par->get('profile_avatar_source',''),'L');
}else{
if($this->profile['img']){
echo '<img alt="'.$this->profile['name'].' - avatar" src="'.JURI::base(true).$this->profile['img']->path.$this->profile['img']->name.'_th.'.$this->profile['img']->ext.'" />';
}else{
echo '<img alt="'.$this->profile['name'].' - avatar" style="'.DJClassifiedsImage::getThumbStyle('p_th',$par).'" src="'.JURI::base(true).'/'.DJClassifiedsTheme::getImgAssetPath('default_profile.svg').'" />';
}
}
echo '</span>';
?>
<div class="profile_name_data">
<?php if(!$this->own_profile && $par->get('show_juser_dates','0')){ ?>
<div class="user-dates float-end pull-right">
<?php if($par->get('show_juser_dates','0') == '1' || $par->get('show_juser_dates','0') == '3'){ ?>
<div class="registration" title="<?php echo DJClassifiedsTheme::formatDate(strtotime($this->profile['juser']->registerDate)); ?>">
<small><?php echo JText::sprintf('COM_DJCLASSIFIEDS_PROFILE_REGISTRATION_DATE', '<span class="user-date">'.DJClassifiedsTheme::formatDate(strtotime($this->profile['juser']->registerDate),'','1').'</span>'); ?></small>
</div>
<?php } ?>
<?php if(($par->get('show_juser_dates','0') == '2' || $par->get('show_juser_dates','0') == '3') && !empty($this->profile['juser']->lastvisitDate)){ ?>
<div class="last-visit" title="<?php echo DJClassifiedsTheme::formatDate(strtotime($this->profile['juser']->lastvisitDate)); ?>">
<small><?php echo JText::sprintf('COM_DJCLASSIFIEDS_PROFILE_LAST_VISIT_DATE', '<span class="user-date">'.DJClassifiedsTheme::formatDate(strtotime($this->profile['juser']->lastvisitDate),'','1').'</span>'); ?></small>
</div>
<?php } ?>
</div>
<?php } ?>
<div class="main_cat_title">
<?php $heading_tag = $par->get('heading_tag_profile', 'h2'); ?>
<?php echo '<'.$heading_tag.' class="profile_name">'.$this->profile['name']; ?>
<?php
if(!empty($this->profile['details']->verified)){
echo '<span class="verified_icon" title="'.JText::_('COM_DJCLASSIFIEDS_VERIFIED_SELLER').'"></span>';
}
if($par->get('fav_profiles','0')){
echo DJClassifiedsTheme::renderLayout('favboxprofile', array('profile_id' => $this->profile['id'], 'fav' => !empty($this->profile['fav']), 'par' => $par));
}
foreach($app->triggerEvent('onAfterDJClassifiedsDisplayProfileName', array($this->profile, 'profile')) as $plug_out) echo $plug_out;
if($user->id==$this->profile['id'] && $user->id){
echo '<a href="'.DJClassifiedsSEO::getViewUri('profileedit').'" class="title_edit button">'.JText::_('COM_DJCLASSIFIEDS_PROFILE_EDITION').'</a>';
}
?>
<?php echo '</'.$heading_tag.'>'; ?>
</div>
<?php if($this->profile['data'] || $par->get('show_juser_email','0')){ ?>
<div class="profile_data">
<?php if($par->get('show_juser_email','0')){ ?>
<div class="profile_row row_email">
<span class="profile_row_label"><?php echo JText::_('COM_DJCLASSIFIEDS_PROFILE_EMAIL_LABEL'); ?></span>
<span class="profile_row_value"><?php echo $this->profile['juser']->email; ?></span>
</div>
<?php } ?>
<?php if($this->profile['data']){ ?>
<?php echo DJClassifiedsTheme::renderLayout('customfields', array('fields' => $this->profile['data'], 'class' => 'profile_row')); ?>
<?php } ?>
</div>
<?php } ?>
<?php echo $this->loadTemplate('localization'); ?>
<?php echo $this->loadTemplate('contactform'); ?>
<?php if($par->get('profile_social_link','')){ ?>
<div class="profile_row row_social_link">
<span class="profile_row_label"></span>
<span class="profile_row_value">
<a href="<?php echo DJClassifiedsSocial::getUserProfileLink($this->profile['id'],$par->get('profile_social_link','')); ?>" alt="">
<?php echo JText::_('COM_DJCLASSIFIEDS_VISIT_SOCIAL_PROFILE'); ?>
</a>
</span>
</div>
<?php }?>
</div>
<div class="clear_both"></div>
</div>