More missing PHP open tags

The various labels in the code were not being translated as <? was in
place rather than <?php. This has been fixed. The echo was also missed.