| 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/plats-individuels/lyon/components/com_djclassifieds/views/userpoints/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();
$par = $this->par;
$order = $app->input->getCmd('order', 'date');
$ord_t = $app->input->getCmd('ord_t', 'desc');
$ord_t = $ord_t == 'desc' ? 'asc' : 'desc';
?>
<div id="dj-classifieds" class="clearfix djcftheme-<?php echo $par->get('theme','default');?> <?php echo $par->get('pageclass_sfx'); ?>">
<div class="title_top">
<h1><?php echo $this->page_heading ? $this->page_heading : JText::_('COM_DJCLASSIFIEDS_YOUR_POINTS_HISTORY'); ?></h1>
</div>
<div class="userpoints">
<div class="points_available">
<?php echo JText::_('COM_DJCLASSIFIEDS_POINTS_AVAILABLE').': <span>'.(!empty($this->user_points) ? $this->user_points : 0).'</span>';?>
</div>
<div class="dj-items-table2">
<div class="item_row item_header main_title">
<div class="item_col first">
<?php echo JText::_('COM_DJCLASSIFIEDS_DESCRIPTION'); ?>
</div>
<?php if($order=="points"){$class="active";}else{$class="normal";}?>
<div class="item_col <?php echo $class; ?>">
<a class="<?php echo $class; ?>" href="<?php echo DJClassifiedsSEO::getViewUri('userpoints'); ?>&order=points&ord_t=<?php echo $ord_t; ?>">
<?php echo JText::_('COM_DJCLASSIFIEDS_POINTS');
if($order=="points"){
if($ord_t=='desc'){ echo '<img src="'.JURI::base(true).'/'.DJClassifiedsTheme::getImgAssetPath('sort_desc.svg').'" />';
}else{ echo '<img src="'.JURI::base(true).'/'.DJClassifiedsTheme::getImgAssetPath('sort_asc.svg').'" />';}
}else{ echo '<img src="'.JURI::base(true).'/'.DJClassifiedsTheme::getImgAssetPath('sort.svg').'" />'; }?>
</a>
</div>
<?php if($order=="date"){$class="active";}else{$class="normal";}?>
<div class="item_col <?php echo $class; ?>">
<a class="<?php echo $class; ?>" href="<?php echo DJClassifiedsSEO::getViewUri('userpoints'); ?>&order=date&ord_t=<?php echo $ord_t; ?>">
<?php echo JText::_('COM_DJCLASSIFIEDS_DATE');
if($order=="date"){
if($ord_t=='desc'){ echo '<img src="'.JURI::base(true).'/'.DJClassifiedsTheme::getImgAssetPath('sort_desc.svg').'" />';
}else{ echo '<img src="'.JURI::base(true).'/'.DJClassifiedsTheme::getImgAssetPath('sort_asc.svg').'" />';}
}else{ echo '<img src="'.JURI::base(true).'/'.DJClassifiedsTheme::getImgAssetPath('sort.svg').'" />'; }?></a>
</div>
</div>
<?php
foreach($this->points as $point){
echo '<div class="item_row">';
echo '<div class="item_col first">'.$point->description.'</div>';
echo '<div class="item_col">'.$point->points.'</div>';
echo '<div class="item_col">'.DJClassifiedsTheme::formatDate(strtotime($point->date)).'</div>';
echo '</div>';
}
?>
<?php
if(!$this->points){
echo '<div class="no_results">';
echo JText::_('COM_DJCLASSIFIEDS_USERPOINTS_NO_RESULTS');
echo '</div>';
}
?>
</div>
<?php if($this->pagination->getPagesLinks()){ ?>
<div class="pagination">
<?php echo $this->pagination->getPagesLinks(); ?>
</div>
<?php } ?>
</div>
</div>