From 1180687f951cbb0ebf1b2fd9e22df5b2a20fea9b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 3 Apr 2021 11:34:24 +0300 Subject: Made job offers show all info --- src/controllers/DashboardController.php | 6 ++++++ src/controllers/LandingController.php | 6 ++++++ src/views/dashboard.php | 2 +- src/views/landing.php | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/controllers/DashboardController.php b/src/controllers/DashboardController.php index 5bd26d4..548f60b 100644 --- a/src/controllers/DashboardController.php +++ b/src/controllers/DashboardController.php @@ -1,11 +1,17 @@ id] = $company->name; + } include "views/dashboard.php"; } diff --git a/src/controllers/LandingController.php b/src/controllers/LandingController.php index aa28505..ffa8644 100644 --- a/src/controllers/LandingController.php +++ b/src/controllers/LandingController.php @@ -1,10 +1,16 @@ id] = $company->name; + } include "views/landing.php"; } } diff --git a/src/views/dashboard.php b/src/views/dashboard.php index 2312419..9060317 100644 --- a/src/views/dashboard.php +++ b/src/views/dashboard.php @@ -1,6 +1,6 @@ id} {$job->title} + echo "{$job->id} {$job->title} {$job->description} " . self::$companies[$job->companyId] . " {$job->salary}
id}\"> diff --git a/src/views/landing.php b/src/views/landing.php index d794d93..1bd679c 100644 --- a/src/views/landing.php +++ b/src/views/landing.php @@ -2,7 +2,7 @@ id} {$job->title}
"; + echo "{$job->title} {$job->description} " . self::$companies[$job->companyId] . " {$job->salary}
"; } ?> -- cgit v1.3.1-23-gd82d