Backend für Modals hinzugefügt

This commit is contained in:
R40fendt
2025-06-16 21:42:22 +02:00
parent b0c810ac94
commit db064b36c0
6 changed files with 173 additions and 20 deletions

View File

@@ -65,9 +65,10 @@ if ($responseData!=null) {
}
if($spieltag>=34){
$spieltag=getmaxspieltag()+1;
if(srowforeach("SELECT COUNT(*) from `buli-results` where spieltag=?;",[$spieltag-1])[0][0]<9) $spieltag--;
if($spieltag<=34){
$response = file_get_contents("https://api.openligadb.de/getmatchdata/bl".$bundesliga."/".$year."/".$spieltag, false);