From ca243d7cb64baf898a514578a74126a929ebacb7 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 25 Sep 2023 16:50:44 -0400 Subject: [PATCH] recent type --- application/controllers/Bkoreport.php | 8 ++++++++ application/views/bko/view_bko_header.php | 1 + 2 files changed, 9 insertions(+) diff --git a/application/controllers/Bkoreport.php b/application/controllers/Bkoreport.php index 5390d22..11b330a 100644 --- a/application/controllers/Bkoreport.php +++ b/application/controllers/Bkoreport.php @@ -79,6 +79,14 @@ class Bkoreport extends Bko_Controller { $this->renderbkoreportpage($data); } + public function recent() { + $data["title"] = "Recent Signup Report"; + //$mysql = "SElECT added::date,username,firstname||' '||lastname AS Name,loc,last_login::date FROM members ORDER BY id DESC LIMIT 7000"; + $mysql = "SElECT added::date,username,firstname||' '||lastname AS Name,loc,country,last_login::date FROM members WHERE account_type='FULL' ORDER BY id DESC LIMIT 50"; + + $data['mysql'] = $mysql; + $this->renderbkoreportpage($data); + } public function pendsignup() { $data["page_title"] = "Pending Signup Report"; diff --git a/application/views/bko/view_bko_header.php b/application/views/bko/view_bko_header.php index 29d041e..64f1ac3 100644 --- a/application/views/bko/view_bko_header.php +++ b/application/views/bko/view_bko_header.php @@ -78,6 +78,7 @@