Hotspot Status

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