diff --git a/system/controllers/dashboard.php b/system/controllers/dashboard.php index f609c719..484eca7d 100644 --- a/system/controllers/dashboard.php +++ b/system/controllers/dashboard.php @@ -50,7 +50,7 @@ if (empty($c_all)) { $ui->assign('c_all', $c_all); //user expire -$expire = ORM::for_table('tbl_user_recharges')->where('expiration', $mdate)->order_by_desc('id')->find_many(); +$expire = ORM::for_table('tbl_user_recharges')->whereLte('expiration', $mdate)->order_by_desc('id')->limit(30)->find_many(); $ui->assign('expire', $expire); //activity log diff --git a/ui/ui/images/loading.gif b/ui/ui/images/loading.gif new file mode 100644 index 00000000..c35d6583 Binary files /dev/null and b/ui/ui/images/loading.gif differ diff --git a/ui/ui/user-dashboard.tpl b/ui/ui/user-dashboard.tpl index b054baa0..5f8381ac 100644 --- a/ui/ui/user-dashboard.tpl +++ b/ui/ui/user-dashboard.tpl @@ -134,7 +134,7 @@