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/components/com_djcatalog2/views/configurable/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/components/com_djcatalog2/views/configurable/tmpl/allsteps.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');

$current = ($this->category_id > 0) ? 1 : 2;

?>

<?php if (!empty($this->item->config_conditions) && is_array($this->item->config_conditions)) {?>
	<?php foreach($this->item->config_conditions as $stepNo => $step) {?>
		<?php 
		$count = count($step['options']);
		?>
		<div class="djc_cfg_step_outer" data-choice-no="<?php echo $current++; ?>" data-step-type="steps">
			<h2 class="djc_cfg_step_heading"><?php echo JText::sprintf('COM_DJCATALOG2_CFGWIZ_SELECT_ITEM', $step['name']); ?></h2>
			<?php
			foreach($step['options'] as $stepOpt) {?>
				<?php 
				$style = '';
				$description = '';
				$optionParams = $stepOpt['params'];
				if ($optionParams->get('hexcode')) {
					$style .= 'background-color: ' . $optionParams->get('hexcode').';';
				}
				if ($optionParams->get('file_name')) {
					$style .= 'background-image: url(\''.DJCATIMGURLPATH .'/colors/'. $optionParams->get('file_name').'\');';
				}
				if ($style == '') {
					//$style = 'background-color: #ccc; background-image: url(\''.JUri::base(true) .'/components/com_djcatalog2/themes/'.$this->params->get('theme', 'default').'/images/icon-no-color.png\')';
				}
				if ($optionParams->get('description')) {
					$description = $optionParams->get('description');
				}
				?>
				<button class="djc_cfg_item djc_cfg_item-step btn" type="button" role="button"
					data-type="steps" 
					data-id="<?php echo $stepOpt['id']; ?>" 
					data-field_id="<?php echo $step['field_id']; ?>" 
					data-value="<?php echo $this->escape($stepOpt['value']); ?>" 
					data-lbl="<?php echo $this->escape($step['name']); ?>"
					data-dependancies='<?php echo $this->escape(json_encode($stepOpt['dependancies']))?>'
					data-price="<?php echo $this->escape($stepOpt['price']); ?>"
					data-pricemod="<?php echo $this->escape($stepOpt['price_mod']); ?>"
					data-info="<?php echo $this->escape($stepOpt['info']); ?>"
					data-sku="<?php echo $this->escape($stepOpt['sku']); ?>"
					>
					<?php if ($style) {?>
						<span class="djc_configurable_btn_bg" style="<?php echo $style; ?>"></span> 
					<?php } ?>
					<?php echo $stepOpt['value']; ?>
				</button>
		<?php } ?>
		</div>
	<?php } ?>
<?php } ?>


Anon7 - 2022
AnonSec Team