diff --git a/dashboard.php b/dashboard.php index f640c5e..3ae3842 100644 --- a/dashboard.php +++ b/dashboard.php @@ -1,86 +1,43 @@ prepare('SELECT s.name, s.description FROM services s JOIN user_services us ON s.id = us.service_id WHERE us.user_id = ?'); +$p->execute([$user_id]); +$services = $p->fetchAll(); + ?> -
This is your central hub to manage your account and services. More features will be added soon.
-You are not subscribed to any services yet.
"; - } - ?> -Welcome to your dashboard. Here are the services you are subscribed to:
$ /
- Subscribe + +You are not subscribed to any services yet.
+This is where the email newsletter functionality would be.
+You could have a list of past newsletters here, or a form to manage your subscription preferences.
+This is where the SMS notification functionality would be.
+You could have a form here to send an SMS, or view a history of sent messages.
+This is where the voice call functionality would be.
+You could have a feature to initiate calls, or view your call history.
+Browse our available services and subscribe to the ones you need.
+ +