<{foreach from=$timeLine key=utime item=t}>
<{if $t.active}>
<{if $t.disp eq 1}><{$utime|date_format:"%H:%M"}><{else}> <{/if}>
<{if $t.event}>
<{math equation="floor(1 / x * 99.5)" x=$t.event|@count assign=tagw}>
<{foreach from=$t.event item=e}>
<{/foreach}>
<{/if}>
<{/if}>
<{/foreach}>