Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | $queries = array(); //TODO: use build_query_select()!!! | |
3 | foreach($stats as $stat) include("assistants/stats/$stat.inc.php"); | |
4 | foreach($queries as $description => $sql) { | |
5 | $result = $this->db->safe_query_fetch($sql); | |
6 | if(empty($result)) continue; | |
7 | echo "<h2>$description</h2>"; | |
8 | echo $this->html->render_item_table($result); | |
9 | } |