Current File : /home/pacjaorg/wpt.pacja.org/km/components/com_djclassifieds/layouts/paymentmethodpoints.php
<?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;

$item_id = $displayData['item_id'];
$type = $displayData['type'];
$user_points = $displayData['user_points'];
$points_total = $displayData['points_total'];
$par = $displayData['par'];

?>

<table width="100%" cellspacing="0" cellpadding="5" border="0">
    <tr>
        <td width="160" align="center" class="td1">
            <img title="<?php echo JText::_('COM_DJCLASSIFIEDS_POINTS')?>" src="<?php echo JUri::root();?><?php echo DJClassifiedsTheme::getImgAssetPath('points.svg'); ?>">
        </td>
        <td class="td2">
            <h2><?php echo JText::_('COM_DJCLASSIFIEDS_POINTS_PACKAGE')?></h2>
            <p style="text-align:left;"><?php echo JText::_('COM_DJCLASSIFIEDS_POINTS_AVAILABLE').': '.$user_points; ?></p>
        </td>
        <td width="130" align="center" class="td3">
            <?php 
                if($user_points >= $points_total){ 
                    echo '<a class="button" href="'.DJClassifiedsSEO::getViewUri('payment').'&task=payPoints&id='.$item_id.($type ? '&type='.$type : '').'" style="text-decoration:none;">'.JText::_('COM_DJCLASSIFIEDS_USE_POINTS').'</a>';	
                }else{ 
                    echo '<a target="_blank" class="button buy-points" href="'.DJClassifiedsSEO::getViewUri('points').'" style="text-decoration:none;">'.JText::_('COM_DJCLASSIFIEDS_BUY_POINTS').'</a>';	
                }
            ?>
        </td>
    </tr>
</table>
Site is undergoing maintenance

PACJA Events

Maintenance mode is on

Site will be available soon. Thank you for your patience!