summaryrefslogtreecommitdiff
path: root/views/mods/mod_statistics/totals.phtml
blob: 9faa879f3463af9dafc53e4c9267cff5c6ff2509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!-- Dashboard Widget  -->

<div id="<?php echo $this->view['modul_name']; ?>_totals">

	<style type="text/css" scoped>
		
		/* Statistikmodul */
		.wpsg_mod_statistics_totals_row { width:100%; }
		.wpsg_mod_statistics_totals_block { float:left; width:auto; text-align:center; font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; }
		.wpsg_mod_statistics_totals_block .number { font-size:18px; color:#21759B; display:block; padding-bottom:10px; padding-top:5px; }
		.wpsg_mod_statistics_totals_block .label { font-size:16px; color:#8F8F8F; display:block; padding-bottom:5px; }
		.wpsg_mod_statistics_totals_block .label a { color:#8F8F8F; border-bottom:1px solid #ECECEC; padding-left:10px; padding-right:15px; padding-bottom:5px; }
		.subsubsub #table-data .th-right span { float:right; }
		.subsubsub #table-data .td-right { text-align:right; }
		.wpsg_clear { clear:both; }
		
	</style>
	
	<?php foreach((array)$this->view['rows'] as $rows) { ?>
	<div class="<?php echo $this->view['modul_name']; ?>_totals_row">
		<?php foreach ($rows as $index => $value) { ?>
		<div class="<?php echo $this->view['modul_name']; ?>_totals_block" style="width:<?php echo 100/count($rows); ?>%">
			<?php if (!preg_match('/####/', $index)) { ?>
			<span class="label"><a href="/" onclick="return false;"><?php echo $index; ?></a></span>
			<?php } ?>
			<?php if (wpsg_isSizedString($value)) { ?>
			<span class="number"><?php echo $value; ?></span>
			<?php } ?>
		</div>
		<?php } ?>
		<div class="wpsg_clear"></div>
	</div>
	<?php } ?>

</div>