ISS in die Monatsvorhersage eingebaut

This commit is contained in:
Eskimue
2026-04-04 14:16:10 +02:00
parent 5cc3f57b1c
commit 08de43621e
8 changed files with 852 additions and 7 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
$_SESSION = ['user_id' => 1];
$_GET['month'] = '4';
$_GET['year'] = '2026';
ob_start();
require __DIR__ . '/../public/monatsvorhersage_old.php';
$html = ob_get_clean();
if (preg_match_all('/<span class="riseset-val">(.*?)<\/span>\s*<span class="riseset-val">(.*?)<\/span>\s*<span class="riseset-val">(.*?)<\/span>/s', $html, $m)) {
echo 'rendered', PHP_EOL;
} else {
echo 'rendered-no-match', PHP_EOL;
}