| 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/c/o/o/coopiak/amisdesseniors-fr/aix/components/com_djcatalog2/themes/default/pdf/ |
Upload File : |
<?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
*/
use Joomla\CMS\Component\ComponentHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\FileLayout;
$params = ComponentHelper::getParams('com_djcatalog2');
$show_item_desc = $params->get('wl_pdf_show_description', false, 'bool');
?>
<table width="100%">
<tr>
<th width="50%;" align="center"><h1><?php echo Text::_('COM_DJCATALOG2_WISHLIST_ITEM_NAME'); ?></h1></th>
<th width="50%;" align="center"><h1><?php echo Text::_('COM_DJCATALOG2_WISHLIST_ITEM_IMAGE'); ?></h1></th>
</tr>
<?php foreach ($data as $item) : ?>
<tr nobr="true">
<td width="50%" align="center">
<span><?php echo $item->name; ?></span>
</td>
<td width="50%" align="center">
<?php if ((int)$params->get('image_link_item', 0) != -1) { ?>
<?php
$variant = 'img';
$imgLink = (int)$params->get('image_link_item', 0);
if ($imgLink == 0) {
$variant = 'link';
} else if ($imgLink == 1) {
$variant = 'popup';
} else if ($imgLink == 2) {
$variant = 'preview';
}
$layout = new FileLayout('com_djcatalog2.listimage', DJCatalog2ThemeHelper::getLayoutBasePath(), array('component'=> 'com_djcatalog2'));
$imageData = array( 'item' => &$item,
'type' => 'item',
'size' => 'medium',
'variant' => $variant,
'hover_img' => $params->get('image_hover_item', 0) == 1,
'context' => 'com_djcatalog2.items.list',
'params' => &$params);
echo $layout->render($imageData);
?>
<?php } ?>
</td>
</tr>
<?php if($show_item_desc) : ?>
<tr>
<td colspan="2">
<?php echo $item->intro_desc; ?>
</td>
</tr>
<?php endif; ?>
<?php endforeach; ?>
</table>