From 06641c0ac21b25ef6b674812eaa5b8f67485a020 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GBA0BK8\\Admin" Date: Sat, 1 Apr 2023 18:25:20 -0400 Subject: [PATCH] More projects --- app/Controllers/Projects.php | 7 +++++-- app/Models/projectData.php | 30 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/app/Controllers/Projects.php b/app/Controllers/Projects.php index 77b34a7..b269e8e 100644 --- a/app/Controllers/Projects.php +++ b/app/Controllers/Projects.php @@ -42,6 +42,8 @@ class Projects extends BaseController private function loginUser($username, $password, &$out) { + $projData = new \App\Models\projectData(); + $loginComplete = false; //entries sent if ($username == '' || $password == '') { @@ -64,9 +66,10 @@ class Projects extends BaseController 'lastName'=> $out['lastname'], 'firstName'=> $out['firstname'], 'username'=> $out['username'], - 'project_list' => $this->projectList(), - 'project_list_detail' => $this->projectListDetails(), + 'project_list' => $projData->projectList(), + 'project_list_detail' => $projData->projectListDetails(), 'devop_list' => $this->devOpList(), + 'project_document' => $projData->documentList() ]); } diff --git a/app/Models/projectData.php b/app/Models/projectData.php index 5fa17fa..4f01606 100644 --- a/app/Models/projectData.php +++ b/app/Models/projectData.php @@ -66,6 +66,12 @@ class projectData extends baseModel 'banner_image' => 'project_banner.jpg', 'product_url' => 'www.chiefsoft.com', ], + 'theblackfaces'=>[ + 'name' => 'Black Faces', + 'description' => 'African History Short Story Blog', + 'banner_image' => 'project_banner.jpg', + 'product_url' => 'https://www.theblackfaces.com', + ], ]; return $data; } @@ -580,6 +586,24 @@ class projectData extends baseModel ] ] ], + 'theblackfaces'=>[ + + 'LIVE'=>[ + 'description'=>'This is the description of this', + 'contents'=>[ + [ + 'name' => 'Blackfaces Blog Website', + 'description' => 'This is the description of the item', + 'banner_image' => 'project_banner.jpg', + 'url' => 'https://www.theblackfaces.com', + 'location'=> '0.0.0.0, 0.0.0.0, 0.0.0.0', + 'status' => 'Pending' + ], + + + ] + ] + ], 'legacyfloat'=>[ 'LIVE'=>[ 'description'=>'This is the description of this', @@ -731,6 +755,12 @@ class projectData extends baseModel 'document' => 'This is the link to the document', ], ], + 'theblackfaces'=>[ + [ + 'name' => 'myFit A.I', + 'document' => 'This is the link to the document', + ], + ], 'merms'=>[ [ 'name' => 'myFit A.I',