first commit

This commit is contained in:
2019-05-25 23:11:05 -04:00
commit 16f48376bc
6139 changed files with 990356 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
class Admindash_model extends CI_Model {
function __construct() {
}
public function getAdminDashData($data) {
$out = array();
$y = $this->getDashRecentSignup(10);
$out['recent_signup'] = $y['recent_signup'];
return $out;
}
public function getDashRecentSignup($limit) {
$out = array();
$mysql = "SELECT id,firstname,lastname,email,added::date AS added,phone FROM members ORDER BY id DESC LIMIT $limit ";
$q = $this->db->query($mysql);
$out['recent_signup'] = $q->result();
return $out;
}
}