= $tr["page_title"]["puzzles"] . $team_id ?>
= $tr["puzzles"]["message"]?>
pdo_teams->prepare("SELECT * FROM teams WHERE id == :id"); $stmt->bindValue(":id", $team_id); $stmt->execute(); if (empty($stmt->fetchAll())) { header("Location: index.php"); die(); } else { $stmt = $database->pdo_article->prepare("SELECT * FROM puzzles"); $stmt->execute(); $puzzles = $stmt->fetchAll(); } } else { header("Location: index.php"); die(); } ?>
= $tr["puzzles"]["message"]?>