From b0c23ea84327d48e3a4383fac3e795c2dc0a1215 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Jan 2014 16:42:40 +0100 Subject: Remove all studying apps code. --- lib/deck/index.php | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lib/deck/index.php (limited to 'lib/deck/index.php') diff --git a/lib/deck/index.php b/lib/deck/index.php deleted file mode 100644 index ad497d5..0000000 --- a/lib/deck/index.php +++ /dev/null @@ -1,25 +0,0 @@ - array ( - "nbUsers" => "popularity", - "name" => "name", - "owner" => "author", - ), - "way" => $ord_ways, -); -$fdefaults = array ( - "order" => "nbUsers", - "way" => "DESC", -); - -$decks = array(); -$n = sql( - "SELECT decks.id AS id, decks.name AS name, account.login AS owner, COUNT(deck_study.id) AS nbUsers ". - "FROM decks LEFT JOIN account ON decks.owner = account.id LEFT JOIN deck_study ON deck_study.deck = decks.id ". - "GROUP BY decks.id ORDER BY " . get_filter("order") . " " . get_filter("way") - ); -while ($nn = mysql_fetch_assoc($n)) $decks[] = $nn; - -require("tpl/deck/index.php"); - -- cgit v1.2.3