I'm not really sure what you are looking for here.
You have identified that using a php if ..else construct allows you to choose whether or not to show certain areas on the screen.
If you have a lot of if...else blocks, then consider using the switch statement instead, it improves readability and is easier.
http://www.tizag.com/phpT/switch.php