Datenstand V1.0

This commit is contained in:
2016-07-05 20:38:34 +00:00
parent 5a75f609e5
commit 5ea463a308
1027 changed files with 141480 additions and 0 deletions

21
inhalte/aktivierung.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
$sql = "SELECT ID FROM Firma WHERE Aktivierung = \"".$_GET['code']."\";";
$result = $db->query($sql);
if ($nt = $result->fetch_assoc()) {
$sql = "UPDATE Firma SET
Aktivierung = \"\"
WHERE
ID = \"".$nt['ID']."\";";
$stmt = $db->prepare($sql);
if (!$stmt) {
die ('Aktivierung war nicht erfolgreich: '.$db->error);
}
if (!$stmt->execute()) {
die ('Aktivierung war nicht erfolgreich: '.$stmt->error);
}
}
echo "<h1>Herzlichen Glückwunsch</h1>\n";
echo "<h2>Die Aktivierung Ihres Produkts war erfolgreich!</h2>\n";
echo "<p>Hier gehts zum Kunden Login: <a href=\"https://startup.ri-st.de\" target=\"_blank\">Kunden Login</a></p>\n";
echo "<p>Zur R!ST Homepage: <a href=\"http://www.ri-st.de\" target=\"_blank\">R!ST Homepage</a></p>\n";
?>