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/lyon/components/com_djcatalog2/views/cart/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/lyon/components/com_djcatalog2/views/cart/tmpl/default_coupon.php
<?php
/**
 * @version $Id: default.php 389 2015-03-24 17:43:47Z michal $
 * @package DJ-Catalog2
 * @copyright Copyright (C) 2012 DJ-Extensions.com LTD, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 * @developer Michal Olczyk - michal.olczyk@design-joomla.eu
 *
 * DJ-Catalog2 is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * DJ-Catalog2 is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with DJ-Catalog2. If not, see <http://www.gnu.org/licenses/>.
 *
 */

defined ('_JEXEC') or die('Restricted access');

$return_url = base64_encode(JURI::getInstance()->toString());
?>
<div class="djc_cart_coupon">
	<div class="djc_cart_coupon_in clearfix">
		<div class="djc_coupon_desc">
			<h3><?php echo JText::_('COM_DJCATALOG2_COUPON_CODE'); ?></h3>
			<?php if(empty($this->basket->coupon)) { ?>
				<p><?php echo JText::_('COM_DJCATALOG2_COUPON_CODE_DESC'); ?></p>
			<?php } else { ?>
				<?php echo $this->basket->coupon->description ?>
			<?php } ?>
		</div>
		
		<div class="djc_coupon_form">
			<form action="<?php echo JRoute::_(DJCatalogHelperRoute::getCartRoute());?>" method="post" class="form-horizontal">
				<?php if(empty($this->basket->coupon)) { ?>
					<input type="text" name="coupon_code" class="input form-control" value="" aria-label="Coupon code" />
					<input type="submit" class="btn btn-primary btn-gray btn-invert" value="<?php echo JText::_('COM_DJCATALOG2_COUPON_APPLY'); ?>" />
					<input type="hidden" name="task" value="cart.coupon_apply"/>
				<?php } else { ?>
					<input type="text" name="coupon_code" class="input form-control" value="<?php echo $this->basket->coupon->code ?>" disabled readonly aria-label="Coupon code" />
					<input type="submit" class="btn btn-primary btn-gray btn-invert" value="<?php echo JText::_('COM_DJCATALOG2_COUPON_REMOVE'); ?>" />
					<input type="hidden" name="task" value="cart.coupon_remove"/>
				<?php } ?>
				<input type="hidden" name="return" value="<?php echo $return_url; ?>" />
				<?php echo Joomla\CMS\HTML\HTMLHelper::_( 'form.token' ); ?>
			</form>
		</div>
	</div>
</div>

Anon7 - 2022
AnonSec Team