{literal}Squasher
{foreach item=entry from=$logs.today key=id} {foreachelse} {/foreach} {foreach item=entry from=$logs.yesterday key=id} {foreachelse} {/foreach} {foreach item=entry from=$logs.lastweek key=id} {foreachelse} {/foreach} {foreach item=entry from=$logs.older key=id} {foreachelse} {/foreach}
Today
 {$entry.date}  {$entry.user_name}  {$entry.ip}  {$entry.action}  {$entry.file|substr:10:64}

Log is empty
Yesterday
 {$entry.date}  {$entry.user_name}  {$entry.ip}  {$entry.action}  {$entry.file|substr:10:64}

Log is empty
Last week
 {$entry.date}  {$entry.user_name}  {$entry.ip}  {$entry.action}  {$entry.file|substr:10:64}

Log is empty
Older
 {$entry.date}  {$entry.user_name}  {$entry.ip}  {$entry.action}  {$entry.file|substr:10:64}

Log is empty
{if $debug}{debug}{/if}