\ No newline at end of file
diff --git a/components/admin/users_list.php b/components/admin/users_list.php
new file mode 100644
index 0000000..3adefdc
--- /dev/null
+++ b/components/admin/users_list.php
@@ -0,0 +1,30 @@
+
+
+
+
#
+
Email
+
First Name
+
Last Name
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/homepage/line.php b/components/homepage/line.php
index a8ce6a9..a2aee3b 100644
--- a/components/homepage/line.php
+++ b/components/homepage/line.php
@@ -10,7 +10,7 @@
foreach ($favoriteStops as $stop) {
$stop_name = getStopName($stop['stopId']);
- include 'components/homepage/stop.php';
+ include 'stop.php';
if (count($favoriteStops) > 1) {
echo '';
}
diff --git a/components/homepage/main.php b/components/homepage/main.php
index 4a8350a..414aa66 100644
--- a/components/homepage/main.php
+++ b/components/homepage/main.php
@@ -38,7 +38,7 @@ $lineIds = $query->fetchAll(PDO::FETCH_COLUMN);
-
+
@@ -72,7 +72,7 @@ document.addEventListener('DOMContentLoaded', function() {
var action = this.classList.contains('add-stop') ? 'add' : 'remove';
var buttonElement = this;
- fetch('/endpoints/updateFavorite.php', {
+ fetch('/updateFavorite.php', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
diff --git a/components/register/main.php b/components/register/main.php
index dda6fad..96ac001 100644
--- a/components/register/main.php
+++ b/components/register/main.php
@@ -1,8 +1,6 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/structure/main.php b/components/structure/main.php
similarity index 76%
rename from structure/main.php
rename to components/structure/main.php
index a821d8a..0ec7994 100644
--- a/structure/main.php
+++ b/components/structure/main.php
@@ -1,7 +1,7 @@
@@ -22,7 +22,7 @@ include 'services/db.php';
-
+