1 2 3 4 5 6
<?php if ($user) { _view("nav_logged_in", ["user" => $user]); } else { _view("nav_guest"); }