[in outbox.tpl line 28]: syntax error: invalid attribute name: '='
check line 28 in outbox.tpl for an equal sign that shouldn't be there.

if you have {if $total ne="0"} take out the "=" so that it looks like this: {if $total ne "0"}