AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.94
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/vesoul/modules/mod_djclassifieds_maps/tmpl/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/vesoul/modules/mod_djclassifieds_maps/tmpl/inc/switch.php
<?php
/**
 * @package DJ-Classifieds
 * @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' );

?>

<?php if($params->get('switch','0')){ ?>

    <button id="mod_djcf_maps_switch<?php echo $module->id; ?>" type="button" class="float-end djcf-maps-switch button btn btn-secondary">
        <span class="show-map switch-text"<?php echo $params->get('switch_default','0') == '1' ? ' style="display:none"' : ''; ?>><?php echo JText::_('MOD_DJCLASSIFIEDS_MAPS_SWITCH_SHOW'); ?></span>
        <span class="hide-map switch-text"<?php echo $params->get('switch_default','0') == '0' ? ' style="display:none"' : ''; ?>><?php echo JText::_('MOD_DJCLASSIFIEDS_MAPS_SWITCH_HIDE'); ?></span>
    </button>

    <script>
        jQuery(function($){
            $('#mod_djcf_maps_switch<?php echo $module->id; ?>').click(function(){
                $('#mod_djcf_maps<?php echo $module->id; ?>').toggle();
                <?php if($params->get('switch_default','0') == '0'){ ?>
                    if(typeof djmap<?php echo $module->id; ?> === 'undefined') djmodMapStart<?php echo $module->id; ?>();
                <?php } ?>
                $(this).find('.switch-text').toggle();
            });
        });
    </script>

<?php } ?>

Anon7 - 2022
AnonSec Team