From fcc5a60f2c09a3b720a60d66a5e65e102fe395d4 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 16 Sep 2024 10:15:04 -0400 Subject: [PATCH] new page --- app/Config/Routes.php | 2 +- app/Controllers/Home.php | 7 + app/Views/welcome_message.php | 357 +++++++++++++++------------------- 3 files changed, 163 insertions(+), 203 deletions(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index fc4914a..c08c763 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -5,4 +5,4 @@ use CodeIgniter\Router\RouteCollection; /** * @var RouteCollection $routes */ -$routes->get('/', 'Home::index'); +$routes->get('/(:any)/(:any)', 'Home::promoIndex/$2/$1'); diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index 5934333..6702830 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -8,4 +8,11 @@ class Home extends BaseController { return view('welcome_message'); } + + public function promoIndex($promo,$promoOwner=''):string{ + echo $promo; + echo $promoOwner; + + return view('welcome_message'); + } } diff --git a/app/Views/welcome_message.php b/app/Views/welcome_message.php index 104ae4f..349e26f 100644 --- a/app/Views/welcome_message.php +++ b/app/Views/welcome_message.php @@ -1,208 +1,161 @@ - - + + - - Welcome to WrenchBoard - - - - - - - + - -
- WrenchBoard -
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + + +
+ WrenchBoard +
+ {{site_trade_name}} +
+
+
+ + + + + + + + + + + + + + + + + + + + +
+ Dear {{firstname}}, +
+    Welcome to {{site_name}}; please follow the link below to learn about our opportunities. +
+
+
+ Click here to view opportunities +
+ +
+   We value your privacy. If you did not initiate this account creation or have any further support questions, don't hesitate to get in touch with us at {{server_name}}/contact
+
+ +
+ + + + + +
+ + Apple + + + + Android + +
+
+
+ {{site_name}} Team +
+ {{server_name}} +
+
- + \ No newline at end of file