if ($param1 === 'games' && !empty($param2)) { // Removed try-catch for debugging $stmt = $con->prepare("SELECT name, name_german, description FROM games WHERE slug = :slug"); $stmt->execute(['slug' => $param2]); $game = $stmt->fetch(PDO::FETCH_ASSOC); if ($game) { $gameName = htmlspecialchars($game['name_german'] ?: $game['name'], ENT_QUOTES, 'UTF-8'); $prefix = ''; if (!empty($param3)) { switch ($param3) { case 'test': $prefix = 'Test: '; break; case 'news': $prefix = 'News: '; break; case 'media': $prefix = 'Bilder & Videos: '; break; case 'guides': $prefix = 'Guides: '; break; } } $titel = $prefix . $gameName . ' - MPERIALS.com'; if (!empty($game['description'])) { $metaDescription = htmlspecialchars($game['description'], ENT_QUOTES, 'UTF-8'); } $ogSection = 'Games'; } else { // Debug fallback // $titel = "Game not found ($param2) - MPERIALS.com"; } } if ($imagefile === '') { $imagefile = basename($defaultImage); } ?> MPERIALS.com
Dig Out

Dig Out

Plattform PC
Release n.n.b.

News

Es gibt noch keine News zu Dig Out.