You are allowed to bump your thread after 24 hours. Please don't double post it
https://vborg.vbsupport.ru/showthread.php?t=58455
Anyway:
Replace
PHP Code:
$showheadlines = getHeadlines();
with
PHP Code:
eval("\$showheadlines = \"".gettemplate('templatename')."\";");
then add the template with the code in, $showheadlines will then be called in index.php (Don't forget to add the templatename to $templatesused as well

)