Reorganizace kodu pro generovani statistik
[mirrors/SokoMan.git] / assistants / lib / stats.inc.php
diff --git a/assistants/lib/stats.inc.php b/assistants/lib/stats.inc.php
new file mode 100644 (file)
index 0000000..1334822
--- /dev/null
@@ -0,0 +1,7 @@
+<?php
+$queries = array(); //TODO: use build_query_select()!!!
+foreach($stats as $stat) include("assistants/stats/$stat.inc.php");
+foreach($queries as $description => $sql) {
+       echo "<h2>$description</h2>";
+       echo $this->html->render_item_table($result = $this->db->safe_query_fetch($sql));
+}
This page took 0.093957 seconds and 4 git commands to generate.