From b0c23ea84327d48e3a4383fac3e795c2dc0a1215 Mon Sep 17 00:00:00 2001
From: root No more cards to study ! Welcome to the studies section. This is a simple study program, with two methods of studying available. The first method is based on
-decks of cards, keeping track of your progress and everything. The cards you are studying are classified in the following boxes : You can freely move cards into different boxes using the links that appear at the right of the card, the number in the parenthesis being
- the level that card will have if you click it.
-Cards you are supposed to study or review today appear with a bold title : that means that today,
- you should decide to put it either in the next box, or somewhere else. The load is calculated as a function of the number of cards with levels from 1 to 3 : it represents the quantity of
- stuff you are learning right now. When the load is smaller than the study rate you ask for, new cards will be suggested for
- you to learn (if any are available in the deck). Please take a look at the list of decks and start learning whatever you want to learn.
-You can also create your own decks, the editor is pretty intuitive. In this method, we have lists of stuff to learn (like vocabulary), divided into batches (the batches are sorted
-for a given list). You will study one batch at a time, and take a test for one batch at a time. All your test results
- are kept in storage and are used to display your progress. Please take a look at the list of lists and start learning whatever you want to learn.Items in this list
';
-echo 'Reviews
';
-echo '
';
- echo 'learn this card (1)
';
- echo 'I know this already (4)
';
- echo 'I totally know this already (7)(next card) #'.$next_card['number'].': '.$next_card['name'].'
';
- echo $next_card['text_html'];
- echo '
';
-} else {
- foreach($study_cards as $card) {
- echo '
\n", $l);
- echo '(' . ($card['level'] == 0 ? 'skipped' : 'level '.$card['level']) .') #'.$card['number'].': '.$card['name'].'
';
- echo $card['text'];
- echo 'First method : cards
-
-
-Second method : study lists
-Studying decks
';
- foreach($studying_decks as $deck) {
- echo '
';
-
- echo ''.$deck['username'].':' . $deck['name'] . '
My decks
';
- foreach($my_decks as $deck) {
- echo '
';
-
-
- echo '' . $deck['name'] . '
Studying lists
';
- foreach($studying_lists as $list) {
- echo '
';
-
- echo ''.$list['username'].':' . $list['name'] . '
My lists
';
- foreach($my_lists as $list) {
- echo '
';
-
-}
diff --git a/tpl/study/list.php b/tpl/study/list.php
deleted file mode 100644
index 265d8a7..0000000
--- a/tpl/study/list.php
+++ /dev/null
@@ -1,55 +0,0 @@
-stop studying' . $list['name'] . '
';
-
-require("lib_sidebar.php");
-require("tpl/general/bottom.php");
diff --git a/tpl/study/setrate.php b/tpl/study/setrate.php
deleted file mode 100644
index f632b33..0000000
--- a/tpl/study/setrate.php
+++ /dev/null
@@ -1,18 +0,0 @@
-Current learn rate : ' . $study['learn_rate'] . ' - keep this rate ';
-foreach ($batches as $batch) {
- $color = "";
- if ($batch['lr_date']) {
- if ($batch['lr_score'] == 100)
- $color = "#00AA00";
- else if ($batch['lr_score'] >= 90)
- $color = "#22EE22";
- else if ($batch['lr_score'] >= 80)
- $color = "#55FF55";
- else if ($batch['lr_score'] >= 60)
- $color = "#EEEE00";
- else if ($batch['lr_score'] >= 40)
- $color = "#FFAA22";
- else
- $color = "#FF7777";
-
- }
- if ($color != "") $color = ' style="background-color: ' . $color . '"';
-
- $days_color = ($batch['lr_days'] >= 30 ? "#BFBFBF" :
- ($batch['lr_days'] >= 20 ? "#C7C7C7" :
- ($batch['lr_days'] >= 14 ? "#CFCFCF" :
- ($batch['lr_days'] >= 10 ? "#D7D7D7" :
- ($batch['lr_days'] >= 7 ? "#DFDFDF" :
- ($batch['lr_days'] >= 5 ? "#E7E7E7" :
- ($batch['lr_days'] >= 3 ? "#EFEFEF" :
- ($batch['lr_days'] >= 1 ? "#F7F7F7" : "#FFFFFF"))))))));
- $dc = ($batch['lr_date'] ? ' style="background-color: ' . $days_color .'"' : '');
-
- echo 'Batch name actions tests last test score ';
- echo ' ';
-}
-echo ' ';
- echo '' . $batch['name'] . '
view | test ';
- echo '' . $batch['num_reviews'] . ' ';
- echo '' . ($batch['lr_date'] ? $batch['lr_date'] : "never") . ' ';
- echo '' . ($batch['lr_date'] ? $batch['lr_score'] . '/100' : 'N/A') .
- ($batch['blr_date'] ? ($batch['lr_score'] > $batch['blr_score'] ? ' ➚' :
- ($batch['lr_score'] < $batch['blr_score'] ? ' ➘' :
- ' ➙')) : '') . ' ';
- echo '
Please choose how much you intend on studying :