$(if refresh-timeout) $(endif)

$(if login-by == 'trial')
Welcome trial user!
$(elif login-by != 'mac')
Welcome $(username)!
$(endif)
IP address: | $(ip)
bytes up/down: | $(bytes-in-nice) / $(bytes-out-nice)
$(if session-time-left)
connected / left: | $(uptime) / $(session-time-left)
$(else)
connected: | $(uptime)
$(endif) $(if blocked == 'yes')
status: | advertisement required $(elif refresh-timeout)
status refresh: | $(refresh-timeout) $(endif)
$(if login-by-mac != 'yes') $(endif)