From 03197bd92669cdc6989ec60edcc7566aec0c64b8 Mon Sep 17 00:00:00 2001 From: Trygve Date: Wed, 29 Oct 2025 21:54:11 +0100 Subject: [PATCH] =?UTF-8?q?Sm=C3=A5fikser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin.php | 2 +- api/runner.php | 2 +- api/table.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin.php b/admin.php index ffacf07..64075a8 100644 --- a/admin.php +++ b/admin.php @@ -36,7 +36,7 @@ -
+
diff --git a/api/runner.php b/api/runner.php index 59b9293..a9819b5 100644 --- a/api/runner.php +++ b/api/runner.php @@ -11,7 +11,7 @@ if ($method == "POST") { $club = $_POST['club']; $course = $_POST['course']; - $line = $runner_id . ";;" . $name . ";;;" . $club . ";" . $course . "\n;;"; + $line = $runner_id . ";;" . $name . ";;;" . $club . ";" . $course . ";;;\n"; $password = $_POST['password']; if (!password_verify($password, $hash)) { diff --git a/api/table.php b/api/table.php index cb15e76..16b8f63 100644 --- a/api/table.php +++ b/api/table.php @@ -37,7 +37,7 @@ function registration_table($runners) { } if (count($runners) == 0) { $runner_id = $query["filter"]; - $response = "
Fant ingen løper med dette startnummeret. Registrer likevell?
"; + $response = "
Fant ingen løper med dette startnummeret. Registrer likevell?
"; echo($response); } else { @@ -63,16 +63,16 @@ function registration_table($runners) { if ($runner->get_control() == $matpost-1) { // Løperen har vært på denne matposten og vi farger raden grønn - $button = ""; + $button = ""; $cssclass = "class=\"bg-success\""; } elseif ($runner->get_control() > $matpost-1) { // Løperen har vært på denne matposten og vi farger raden grønn - $button = ""; + $button = ""; $cssclass = "class=\"bg-active\""; } else { - $button = ""; + $button = ""; $cssclass = ""; } echo ("$runner->id$runner->name$tid_passering$button\n");