$body_class = 'index'; if ($controller == 'login' || $controller == 'register') { $body_class = 'authentication'; } if ($controller == 'account') { $body_class = 'my-account'; } if ($controller == 'profile' || $controller == 'payments' || $controller == 'order-view') { $body_class = 'identity'; } ?>