[ticket/12837] Detect "viewing contact admin page" on viewonline

https://tracker.phpbb.com/browse/PHPBB3-12837
PHPBB3-12837
we use `else if`