diff --git a/app/includes/header.php b/app/includes/header.php
index 45ef664..3117e23 100644
--- a/app/includes/header.php
+++ b/app/includes/header.php
@@ -10,7 +10,7 @@
-
+
@@ -34,10 +34,14 @@
Home
- New request
+ New request
- Existing requests
+ Existing requests
diff --git a/app/public/index.php b/app/public/index.php
index 858585b..ee308be 100644
--- a/app/public/index.php
+++ b/app/public/index.php
@@ -3,8 +3,8 @@
require_once __DIR__ . "/../includes/header.php";
if (is_signed_in()) {
- $requests = get_my_open_requests($db);
- $subscriptions = get_open_subscribed_requests($db);
+ $requests = get_my_open_requests($db);
+ $subscriptions = get_open_subscribed_requests($db);
}
?>
@@ -12,8 +12,8 @@
" . $alert[1] . "
@@ -23,7 +23,7 @@
");
- unset($alert);
+ unset($alert);
}
?>
@@ -33,7 +33,11 @@
Welcome to
is the one-stop shop for all of your IT-related needs. Let us know how we can help you by opening a request.
@@ -59,10 +63,10 @@
No open tickets");
+ echo("No open tickets");
} else {
- foreach($requests as $tkt) {
- ?>
+ foreach ($requests as $tkt) {
+ ?>
-
-
+
@@ -89,9 +95,9 @@
No subscribed tickets");
+ echo("No subscribed tickets");
} else {
- foreach($subscriptions as $sub) { ?>
+ foreach ($subscriptions as $sub) { ?>
-
-
+