";
$result = db_query("SELECT errno, errstr, filename, lineno,
created_at, login FROM ttrss_error_log
LEFT JOIN ttrss_users ON (owner_uid = ttrss_users.id)
ORDER BY ttrss_error_log.id DESC
LIMIT 100");
print "
";
print "
".__("Error")." |
".__("Filename")." |
".__("Message")." |
".__("User")." |
".__("Date")." |
";
while ($line = db_fetch_assoc($result)) {
print "";
foreach ($line as $k => $v) {
$line[$k] = htmlspecialchars($v);
}
print "" . Logger::$errornames[$line["errno"]] . " (" . $line["errno"] . ") | ";
print "" . $line["filename"] . ":" . $line["lineno"] . " | ";
print "" . $line["errstr"] . " | ";
print "" . $line["login"] . " | ";
print "" .
make_local_datetime(
$line["created_at"], false) . " | ";
print "
";
}
print "
";
print "
";
global $pluginhost;
$pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB,
"hook_prefs_tab", "prefSystem");
print ""; #container
}
}
?>