That is kind of weird. What you got in your messages is the code of phpBB possibly version 2.0.12.
Now what it is doing in your messages I don't know. Maybe that is related to you upgrade problem.
Anyway if you want to check it out it is in includes/usercp_confirm.php.