-
-
\ No newline at end of file
diff --git a/central.css b/central.css
index 7b8c026..192d1cb 100644
--- a/central.css
+++ b/central.css
@@ -128,7 +128,7 @@ th {
/* Specific elements for your pages */
/* You can add more specific styles here as needed */
-/* Example for the welcome message on index.php */
+/* Example for the welcome message on index.html */
.welcome-message {
margin-bottom: 20px;
font-size: 1.2em;
diff --git a/db_connection.php b/db_connection.php
deleted file mode 100644
index 51c55e1..0000000
--- a/db_connection.php
+++ /dev/null
@@ -1,60 +0,0 @@
-setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
-
- // Check if the User table exists
- $result = $db->query("SELECT name FROM sqlite_master WHERE type='table' AND name='User'");
- $userTableExists = $result->fetchColumn();
-
- if (!$userTableExists) {
- // Initialize the database structure
- $db->exec("
- CREATE TABLE User (
- id INTEGER PRIMARY KEY AUTOINCREMENT,
- vorname TEXT NOT NULL,
- nachname TEXT NOT NULL,
- username TEXT UNIQUE NOT NULL,
- password TEXT NOT NULL
- )
- ");
-
- $db->exec("
- CREATE TABLE Restaurant (
- id INTEGER PRIMARY KEY AUTOINCREMENT,
- name TEXT NOT NULL,
- maps_link TEXT
- )
- ");
-
- $db->exec("
- CREATE TABLE Bewertung (
- id INTEGER PRIMARY KEY AUTOINCREMENT,
- fk_user_id INTEGER NOT NULL,
- fk_restaurant_id INTEGER NOT NULL,
- bewertung INTEGER NOT NULL CHECK (bewertung BETWEEN 0 AND 10),
- bewertung_str TEXT,
- FOREIGN KEY (fk_user_id) REFERENCES User(id),
- FOREIGN KEY (fk_restaurant_id) REFERENCES Restaurant(id)
- )
- ");
-
- echo "
Database initialized successfully!
";
- } else {
- // Optionally, you can add a message indicating the database already exists
- // echo "
+
+
+
\ No newline at end of file
diff --git a/htmls/chart.html b/htmls/chart.html
new file mode 100644
index 0000000..0b359ab
--- /dev/null
+++ b/htmls/chart.html
@@ -0,0 +1,81 @@
+
Restaurant Tier List
+
+
+
+
+
+
\ No newline at end of file
diff --git a/htmls/login.html b/htmls/login.html
new file mode 100644
index 0000000..6f52fbc
--- /dev/null
+++ b/htmls/login.html
@@ -0,0 +1,8 @@
+
Login
+
+
+
\ No newline at end of file
diff --git a/htmls/overview.html b/htmls/overview.html
new file mode 100644
index 0000000..4ef476c
--- /dev/null
+++ b/htmls/overview.html
@@ -0,0 +1,21 @@
+
Restaurant Overview
+
+
+
\ No newline at end of file
diff --git a/htmls/register_request.html b/htmls/register_request.html
new file mode 100644
index 0000000..7a9b248
--- /dev/null
+++ b/htmls/register_request.html
@@ -0,0 +1,47 @@
+
Request Account
+
+
+
+
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..b1f6481
--- /dev/null
+++ b/index.html
@@ -0,0 +1,268 @@
+
+
+
+
+
+ Restaurant Review Site
+
+
+
+
+