+ `;
+
+ toastContainer.insertAdjacentHTML('beforeend', toastHTML);
+ const toastElement = document.getElementById(toastId);
+ const toast = new bootstrap.Toast(toastElement, { delay: 5000 });
+ toast.show();
+ toastElement.addEventListener('hidden.bs.toast', () => {
+ toastElement.remove();
+ });
+}
diff --git a/db/setup.php b/db/setup.php
new file mode 100644
index 0000000..3d865b1
--- /dev/null
+++ b/db/setup.php
@@ -0,0 +1,20 @@
+exec($sql);
+} catch (PDOException $e) {
+ // In a real app, you'd log this error.
+ // For this example, we'll just ignore it if the table already exists.
+}
diff --git a/index.php b/index.php
index 7205f3d..217dd00 100644
--- a/index.php
+++ b/index.php
@@ -1,150 +1,139 @@
query("SELECT name, company, occupation, relation, created_at FROM attendees ORDER BY created_at DESC");
+ $attendees = $stmt->fetchAll(PDO::FETCH_ASSOC);
+} catch (PDOException $e) {
+ // Silently fail for now, or log error
+}
?>
-
+
-
-
- New Style
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ Belarusians Worldwide Friends
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
Analyzing your requirements and generating your website…
-
- Loading…
-
-
= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-
This page will update automatically as the plan is implemented.
-
Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>
+
+
+
+
+
+
Belarusians Worldwide Friends
+
A welcoming corner at Web Summit where Belarusian founders, engineers, investors, creatives, and ecosystem builders meet, share, and show that we keep building - wherever we are.
+
+
+
+
+
Join the Friends List
+
Leave your details to connect with the Belarusian tech community at Web Summit.