CheckStat website counter

You need to replace _HOOK_ with the name of the function you’re using

Instead of
function _HOOK_() {

use:
function scripts() {

and also delete the indicated line: /* DELETE THIS LINE

And actually, since you’ve got a lot of single quote marks in there you’ll either need to escape them by placing a backslash \ in front of each one or use this alternative method for the script hook:

function scripts() {
echo <<<SCRIPT

....your code...

SCRIPT;
	return false;
} // END /**/

more about that method here: