From cf8c2131bdb54a495d98d6fad69cf7c95aad8ad3 Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Sat, 19 Feb 2022 10:08:54 -0500 Subject: [PATCH] www --- www/application/controllers/Member.php | 2 + www/application/controllers/Refer.php | 2 +- .../internal/template/view_securehead.php | 4 +- www/application/views/users/view_payment.php | 110 +++++++++++++++--- www/application/views/users/view_refer.php | 2 +- 5 files changed, 101 insertions(+), 19 deletions(-) diff --git a/www/application/controllers/Member.php b/www/application/controllers/Member.php index 1510748e..e2310407 100644 --- a/www/application/controllers/Member.php +++ b/www/application/controllers/Member.php @@ -1020,9 +1020,11 @@ class Member extends Users_Controller { $this->table->set_heading(array('data' => 'Date', 'style' => 'width:110px'), 'Description', array('data' => 'Amount', 'style' => 'width:100px'), array('data' => 'Fee', 'style' => 'width:70px'), array('data' => 'Confirmation', 'style' => 'width:100px')); $data['payment_result'] = $this->table->generate($query); + $data['payment_data_result'] = $query->result(); $data["links"] = $this->pagination->create_links(); // $this->load->view('users/view_header_user', $data); + $data['page_title'] ="Payments Report"; $this->RenderUserPage('users/view_payment', $data); // $this->load->view('users/view_footer_user', $data); } diff --git a/www/application/controllers/Refer.php b/www/application/controllers/Refer.php index 72f1e0c3..d97f270b 100644 --- a/www/application/controllers/Refer.php +++ b/www/application/controllers/Refer.php @@ -95,7 +95,7 @@ class Refer extends Users_Controller { $this->table->set_heading(array('data' => 'Added/Name', 'style' => 'width:170px'), 'Email', array('data' => 'Status', 'style' => 'width:80px')); $data['refer_table'] = $this->table->generate($query); - + $data['refer_table_result'] =$query->result(); $data['page_title'] ="Refer a Friend"; /* diff --git a/www/application/views/site3/internal/template/view_securehead.php b/www/application/views/site3/internal/template/view_securehead.php index 64449dfe..c280214e 100644 --- a/www/application/views/site3/internal/template/view_securehead.php +++ b/www/application/views/site3/internal/template/view_securehead.php @@ -129,7 +129,7 @@ $server_name = 'https://'. $_SERVER['HTTP_HOST'];