2428 |
robert |
1 |
<!-- Dashboard Widget -->
|
|
|
2 |
|
1274 |
robert |
3 |
<div id="<?php echo $this->view['modul_name']; ?>_totals">
|
|
|
4 |
|
6015 |
daniel |
5 |
<style type="text/css" scoped>
|
|
|
6 |
|
|
|
7 |
/* Statistikmodul */
|
|
|
8 |
.wpsg_mod_statistics_totals_row { width:100%; }
|
|
|
9 |
.wpsg_mod_statistics_totals_block { float:left; width:auto; text-align:center; font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; }
|
|
|
10 |
.wpsg_mod_statistics_totals_block .number { font-size:18px; color:#21759B; display:block; padding-bottom:10px; padding-top:5px; }
|
|
|
11 |
.wpsg_mod_statistics_totals_block .label { font-size:16px; color:#8F8F8F; display:block; padding-bottom:5px; }
|
|
|
12 |
.wpsg_mod_statistics_totals_block .label a { color:#8F8F8F; border-bottom:1px solid #ECECEC; padding-left:10px; padding-right:15px; padding-bottom:5px; }
|
|
|
13 |
.subsubsub #table-data .th-right span { float:right; }
|
|
|
14 |
.subsubsub #table-data .td-right { text-align:right; }
|
|
|
15 |
.wpsg_clear { clear:both; }
|
|
|
16 |
|
|
|
17 |
</style>
|
|
|
18 |
|
1274 |
robert |
19 |
<?php foreach((array)$this->view['rows'] as $rows) { ?>
|
|
|
20 |
<div class="<?php echo $this->view['modul_name']; ?>_totals_row">
|
|
|
21 |
<?php foreach ($rows as $index => $value) { ?>
|
|
|
22 |
<div class="<?php echo $this->view['modul_name']; ?>_totals_block" style="width:<?php echo 100/count($rows); ?>%">
|
2304 |
robert |
23 |
<?php if (!preg_match('/####/', $index)) { ?>
|
1274 |
robert |
24 |
<span class="label"><a href="/" onclick="return false;"><?php echo $index; ?></a></span>
|
2304 |
robert |
25 |
<?php } ?>
|
|
|
26 |
<?php if (wpsg_isSizedString($value)) { ?>
|
1274 |
robert |
27 |
<span class="number"><?php echo $value; ?></span>
|
2304 |
robert |
28 |
<?php } ?>
|
1274 |
robert |
29 |
</div>
|
|
|
30 |
<?php } ?>
|
|
|
31 |
<div class="wpsg_clear"></div>
|
|
|
32 |
</div>
|
|
|
33 |
<?php } ?>
|
|
|
34 |
|
|
|
35 |
</div>
|