summaryrefslogtreecommitdiff
path: root/lib/list/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/list/index.php')
-rw-r--r--lib/list/index.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/list/index.php b/lib/list/index.php
deleted file mode 100644
index cbcad67..0000000
--- a/lib/list/index.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-$filters = array (
- "order" => array (
- "nbUsers" => "popularity",
- "name" => "name",
- "owner" => "author",
- ),
- "way" => $ord_ways,
-);
-$fdefaults = array (
- "order" => "nbUsers",
- "way" => "DESC",
-);
-
-$lists = array();
-$n = sql(
- "SELECT lists.id AS id, lists.name AS name, account.login AS owner, COUNT(list_study.id) AS nbUsers ".
- "FROM lists LEFT JOIN account ON lists.owner = account.id LEFT JOIN list_study ON list_study.list = lists.id ".
- "GROUP BY lists.id ORDER BY " . get_filter("order") . " " . get_filter("way")
- );
-while ($nn = mysql_fetch_assoc($n)) $lists[] = $nn;
-
-require("tpl/list/index.php");
-