Time Used:
<%= sprintf("%d:%02d:%02d", int($timer->{elapsed_seconds} / 3600), int(($timer->{elapsed_seconds} % 3600) / 60), $timer->{elapsed_seconds} % 60) %>
Remaining:
<% if ($timer->{remaining_seconds} > 0) { %>
<%= sprintf('%02d:%02d:%02d', int($timer->{remaining_seconds} / 3600), int(($timer->{remaining_seconds} % 3600) / 60), $timer->{remaining_seconds} % 60) %>
<% } elsif ($timer->{remaining_seconds} < 0) { %>
-<%= sprintf('%02d:%02d', int(abs($timer->{remaining_seconds}) / 3600), int((abs($timer->{remaining_seconds}) % 3600) / 60)) %> OVER
<% } else { %>
EXPIRED
<% } %>
Daily Limit:
<%= int($timer->{limit_seconds} / 60) %> minutes
% if ($timer->{bonus_seconds} && $timer->{bonus_seconds} > 0) {
ð Bonus Time:
+<%= int($timer->{bonus_seconds} / 60) %> minutes
% }
% if ($timer->{is_running}) {
% } elsif ($timer->{is_paused}) {
% } else {
% if ($timer->{remaining_seconds} > 0) {
% } else {
% }
% }
% }
% if ($timer->{remaining_seconds} <= 0) {