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/administrator/components/com_hikashop/views/view/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/administrator/components/com_hikashop/views/view/tmpl/diff.php
<?php
/**
 * @package	HikaShop for Joomla!
 * @version	6.1.0
 * @author	hikashop.com
 * @copyright	(C) 2010-2025 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php
if(!file_exists($this->element->override)) {
	hikashop_display(array('FILE_NOT_FOUND'), 'error');
	return;
}
?>
<form action="<?php echo hikashop_completeLink('view');?>" method="post"  name="adminForm" id="adminForm">
<?php
if(!empty($this->element->possible_source_files)) {
	$values = array(JHTML::_('select.option', '', JText::_('PLEASE_SELECT')));
	foreach($this->element->possible_source_files as $file){
		$values[] = JHTML::_('select.option', $file, $file);
	}
	echo JText::sprintf('SOURCE_VIEW_FILE_FOR_THE_OVERRIDE_X',  $this->element->view .' / '. $this->element->filename). ' ';
	echo JHTML::_('hikaselect.genericlist',   $values, 'src', 'class="custom-select" size="1" onchange="this.form.submit();"', 'value', 'text', @$this->element->src);
} elseif(!is_file($this->element->path)) {
	hikashop_display(array('NO_POSSIBLE_SOURCE_FILE_FOUND_FOR_THIS_OVERRIDE'), 'error');
	return;
}
if(!empty($this->element->src)) {
	$this->element->path = $this->element->folder.$this->element->src;
} else {
	$this->element->src = $this->element->filename;
}

if(is_file($this->element->path)) {
	$diff = HikashopDiffInc::compareFiles($this->element->path, $this->element->override);
	array_unshift($diff, array(JText::sprintf('ORIGINAL_FILE', $this->element->view .' / '. $this->element->src), 3, JText::sprintf('OVERRIDE_FILE', $this->element->view .' / '. $this->element->filename)));
	echo HikashopDiffInc::toTable($diff);
}
?>

    <input type="hidden" name="id" value="<?php echo $this->element->id; ?>" />
	<input type="hidden" name="option" value="<?php echo HIKASHOP_COMPONENT;?>" />
	<input type="hidden" name="task" value="diff" />
	<input type="hidden" name="ctrl" value="<?php echo hikaInput::get()->getString('ctrl');?>" />
	<?php echo JHTML::_( 'form.token' ); ?>
</form>

Anon7 - 2022
AnonSec Team