- Use '/' key to quickly access this field.
- Enter a name of repository, or repository group for quick search.
- Prefix query to allow special search:
user:admin, to search for usernames, always global
user_group:devops, to search for user groups, always global
commit:efced4, to search for commits, scoped to repositories or groups
file:models.py, to search for file paths, scoped to repositories or groups
For advanced full text search visit: repository search
/* This page displays a list of comics, 15 per page. */
require_once('include/admin.inc.php');
auth_redirect();// Require logged in user to access this page.
adminhead('Admin Log');
adminmenu();
?>
<h2>Admin Log</h2>
<?php
$page=1;
if(isset($_GET['page']))$page=(int)$_GET['page'];
$perpage=15;
$start=($page-1)*$perpage;
$total=ceil($mtdb->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");