stop studying'; echo '
'; echo 'Load : ' . $load . '/' . $study['learn_rate'] . ' - change study rate
'; if (isset($next_card)) { if ($next_card) { echo '
'; echo '
skip this card (0)
'; echo 'learn this card (1)
'; echo 'I know this already (4)
'; echo 'I totally know this already (7)
'; echo '(next card) #'.$next_card['number'].': '.$next_card['name'].''; echo $next_card['text_html']; echo '
'; } else { echo '

No more cards to study !

'; } } echo ''; if (count($study_cards) == 0) { echo '

Nothing in this list at the moment.

'; } else { foreach($study_cards as $card) { echo '
'; $l = array(); if ($card['level'] > 0) { $l[] = ''. ($card['level'] >= 4 ? 'put in skip list' : 'skip this card') . ''; } if ($card['must_study'] || $card['level'] == 0 || $card['level'] == 7) { $l[] = ''. ($card['level'] == 0 ? 'learn this card' : 'I forgot all about this'). ' (1)'; if ($card['level'] > 0 and $card['level'] < 3) { $l[] = 'I\'m learning this ('.($card['level']+1).')'; } if ($card['level'] < 4) { $l[] = 'I know this (4)'; } if ($card['level'] > 3 and $card['level'] < 6) { $l[] = 'I know this ('.($card['level']+1).')'; } } if ($card['level'] < 7) { $l[] = 'I totally know this (7)'; } echo '
'; echo implode("
\n", $l); echo '
'; echo '(' . ($card['level'] == 0 ? 'skipped' : 'level '.$card['level']) .') #'.$card['number'].': '.$card['name'].''; echo $card['text']; echo '
'; } } require ("lib_sidebar.php"); require("tpl/general/bottom.php");