That looks like template code... I want the content from:
CP -> Portal -> Custom Islands -> (Edit Island #1)
A blank one would look similar to:
/* PHP CODE HERE */
/* BODY HERE */
$body = <<<EOF
EOF;
If what you posted truly is your custom island code for island #1 it's grossly malformed and is why you're getting the error...