Fix some broken admin report counters.
Migrate some smarty code to v3.
TODO: test that it works well in v2 too.


git-svn-id: http://voronet.francu.com/repos/DEX@911 8d550267-2627-4c68-899f-85492a8dd5ca