summaryrefslogtreecommitdiff
path: root/protected/extensions/wetter/views/wetter.php
blob: f03fff6c334786f9095b8aad54934e1bd5b50e15 (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
<?php /*
    foreach(Yii::app()->user->getFlashes() as $key => $message) {
        echo '<div class="flash-' . $key . '">' . $message . "</div>\n";
    }*/
?>
<h6>Das Wetter in <?php echo $wetter['Ort']; ?></h6>
<p>
<div class="ym-grid linearize-level-3">
	<div class="ym-g50 ym-gl">
		<div class="ym-gbox-left" style="padding-right: 55px;background-repeat:no-repeat;background-position:top right; background-image:url(<?php echo Yii::app()->request->baseUrl."/images/wetter".$wetter['jetzt']['icon'];?>);">

				<strong><?php echo $wetter['jetzt']['tag'];?></strong><br />
				<?php 
				//echo "<img class=\"float-right bordered\" src=\"".Yii::app()->request->baseUrl."/images/wetter".$wetter['jetzt']['icon']."\" alt=\"".$wetter['jetzt']['zustand']."\" />";
				
					echo $wetter['jetzt']['zustand']." bei ".$wetter['jetzt']['temperatur']."°C"; ?><br />Min. <?php echo $wetter['jetzt']['tiefsttemperatur']?>°C bis max. <?php echo $wetter['jetzt']['hoechsttemperatur']?>°C

		</div>
	</div>
	<div class="ym-g50 ym-gr">
		<div class="ym-gbox-right" style="padding-right: 55px;background-repeat:no-repeat;background-position:top right; background-image:url(<?php echo Yii::app()->request->baseUrl."/images/wetter".$wetter['morgen']['icon'];?>);">

				<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']."\" />";
				echo $wetter['morgen']['zustand']." bei min. ".$wetter['morgen']['tiefsttemperatur']."°C bis max. ".$wetter['morgen']['hoechsttemperatur']."°C"; ?>

		</div>
	</div>
</div>
</p>