AnonSec Shell
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/pornic/components/com_djcatalog2/views/cart/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/pornic/components/com_djcatalog2/views/cart/tmpl/onestep.php
<?php
/**
 * @package DJ-Catalog2
 * @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');
use Joomla\CMS\Factory;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Language\Text;
Joomla\CMS\HTML\HTMLHelper::_('behavior.keepalive');
Joomla\CMS\Factory::getDocument()->getWebAssetManager()->useScript('form.validate');
//Joomla\CMS\HTML\HTMLHelper::_('bootstrap.tooltip');

$app = Factory::getApplication();
$user = Factory::getUser();

$areas = array();
if ($this->params->get('cart_query_enabled', '1') == '1') {
	$areas['query'] = true;
}
if ($this->params->get('cart_enabled', '1') == '1') {
	$areas['checkout'] = true;
}

$displayTabs = count($areas) > 1;
$subLayout = $this->subLayout;

?>

<?php //if ($this->params->get( 'show_page_heading', 1)) { ?>
<h1 class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ) ?>">
	<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php //} ?>

<div id="djcatalog" class="djc_cart<?php echo $this->params->get( 'pageclass_sfx' ).' djc_theme_'.$this->params->get('theme','default') ?>">

<?php if (count($this->items) < 1){ ?>
	<p class="djc_empty_cart"><?php echo Text::_('COM_DJCATALOG2_CART_IS_EMPTY'); ?></p>
<?php } else { ?>
	<div class="djc_cart djc_clearfix">
		<?php echo $this->loadTemplate('table2'); ?>
	</div>
	
	<?php if (count($areas) > 0) {?>
	
	<div class="djc_onestep_checkout">
		<?php if ($this->params->get('cart_coupons', 0) && $this->params->get('cart_enabled', 1)) {?>
			<?php echo $this->loadTemplate('coupon'); ?>
		<?php } ?>

		<?php if($this->params->get('cart_related_accessories') && !empty($this->related_accessories)) : ?>
			<?php echo $this->loadTemplate('related_accessories'); ?>
		<?php endif; ?>
		
		<?php if ($displayTabs) {?>
			<ul class="djc_onestep_nav nav nav-tabs">
				<li <?php echo $subLayout == 'checkout' ? 'class="active"' : ''?>><a href="<?php echo Route::_(DJCatalog2HelperRoute::getCheckoutRoute());?>#tabcheckout"><?php echo Text::_('COM_DJCATALOG2_ONESTEP_TAB_CHECKOUT');?></a></li>
				<li <?php echo $subLayout == 'query' ? 'class="active"' : ''?>><a href="<?php echo Route::_(DJCatalog2HelperRoute::getQueryRoute());?>#tabquery"><?php echo Text::_('COM_DJCATALOG2_ONESTEP_TAB_QUERY');?></a></li>
			</ul>
		<?php } ?>

		<?php if ($displayTabs) {?>
			<div class="tab-content"><div class="tab-pane active">
		<?php } ?>
		<?php if ( $user->guest 
			&& ( ($subLayout == 'checkout' && $this->params->get('cart_registered', 1)) 
			|| ($subLayout == 'query' && $this->params->get('cart_query_registered', 1)) ) ) {?>
			<?php echo $this->loadTemplate('loginform'); ?>
		<?php } else {?>
			<?php echo $this->loadTemplate($subLayout); ?>
		<?php } ?>
		
		<?php if ($displayTabs) {?>
			</div></div>
		<?php } ?>
	</div>
	<?php } ?>
<?php } ?>
</div>

Anon7 - 2022
AnonSec Team