Current File : /home/pacjaorg/public_html/km/components/com_djclassifieds/views/item/tmpl/default_terms.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('Restricted access');
$par = $this->par;
?>
<div id="dj-classifieds" class="djcf_warning18 clearfix djcftheme-<?php echo $this->theme;?> <?php echo $par->get('pageclass_sfx'); ?>">
<div class="djcf_warning_outer clearfix">
<div class="title_top"><?php echo JText::_('COM_DJCLASSIFIEDS_WARNING_18_TITLE');?></div>
<div class="djcf_warning_outer_in">
<?php echo DJClassifiedsTheme::renderModule('djcf-warning18-top'); ?>
<div class="djcf_war_content">
<?php echo JText::_('COM_DJCLASSIFIEDS_WARNING_18_CONTENT');?>
</div>
<?php echo DJClassifiedsTheme::renderModule('djcf-warning18-center'); ?>
<?php
if($par->get('restriction_18_art',0)){ ?>
<div class="djcf_war_link">
<?php
if($par->get('restriction_18_art',0)==1){
echo '<a href="'.$this->terms_link.'" target="_blank">'.JText::_('COM_DJCLASSIFIEDS_TERMS_AND_CONDITIONS').'</a>';
}else if($par->get('restriction_18_art',0)==2){
echo '<a href="'.$this->terms_link.'" rel="{size: {x: 700, y: 500}, handler:\'iframe\'}" class="modal" target="_blank">'.JText::_('COM_DJCLASSIFIEDS_TERMS_AND_CONDITIONS').'</a>';
}
?>
</div>
<?php } ?>
<?php echo DJClassifiedsTheme::renderModule('djcf-warning18-bottom'); ?>
<div class="djcf_war_buttons">
<a class="djcf_war_cancel button" href="<?php echo JURI::base();?>">
<?php echo JText::_('COM_DJCLASSIFIEDS_WARNING_18_BUTTON_CANCEL'); ?>
</a>
<button onclick="djcfAccept18()" class="djcf_war_accept button">
<?php echo JText::_('COM_DJCLASSIFIEDS_WARNING_18_ACCEPT');?>
</button>
<div class="clear_both"></div>
</div>
<div class="clear_both"></div>
</div>
</div>
</div>