public function hookDisplayHeader($params)
 {
     $this->context->controller->addJS(array(_PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/agile_global.js"));
     if ($this->context->controller->php_self == "authentication") {
         $this->context->controller->addJS(array(_PS_ROOT_DIR_ . "/modules/agilemultipleseller/js/agile_tiny_mce.js", _PS_JS_DIR_ . "admin.js", _PS_ROOT_DIR_ . "/modules/agilemultipleseller/replica/themes/default/js/dropdown.js"));
     }
     if (version_compare(_PS_VERSION_, "1.6.0.12", ">=")) {
         $this->context->controller->addJS(array(_PS_JS_DIR_ . "admin/tinymce.inc.js"));
     } else {
         $this->context->controller->addJS(array(_PS_JS_DIR_ . "tinymce.inc.js"));
     }
     if ($this->context->controller->php_self != "index") {
         $this->context->controller->addCSS($this->_path . "css/agileglobal.css", "all");
         $this->context->controller->addCSS($this->_path . "css/agilemultipleseller.css", "all");
     }
     if (!empty($this->context->cookie->viewed)) {
         ${"GLOBALS"}["ophcsjdjb"] = "agile_filters";
         $bxvdpxms = "viewed";
         $ynwxxxwoev = "agile_filters";
         ${$ynwxxxwoev} = AgileSellerManager::getAdditionalSqlForProducts("p");
         ${${"GLOBALS"}["fajsjwqsq"]} = "SELECT distinct p.id_product \n\t\t\t\t\tFROM " . _DB_PREFIX_ . "product p\n\t\t\t\t\t" . ${${"GLOBALS"}["cugibujlwfkn"]}["joins"] . "\n\t\t\t        WHERE p.id_product IN (" . $this->context->cookie->viewed . ")\n\t\t\t\t\t" . ${${"GLOBALS"}["ophcsjdjb"]}["wheres"] . "\n                ";
         ${"GLOBALS"}["bwrbpeaerkw"] = "viewed";
         ${$bxvdpxms} = Db::getInstance()->ExecuteS(${${"GLOBALS"}["fajsjwqsq"]});
         $uxbjomkm = "viewed";
         if (!empty(${$uxbjomkm})) {
             $this->context->cookie->viewed = implode(",", AgileHelper::retrieve_column_values(${${"GLOBALS"}["bwrbpeaerkw"]}, "id_product", false));
         } else {
             $this->context->cookie->viewed = "";
         }
     }
 }