__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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   DPCalendar
 * @copyright Copyright (C) 2024 Digital Peak GmbH. <https://www.digital-peak.com>
 * @license   https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
 */

\defined('_JEXEC') or die();

use Joomla\CMS\Application\CMSWebApplicationInterface;
use Joomla\CMS\Uri\Uri;

$displayData['document']->loadScriptFile('layouts/block/currency.js');
$displayData['translator']->translateJS('COM_DPCALENDAR_CURRENCY');

$app = $displayData['app'];
if (!$app instanceof CMSWebApplicationInterface) {
	return;
}

$model = $app->bootComponent('dpcalendar')->getMVCFactory()->createModel('Currency', 'Administrator');

$currencies = $model->getCurrencies();
if (count($currencies) < 2) {
	return;
}

$actualCurrency = $model->getActualCurrency();
?>
<div class="dp-currency">
	<form action="<?php echo Uri::base(); ?>" method="get" class="dp-currency__form dp-form">
		<label class="dp-currency__label" for="dp-currency__select">
			<?php echo $displayData['translator']->translate('COM_DPCALENDAR_LAYOUT_CURRENCY_CHOOSE_CURRENCY'); ?>:
		</label>
		<select name="currency" class="dp-select dp-currency__select dp-select-container_unstyled" id="dp-currency__select">
			<?php foreach ($currencies as $currency) { ?>
				<option value="<?php echo $currency->currency; ?>"<?php echo $actualCurrency->currency == $currency->currency ? ' selected' : ''; ?>>
					<?php echo $currency->currency . ($currency->currency !== $currency->symbol ?' ' . $currency->symbol : ''); ?>
				</option>
			<?php } ?>
		</select>
		<input type="hidden" name="task" value="profile.tz" class="dp-input dp-input-hidden">
		<input type="hidden" name="option" value="com_dpcalendar" class="dp-input dp-input-hidden">
		<input type="hidden" name="view" value="profile" class="dp-input dp-input-hidden">
		<input type="hidden" name="return" value="<?php echo base64_encode(Uri::getInstance()->toString());?>" class="dp-input dp-input-hidden">
	</form>
</div>

Filemanager

Name Type Size Permission Actions
currency.php File 1.9 KB 0664
datepicker.php File 1.68 KB 0664
filter.php File 6.16 KB 0664
flatcalendar.php File 784 B 0664
icon.php File 1.51 KB 0664
loader.php File 266 B 0664
map.php File 3.21 KB 0664
timepicker.php File 792 B 0664
timezone.php File 2.92 KB 0664
Filemanager