Admin Log

getOne("SELECT COUNT(*) FROM admin_log") / $perpage ); $entries = $mtdb->getAll("SELECT UNIX_TIMESTAMP(l.logdate) AS logstamp, l.logdate AS logdate, c.name AS cname, c.email AS cmail, s.name AS section, action, level, message FROM admin_log l JOIN admin_section s ON l.section = s.id LEFT JOIN contributor c ON l.contributor = c.id ORDER BY l.logdate DESC LIMIT $start,$perpage"); pagination( $page, $total ); ?> >
Date Contributor Section Action Level Message
logdate; ?> cname; ?> section; ?> action; ?> level ?> message; ?>