From b949c910ea97722dae79f24a034b0200423b743b Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sat, 19 Feb 2022 23:45:05 -0500 Subject: [PATCH] fix --- www/application/controllers/Member.php | 6 +- www/application/controllers/Paymnt.php | 23 ++++++ www/application/views/users/view_balance.php | 2 +- www/application/views/users/view_settings.php | 75 +++++++++++++++---- .../views/users/view_startpaymus.php | 66 ++++++++++++++++ 5 files changed, 155 insertions(+), 17 deletions(-) create mode 100644 www/application/controllers/Paymnt.php create mode 100644 www/application/views/users/view_startpaymus.php diff --git a/www/application/controllers/Member.php b/www/application/controllers/Member.php index a8c006be..6aa8731f 100644 --- a/www/application/controllers/Member.php +++ b/www/application/controllers/Member.php @@ -1187,9 +1187,11 @@ class Member extends Users_Controller { public function settings() { $data = $this->getSessionArray(); - $this->load->view('users/view_header_user', $data); + /* $this->load->view('users/view_header_user', $data); $this->load->view('users/view_settings', $data); - $this->load->view('users/view_footer_user', $data); + $this->load->view('users/view_footer_user', $data);*/ + + $this->RenderUserPage('users/view_settings', $data); } private function AgetSessionArray() { diff --git a/www/application/controllers/Paymnt.php b/www/application/controllers/Paymnt.php new file mode 100644 index 00000000..c4017895 --- /dev/null +++ b/www/application/controllers/Paymnt.php @@ -0,0 +1,23 @@ +getSessionArray(); + if (!isset($_SESSION['username']) or $_SESSION['username'] == '') { + redirect(home); + } else { + + } + } + + public function paymus() { + + $data = $this->getSessionArray(); + + + $this->RenderUserPage('users/view_startpaymus', $data); + } + +} diff --git a/www/application/views/users/view_balance.php b/www/application/views/users/view_balance.php index 7f13e109..0f8052f2 100644 --- a/www/application/views/users/view_balance.php +++ b/www/application/views/users/view_balance.php @@ -93,7 +93,7 @@ - + Add Fund diff --git a/www/application/views/users/view_settings.php b/www/application/views/users/view_settings.php index 2172dba0..410fcd63 100644 --- a/www/application/views/users/view_settings.php +++ b/www/application/views/users/view_settings.php @@ -1,19 +1,66 @@ -
+ + +
+ +
+ +
+ +
+

+ Account Settings + Last updated: +

+
- - - -
-
- - - - - +
+
+ + +
+ + + +
+
+
- -
- + + +
+ +
+ +
+

+ . + . +

+
+ +
+
+ + +
+
+ +
+ + + +
+ + +
+
+ +
+ +
+ +
+ diff --git a/www/application/views/users/view_startpaymus.php b/www/application/views/users/view_startpaymus.php new file mode 100644 index 00000000..410fcd63 --- /dev/null +++ b/www/application/views/users/view_startpaymus.php @@ -0,0 +1,66 @@ + + + +
+ +
+ +
+ +
+

+ Account Settings + Last updated: +

+
+ +
+
+ + +
+ + + +
+ +
+ +
+ + +
+ +
+ +
+

+ . + . +

+
+ +
+
+ + +
+
+ +
+ + + +
+ + +
+
+ +
+ +
+ +
+ +