=')) { $this->setTemplate('module:lgcookieslaw/views/templates/front/disallow_1_7.tpl'); } else { $this->setTemplate('disallow.tpl'); } $ok = 0; if (md5(_COOKIE_KEY_.$this->module->name) == Tools::getValue('token', '')) { $ok = 1; } $cookies = array( $this->context->cookie->getName(), 'PHPSESSID', ); $this->context->smarty->assign( array( 'lgcookieslaw_safe_cookies' => $cookies, 'lgcookieslaw_token_ok' => $ok, ) ); //Tools::dieObject($this->context->cookie); } }