Test
"; $res = $db->querySingle("SELECT COUNT(job_id) FROM job_history;"); echo "Job History Entries: $res
"; $res = $db->querySingle("SELECT COUNT(log_id) FROM logs;"); echo "Log Entries: $res
"; ?>
set_pretty_name("Log Statistics (Last 7 Days)"); $query = $table->get_query(); $table->Load($db); echo $query->get_query_string(); echo $table->get_html(); $table = new Table("last_ten_failed_jobs"); $table->set_pretty_name("Script Failures (Last 10)"); $query = $table->get_query(); $table->Load($db); echo $query->get_query_string(); echo $table->get_html(); $table = new Table("job_history"); $table->set_pretty_name("Jobs Run (Last 10)"); $query = $table->get_query(); $query->set_order_by_column("job_timestamp DESC"); $query->set_limit(10); $table->Load($db); echo $query->get_query_string(); echo $table->get_html(); ?>