| 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/valence/components/com_djcatalog2/views/item/tmpl/ |
Upload File : |
<?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;
$app = Factory::getApplication();
?>
<div id="djcatalog" class="djc_clearfix djc_item_contact">
<div class="row row-fluid">
<div class="col-md-8 offset2">
<?php if ($this->params->get('show_contact_form', '1')) { ?>
<div class="djc_contact_form_wrapper" id="contactform">
<?php echo $this->loadTemplate('contact'); ?>
</div>
<?php } ?>
</div>
</div>
</div>
<script>
jQuery(document).ready(function(){
var isIframe = false;
try {
isIframe = window.self !== window.top;
} catch (e) {
isIframe = true;
}
if (!isIframe) {
window.location.href="<?php echo Route::_(DJCatalogHelperRoute::getItemRoute($this->item->slug, $this->item->catslug), false); ?>";
}
<?php if ($app->input->getInt('success')) {?>
setTimeout(function(){
if (isIframe) {
jQuery(window.parent.document).find("button.mfp-close").trigger("click");
}
}, 2000);
<?php } ?>
});
</script>