My guess is that the {U_REF} etc. stuff are references to variables which didn't get replaced correctly or something in the PHP code, but I'm not a PHP guy, so can't say for sure.

Yes, you can use the standard links if you want, but the reason why variables were used instead is to make it easier for everything to update should the site URL change, for example - that is, if they parsed correctly