Initial commit: Backup der Webseiten
- zoesch.de - blitzkiste.net - gruene-hassberge (norbert.zoesch.de) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
22
zoesch.de/preis/test.php
Normal file
22
zoesch.de/preis/test.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>EEX Forecast</title>
|
||||
<link rel="stylesheet" type="text/css" href="style/style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php
|
||||
$preise = simplexml_load_file('XML/PowerSpotMarketAuctionResults-2015-01-01.xml');
|
||||
$x=0;
|
||||
$y=1;
|
||||
foreach($preise->Prices->Area[1]->Hour as $prices) {
|
||||
settype($prices, "float");
|
||||
$prices_kWh = $prices / 10.0;
|
||||
$prices_format = number_format($prices_kWh, 3,',','.');
|
||||
echo $x++."-".$y++." Uhrzeit: $prices_format ct/kWh<br>";
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user