uawdijnntqw1x1x1
IP : 216.73.216.219
Hostname : webm015.cluster127.gra.hosting.ovh.net
Kernel : Linux webm015.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
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pteabiscqq
/
www
/
plugins
/
system
/
lab5_cookie_commander
/
.
/
cookie_commander
/
.
/
.
/
params.import.php
/
/
<?php defined('_JEXEC') or die(); ///////////////////////////////////////////////////////////////////////////////////////////// /** * Cookie Commander * * @author : Lab5 - Dennis Riegelsberger * @authorUrl : https://lab5.ch * @copyright : Copyright (C) 2018+ Lab5 - Dennis Riegelsberger. All rights reserved. * @license : GNU/GPL General Public License version 2 or later * @project : https://lab5.ch/cookie-commander * @on JED : https://extensions.joomla.org/extensions/extension/site-management/cookie-control/lab5-cookie-commander/ * * Built with <3 * Lab5 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /** * @CHANGELOG : * * 2020.08.10 : Great overhaul */ ///////////////////////////////////////////////////////////////////////////////////////////// if ( self::$this->params->get('cw_on', false ) OR self::$this->params->get('anal_activate_google', false ) OR self::$this->params->get('anal_activate_piwik', false ) ) : ///////////////////////////////////////////////////////////////////////////////////////////// $params = self::$this->params; if( !isset(self::$xstor->cccookies) ) { self::$xstor->cccookies = new StdClass(); self::$xstor->cccookies->STORM = 'session'; // cookie | session | both // Storage Mode } /////////////// if( !isset(self::$xstor->cooco)) self::$xstor->cooco = new stdClass(); /////////////// self::$xstor->cooco->cookie_selection = $params->get('cookie_selection', array() ); /////////////// /////////////// self::$xstor->cooco->activate_google = $params->get('anal_activate_google', 'unset' ); self::$xstor->cooco->googleanalyticsUA = $params->get('cw_googleanalyticsUA', false ); self::$xstor->cooco->googleAnonymize = $params->get('anal_googleAnonymize', 1 ); self::$xstor->cooco->googlePosition = $params->get('anal_googlePosition', 1 ); /////////////// /////////////// self::$xstor->cooco->activate_piwik = $params->get('anal_activate_piwik', 'unset' ); self::$xstor->cooco->piwikID = $params->get('anal_piwikID', false ); self::$xstor->cooco->piwikEmbedMode = $params->get('anal_piwikEmbedMode', 1); // 1 = JS // 2 = PHP // 3 = PHP Stealth-Mode self::$xstor->cooco->piwikAUTHtoken = $params->get('anal_piwikAUTHtoken', false ); self::$xstor->cooco->piwikTracker = $params->get('anal_matomo_tracker', 'matomo.php' ); $piwikAddress = $params->get('anal_piwikAddress', false ); $uri = new JUri( $piwikAddress ); $piwikAddress = ( $uri->getScheme()) ? $uri->getScheme() . ":" : '' ; $piwikAddress .= "//".$uri->getHost() . $uri->getPath() ; $piwikAddress = ( substr( $piwikAddress, -1 ) == "/" ) ? $piwikAddress = substr( $piwikAddress, 0, -1 ) : $piwikAddress ; self::$xstor->cooco->piwikAddress = $piwikAddress . "/" ; /////////////// /////////////// self::$xstor->cooco->respect_donottrack = $params->get('anal_respect_donottrack', false ); self::$xstor->cooco->donottrack = (isset($_SERVER['HTTP_DNT']) && $_SERVER['HTTP_DNT'] == 1); /////// if( !self::$xstor->cooco->respect_donottrack OR self::$xstor->cooco->piwikEmbedMode == 3 ){ self::$xstor->cooco->donottrack = false; } self::$xstor->cooco->donottrack_infotxt = $params->get('anal_donottrack_infotxt', 'LAB5_COOKIE_DONOTTRACK_INFOTXT' ); /////////////// /////////////// if(self::$xstor->cooco->activate_google === 'unset'){ if(self::$xstor->cooco->googleanalyticsUA != ''){ $this->permastore_param( 'anal_activate_google', true ); self::$xstor->cooco->activate_google = true; } } if( empty( self::$xstor->cooco->googleanalyticsUA ) ){ self::$xstor->cooco->activate_google = false; } if( empty( self::$xstor->cooco->piwikID ) OR empty( self::$xstor->cooco->piwikAddress ) ){ self::$xstor->cooco->activate_piwik = false; } /////// self::$xstor->cooco->include_google = self::$xstor->cooco->activate_google; self::$xstor->cooco->include_piwik = self::$xstor->cooco->activate_piwik; /////////////// /////////////// self::$xstor->cooco->modusOperandi = $params->get('cw_modus', 'optin' ); // self::$xstor->cooco->autoEnable = $params->get('cw_autoEnable', 1 ); // "Set to true for cookies to be accepted automatically. Banner still shows" if( $params->get('cw_autoEnable' ) == '1' ){ $this->permastore_param( 'cw_autoEnable', false ); $this->permastore_param( 'cw_modus', 'optout' ); self::$xstor->cooco->modusOperandi == 'optout'; } self::$xstor->cooco->autoEnable = (self::$xstor->cooco->modusOperandi == 'optin') ? 0 : 1; self::$xstor->cooco->expireDays = $params->get('cw_expireDays', 7 ); /////////////// /////////////// self::$xstor->cooco->showMode = $params->get('cw_showMode', 'normal' ); // normal = until interacted if( $params->get('cw_forceShow', 0 ) ){ $this->permastore_param( 'cw_forceShow', 'always' ); self::$xstor->cooco->showMode = 'always' ; } /////////////// // COOKIE BAR /////////////// self::$xstor->cooco->consentCookieName = 'cookie-consent-status'; self::$xstor->cooco->idCookieBar = 'cookie-bar'; self::$xstor->cooco->fixed = $params->get('cw_fixed', 1 ); self::$xstor->cooco->bottom = $params->get('cw_bottom', 1 ); self::$xstor->cooco->cc_load_css = $params->get('cc_load_css', '1'); self::$xstor->cooco->zindex = $params->get('cw_zindex', '987654321'); self::$xstor->cooco->append = 1 ; // 1 = add to end of body tag, 0 = prepend to opening of body. /////////////// // COLORS /////////////// self::$xstor->cooco->colorBGBar = $params->get('cw_cbar_color', '' ); self::$xstor->cooco->colorBGAccept = $params->get('cw_btn_bg_enable', '' ); self::$xstor->cooco->colorBGDecline = $params->get('cw_btn_bg_disable', '' ); self::$xstor->cooco->colorBGPolicy = $params->get('cw_btn_bg_policy', '' ); self::$xstor->cooco->colorBGControls = $params->get('cw_btn_bg_controlls', '' ); self::$xstor->cooco->colorTXTBar = $params->get('cw_cbar_text_col', '' ); self::$xstor->cooco->colorTXTLinks = $params->get('cw_cbar_link_col', '' ); // self::$xstor->cooco->colorTXTBtn = $params->get('cw_btn_text_col', '' ); self::$xstor->cooco->colorTXTAccept = $params->get('cw_color_btn_txt_enable', '' ); self::$xstor->cooco->colorTXTDecline = $params->get('cw_color_btn_txt_disable', '' ); self::$xstor->cooco->colorTXTPolicy = $params->get('cw_color_btn_txt_policy', '' ); self::$xstor->cooco->colorTXTControls = $params->get('cw_color_btn_txt_controls', '' ); /////////////// self::$xstor->cooco->message = $params->get('cw_message', 'CC_MESSAGE'); /* * * * * * * * * * * * * * * * * * * * * F rom old version. I did BS there... -> permanently correct DB entry parameter : a simple call of the cookie warning part of this plugin via frontend will initiate this part of code and permanenntly correct the DB entry This part of code can be removed at the end of 2018 * * * * * * * * * * * * * * * * * * * * */ // MIGRATE : if(self::$xstor->cooco->message == 'CW_MESSAGE'){ $this->permastore_param( 'cw_message', 'CC_MESSAGE' ); self::$xstor->cooco->message = 'CC_MESSAGE' ; } // TRANSLATE : self::$xstor->cooco->message = JText::_(self::$xstor->cooco->message); /////////////// /////////////// self::$xstor->cooco->acceptOnContinue = $params->get('cw_acceptOnContinue', 0 ); self::$xstor->cooco->acceptOnScroll = $params->get('cw_acceptOnScroll', 0 ); self::$xstor->cooco->acceptAnyClick = $params->get('cw_acceptAnyClick', 0 ); self::$xstor->cooco->renewOnVisit = $params->get('cw_renewOnVisit', 0 ); /////////////// // POPUP /////////////// self::$xstor->cooco->idPopup = JText::_($params->get('cw_popup_id', 'cc_popup') ); self::$xstor->cooco->popup_bg = $params->get('cw_popup_bg', '#ffffff' ); self::$xstor->cooco->popup_padding = $params->get('cw_popup_padding', '10' ); self::$xstor->cooco->popupVariant = $params->get('cw_popupVariant', 2 ); // 2 = POPUP-LAYER; 1 = MODAL // Switches variant. ////////////////////////////// // BUTTON CONTROLS ////////////////////////////// self::$xstor->cooco->classBTNControls = 'cb-controls'; self::$xstor->cooco->controlsButton = $params->get('cw_controllsButton', 1 ); self::$xstor->cooco->controlsText = $params->get('cw_controllsText', 'CC_BTN_CONTROLS'); self::$xstor->cooco->btnClassControls = $params->get('cc_btn_class_controlls', 'btn' ); // TRANSLATE : self::$xstor->cooco->controlsText = JText::_(self::$xstor->cooco->controlsText); /////////////// self::$xstor->cooco->form_radio_container_cls = $params->get('form_radio_container_cls', 'form-check form-check-inline'); self::$xstor->cooco->form_radio_label_cls = $params->get('form_radio_label_cls', 'form-check-label'); self::$xstor->cooco->form_radio_input_cls = $params->get('form_radio_input_cls', 'form-check-input'); ////////////////////////////// // BUTTON ACCEPT ////////////////////////////// self::$xstor->cooco->classBTNAccept = 'cb-enable'; self::$xstor->cooco->acceptButton = $params->get('cw_acceptButton', 1 ); self::$xstor->cooco->acceptText = $params->get('cw_acceptText', 'CC_BTN_ACCEPT'); self::$xstor->cooco->btnClassAccept = $params->get('cc_btn_class_accept', 'btn' ); // TRANSLATE : self::$xstor->cooco->acceptText = JText::_(self::$xstor->cooco->acceptText); ////////////////////////////// // BUTTON DECLINE ////////////////////////////// self::$xstor->cooco->classBTNDecline = 'cb-disable'; self::$xstor->cooco->declineButton = $params->get('cw_declineButton', 0 ); self::$xstor->cooco->declineText = $params->get('cw_declineText', 'CC_BTN_DECLINE'); // self::$xstor->cooco->declineURL = JText::_($params->get('cw_declineURL', 'CW_DECLINE_URL') ); self::$xstor->cooco->declineURL = JText::_($params->get('cw_declineURL', '') ); self::$xstor->cooco->btnClassDecline = $params->get('cc_btn_class_disable', 'btn' ); // TRANSLATE : self::$xstor->cooco->declineText = JText::_(self::$xstor->cooco->declineText); ////////////////////////////// // BUTTON POLICY ////////////////////////////// self::$xstor->cooco->classBTNPolicy = 'cb-policy'; self::$xstor->cooco->policyButton = $params->get('cw_policyButton', 0 ); self::$xstor->cooco->policyURL = $params->get('cw_policyURLalternative', '' ); self::$xstor->cooco->policyURL = ( trim(self::$xstor->cooco->policyURL) !='' ) ? self::$xstor->cooco->policyURL : JRoute::_('index.php?Itemid='.$params->get('cw_policyURL', '#' )) ; self::$xstor->cooco->policyText = $params->get('cw_policyText', 'CC_BTN_POLICY'); self::$xstor->cooco->btnClassPolicy = $params->get('cc_btn_class_policy', 'btn' ); // TRANSLATE : self::$xstor->cooco->policyText = JText::_(self::$xstor->cooco->policyText); ///////////////////////////////////////////////////////////////////////////////////////////// endif;
/home/pteabiscqq/www/plugins/system/lab5_cookie_commander/./cookie_commander/././params.import.php