diff options
author | root <root@adnab.me> | 2014-01-31 16:42:40 +0100 |
---|---|---|
committer | root <root@adnab.me> | 2014-01-31 16:42:40 +0100 |
commit | b0c23ea84327d48e3a4383fac3e795c2dc0a1215 (patch) | |
tree | 625a8f0882815d9442a4ff2ec15a49e669a15ed3 /lib/list/index.php | |
parent | cee55b766230837c21453f85e76a921cb5b8b89e (diff) | |
download | Bits-b0c23ea84327d48e3a4383fac3e795c2dc0a1215.tar.gz Bits-b0c23ea84327d48e3a4383fac3e795c2dc0a1215.zip |
Remove all studying apps code.
Diffstat (limited to 'lib/list/index.php')
-rw-r--r-- | lib/list/index.php | 25 |
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"); - |