From 4f9cb46f0fc5d75f3da005eddbe6d60f1ef4f17b Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Tue, 11 Feb 2020 21:17:42 -0500 Subject: [PATCH] fix --- www/application/controllers/Auth.php | 2 ++ www/application/controllers/Home.php | 24 +++++++++++++----- www/application/views/home/home.php | 38 ++++++++++++++-------------- 3 files changed, 38 insertions(+), 26 deletions(-) diff --git a/www/application/controllers/Auth.php b/www/application/controllers/Auth.php index e2f1344..f4112d7 100644 --- a/www/application/controllers/Auth.php +++ b/www/application/controllers/Auth.php @@ -115,5 +115,7 @@ class Auth extends Start_Controller { public function logout() { $this->index(); } + + } diff --git a/www/application/controllers/Home.php b/www/application/controllers/Home.php index 5c69dbc..447f1ef 100644 --- a/www/application/controllers/Home.php +++ b/www/application/controllers/Home.php @@ -2,11 +2,11 @@ defined('BASEPATH') OR exit('No direct script access allowed'); -class Home extends CI_Controller { +class Home extends Start_Controller { public function index() { - $this->load->view('home/home'); - // redirect("auth/index"); + $data=[]; + $this->viewHomePages("view_reset_password",$data); } public function security() { @@ -25,11 +25,21 @@ class Home extends CI_Controller { } - public function terms(){ + public function terms() { + + } + + public function contatus() { } - public function contatus(){ - + private function viewHomePages($page_name,$data) { + //$this->load->view('home/home'); + //echo "START RESET 1"; + $this->load->view('auth/view_head'); + $this->load->view('auth/'.$page_name, $data); + $this->load->view('auth/view_foot'); } -} + + +} \ No newline at end of file diff --git a/www/application/views/home/home.php b/www/application/views/home/home.php index aca806a..4a742d8 100644 --- a/www/application/views/home/home.php +++ b/www/application/views/home/home.php @@ -109,13 +109,13 @@
- + Apple Google Play - - - - + + + +
@@ -262,7 +262,7 @@ - + @@ -404,21 +404,21 @@ - - +