<!-- TMPL_IF NAME="hilighted" --><td class="hilighted"><!-- TMPL_ELSE --><td><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="rowtitle" --></td>
<!-- TMPL_LOOP NAME="loopcell" -->
- <!-- TMPL_IF NAME="hilighted" --><td class="numberhilighted"><!-- TMPL_ELSE --><td class="number"><!-- /TMPL_IF -->
- <!-- TMPL_VAR NAME="value" -->
- </td>
+ <!--TMPL_IF NAME="value" -->
+ <!-- TMPL_IF NAME="hilighted" --><td class="numberhilighted"><!-- TMPL_ELSE --><td class="number"><!-- /TMPL_IF -->
+ <!-- TMPL_VAR NAME="value" -->
+ </td>
+ <!--TMPL_ELSE-->
+ <!-- TMPL_IF NAME="hilighted" --><td class="numberhilighted"><!-- TMPL_ELSE --><td class="number"><!-- /TMPL_IF -->
+
+ </td>
+ <!--/TMPL_IF-->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="hilighted" --><td class="numberhilighted"><!-- TMPL_ELSE --><td class="number"><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="totalrow" -->
my %cell;
if ($celvalue) {
$cell{rowtitle} = $celvalue;
- } else {
- $cell{rowtitle} = "";
+# } else {
+# $cell{rowtitle} = "";
}
$cell{totalrow} = 0;
push @loopline, \%cell;
my %ft;
if ($celvalue) {
$cell{coltitle} = $celvalue;
- } else {
- $cell{coltitle} = "";
+# } else {
+# $cell{coltitle} = "";
}
$ft{totalcol} = 0;
push @loopcol, \%cell;
# and the number matches the number of columns
foreach my $col ( @loopcol ) {
my $value =$table{$row}->{($col->{coltitle} eq "NULL")?"zzEMPTY":$col->{coltitle}};
- push @loopcell, {value => ($value)?$value:"" } ;
+ push @loopcell, {value => $value } ;
}
push @looprow,{ 'rowtitle' => ($row eq "zzEMPTY")?"NULL":$row,
'loopcell' => \@loopcell,