'link.php', 'name' => get_lang('Links')); $frame = ''; $js = ""; $tpl->assign('content', $js.$frame); $tpl->display_one_col_template(); } else { $link_url = html_entity_decode(Security::remove_XSS($_GET['link_url'])); // Launch event event_link($linkId); header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 header("Location: $link_url"); // To be sure that the script stops running after the redirection exit; }