{foreach $CRONSTATUS as $k=>$v} {include file="global/block_header.tpl" BLOCK_HEADER="$k"} {foreach $v as $event} {/foreach}
Event Name Status
{$event.NAME} {if $event.STATUS.type == 'okerror'} {if $event.STATUS.value == 0} OK {else} ERROR {/if} {else if $event.STATUS.type == 'message'} {$event.STATUS.value} {else if $event.STATUS.type == 'yesno'} {if $event.STATUS.value == 1} Yes {else} No {/if} {else if $event.STATUS.type == 'time'} {$event.STATUS.value|number_format:"2"} seconds {else} {$event.STATUS.value} {/if}
{include file="global/block_footer.tpl"} {/foreach}