registrace zpustena
This commit is contained in:
@@ -65,9 +65,9 @@ if(isset($_GET['write_success'])){
|
||||
<!-- Trigger/Open the Modal -->
|
||||
<button onclick="document.getElementById('id01').style.display='block'" class="w3-button w3-round-xlarge w3-border w3-border-black w3-xxlarge w3-green w3-padding-16 w3-hover-black">Přihlaš se</button>
|
||||
</div>
|
||||
<div class="w3-padding w3-green w3-display-middle">
|
||||
<!--<div class="w3-padding w3-green w3-display-middle">
|
||||
Registrace od 1.3.2024
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-twothird w3-padding-large">
|
||||
|
||||
@@ -38,18 +38,19 @@ if($unique_email){
|
||||
while($racer = $result->fetch_assoc()) {
|
||||
$racers[] = $racer;
|
||||
}
|
||||
$write_success = ["result"=> True, "reason" => "Prihlaseno"];
|
||||
$write_success = ["result"=> True, "reason" => "Přihlášeno"];
|
||||
$logged_racer = $racers[0];
|
||||
// Must send email somehow. :-)
|
||||
}
|
||||
else{
|
||||
$write_success = ["result"=> False, "reason" => "Error: Duplikatni zaznam zavodnika, napis Ventilovi"];
|
||||
$write_success = ["result"=> False, "reason" => "Error: Duplikátní záznam závodnika, napiš Ventilovi"];
|
||||
}
|
||||
} else {
|
||||
$write_success = ["result"=> False, "reason" => "Error: " . $stm . ": " . $conn->error];
|
||||
}
|
||||
}
|
||||
else {
|
||||
$write_success = ["result"=> False, "reason" => "Zavodnik_s_timto_emailem_uz_existuje"];
|
||||
$write_success = ["result"=> False, "reason" => "Závodník s tímto emailem už existuje"];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user