diff options
Diffstat (limited to 'h-source/Application/Views/Desktop/right.php')
-rw-r--r-- | h-source/Application/Views/Desktop/right.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/h-source/Application/Views/Desktop/right.php b/h-source/Application/Views/Desktop/right.php index 352386a..0e6c22a 100644 --- a/h-source/Application/Views/Desktop/right.php +++ b/h-source/Application/Views/Desktop/right.php @@ -136,12 +136,16 @@ </div> <table width="100%"> - <?php foreach ($stat as $type => $number) { ?> + <?php $total_number=0;foreach ($stat as $type => $number) { $total_number+=$number; $type=displayName($type);?> <tr> - <td><?php echo $type;?></td> - <td><?php echo "<b>".$number."</b>";?></td> + <td><?php echo gtext($type);?></td> + <td align="right"><?php echo "<b>".$number."</b>";?></td> </tr> <?php } ?> + <tr> + <td><?php echo gtext("<b>TOTAL</b>");?></td> + <td align="right"><?php echo "<b>".$total_number."</b>";?></td> + </tr> </table> <div class="statistics_hard_title"> |