{{if $nav.login && !$userinfo}}
{{if $nav.loginmenu.1.4}} {{$nav.loginmenu.1.1}} {{else}} {{$nav.loginmenu.1.1}} {{/if}} {{if $nav.register}} {{$nav.register.1}} {{/if}}
{{else}}
{{if $name}}
{{$name}}
{{$sitelocation}}
{{/if}}
{{/if}}
{{if $channel_apps.0}} {{foreach $channel_apps as $channel_app}} {{$channel_app}} {{/foreach}} {{/if}} {{if $navbar_apps.0}} {{/if}} {{if $is_owner}}
{{foreach $nav_apps as $nav_app}} {{$nav_app}} {{/foreach}}
{{$addapps}} {{else}} {{foreach $nav_apps as $nav_app}} {{$nav_app}} {{/foreach}} {{/if}}
{{if $is_owner}} {{/if}}