From 46ad349dec43d9654ccb3bf6d8df10169481b68b Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 7 Sep 2024 06:56:07 -0400 Subject: [PATCH] blog data --- app/Controllers/Home.php | 14 +- app/Views/welcome_message.php | 264 ++++++++++++++++++++-------------- 2 files changed, 171 insertions(+), 107 deletions(-) diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index 5934333..e9c1a5d 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -6,6 +6,18 @@ class Home extends BaseController { public function index(): string { - return view('welcome_message'); + + $siteData =[]; + //http://10.204.5.100:9083/en/wrench/api/v1/blogdata + // $out = $this->APIcall('GET','http://10.204.5.100:9083/en/wrench/api/v1/blogdata',[]); + $out = $this->APIcall('GET','http://10.10.10.35:8805/blogdata/sanyaameye',[]); + var_dump($out); + //exit(); + $siteData['blogdata'] = $out['payload']['blogdata']; + $siteData['blog_media_url'] = $out['payload']['image_url']; + //var_dump($siteData); + // exit; + + return view('welcome_message',$siteData); } } diff --git a/app/Views/welcome_message.php b/app/Views/welcome_message.php index 4a557f9..df5e451 100644 --- a/app/Views/welcome_message.php +++ b/app/Views/welcome_message.php @@ -921,6 +921,8 @@ + +
@@ -929,15 +931,20 @@

We embrace holistic development and support for the aim of being a first-choice employer within our sectors.

+ + -
- -
-
- -
+
+

+ +

+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + @@ -1105,7 +1157,7 @@ Legal Issues
  • - AttorneysHiring + Attorneys
  • @@ -1187,9 +1239,9 @@