summaryrefslogtreecommitdiff
path: root/protected/extensions/wetter/views/wetter.php
blob: 5e81fd2900460a550a26e633ddc70be7a0dfa3d9 (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
<?php
    foreach(Yii::app()->user->getFlashes() as $key => $message) {
        echo '<div class="flash-' . $key . '">' . $message . "</div>\n";
    }
?>
						<div class="ym-grid linearize-level-2">
							<div class="ym-g50 ym-gl">
								<div class="ym-gbox-left">
									<!-- content -->

									
									<p><strong><?php echo $wetter['jetzt']['tag'];?></strong><br />
									<?php echo "<img class=\"float-right bordered\" src=\"https://www.google.com/images/weather/".$wetter['jetzt']['icon']."\" alt=\"".$wetter['jetzt']['zustand']."\" />"
									.$wetter['jetzt']['zustand']." bei ".$wetter['jetzt']['temperatur']."°C"; ?><br />Min. <?php echo $wetter['jetzt']['tiefsttemperatur']?>°C bis max. <?php echo $wetter['jetzt']['hoechsttemperatur']?>°C</p>
								</div>
							</div>
							<div class="ym-g50 ym-gr">
								<div class="ym-gbox-right">
									
									<p ><strong><?php echo $wetter['morgen']['tag'];?></strong><br />
									<?php echo "<img class=\"float-right bordered\" src=\"https://www.google.com/images/weather/".$wetter['morgen']['icon']."\" alt=\"".$wetter['morgen']['zustand']."\" />".$wetter['morgen']['zustand']." bei min. ".$wetter['morgen']['tiefsttemperatur']."°C bis max. ".$wetter['morgen']['hoechsttemperatur']."°C"; ?></p>
								</div>
							</div>
						</div>