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

namespace DigitalPeak\Component\DPCalendar\Administrator\Controller;

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

use DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\CMS\Plugin\PluginHelper;
use Joomla\CMS\Router\Route;

class ExtcalendarsController extends AdminController
{
	protected $text_prefix = 'COM_DPCALENDAR_EXTCALENDAR';

	public function getModel($name = 'Extcalendar', $prefix = 'Administrator', $config = ['ignore_request' => true])
	{
		return parent::getModel($name, $prefix, $config);
	}

	public function import(): bool
	{
		$this->setRedirect(
			'index.php?option=com_dpcalendar&view=extcalendars&layout=import&dpplugin=' . $this->input->getCmd('dpplugin') . '&tmpl=' .
			$this->input->get('tmpl', '')
		);

		return true;
	}

	public function delete(): void
	{
		parent::delete();

		$redirect = $this->redirect;
		$tmp      = $this->input->get('dpplugin');
		if ($tmp) {
			$redirect .= '&dpplugin=' . $tmp;
		}

		$tmp = $this->input->get('tmpl');
		if ($tmp) {
			$redirect .= '&tmpl=' . $tmp;
		}

		$this->setRedirect($redirect);
	}

	public function publish(): void
	{
		parent::publish();

		$redirect = $this->redirect;
		$tmp      = $this->input->get('dpplugin');
		if ($tmp) {
			$redirect .= '&dpplugin=' . $tmp;
		}

		$tmp = $this->input->get('tmpl');
		if ($tmp) {
			$redirect .= '&tmpl=' . $tmp;
		}

		$this->setRedirect($redirect);
	}

	public function cacheclear(): void
	{
		$plugin = $this->input->getCmd('dpplugin');

		if ($this->getModel('Extcalendar')->cleanEventCache($plugin)) {
			$this->app->enqueueMessage(Text::_('COM_DPCALENDAR_VIEW_EXTCALENDAR_CACHE_CLEAR_SUCCESS'), 'message');
		} else {
			$this->app->enqueueMessage(Text::_('COM_DPCALENDAR_VIEW_EXTCALENDAR_CACHE_CLEAR_ERROR'), 'error');
		}

		$url = 'index.php?option=com_dpcalendar&view=extcalendars&dpplugin=' . $plugin;
		$tmp = $this->input->get('tmpl');
		if ($tmp) {
			$url .= '&tmpl=' . $tmp;
		}
		$this->setRedirect(Route::_($url, false));
	}

	public function sync(): void
	{
		$start = time();
		PluginHelper::importPlugin('dpcalendar');
		$this->app->triggerEvent('onEventsSync', [$this->input->getCmd('dpplugin')]);
		$end = time();

		$this->app->enqueueMessage(Text::sprintf('COM_DPCALENDAR_VIEW_EXTCALENDARS_SYNC_FINISHED', $end - $start), 'success');
		DPCalendarHelper::sendMessage('');
	}
}

Filemanager

Name Type Size Permission Actions
CaldavController.php File 716 B 0664
CountriesController.php File 610 B 0664
CountryController.php File 714 B 0664
CouponController.php File 942 B 0664
CouponsController.php File 606 B 0664
DisplayController.php File 1.23 KB 0664
EventController.php File 9.78 KB 0664
EventsController.php File 2.3 KB 0664
ExtcalendarController.php File 941 B 0664
ExtcalendarsController.php File 2.55 KB 0664
ImportController.php File 1.2 KB 0664
LocationController.php File 1.94 KB 0664
LocationsController.php File 1.16 KB 0664
PluginController.php File 1.1 KB 0664
TaxrateController.php File 710 B 0664
TaxratesController.php File 770 B 0664
TicketsController.php File 606 B 0664
TranslateController.php File 3.61 KB 0664
VersionController.php File 801 B 0664
Filemanager