getRows($db->q("SELECT status, count(*) as cnt FROM beathaven.queue GROUP BY status")); $info = array_fill(0, 3, 0); foreach ($rows as $row) { $info[$row['status']] = $row['cnt']; } $tmp = exec("ps aux | grep parse_queue"); $running = (strpos($tmp, '/opt/local/bin/php') !== false) ? 1 : 0; ?> BeatHaven
/ /