DQmaker / admin

[% USE Comma %] [% WHILE (item = history.next) %] [% END # WHILE %]
History
date count
[% item.get_column('date') %] [% item.get_column('count') | comma %]
[% listing_text = { "0" => 'private', "1" => 'public (not checked)', "2" => 'public (checked)', } %] [% total = 0; WHILE (item = summary.next) %] [% total = total + item.get_column('count'); END # WHILE %]
Summary
listing count
[% item.listing %] - [% listing_text.${item.listing} %] [% item.get_column('count') | comma %]
total [% total | comma %]
Shotgun
Not checked yet
[% i = 0; WHILE (item = rs.next); i = i + 1 %]
...
[% END # WHILE %]