if(isset($SESSIONS)) {
foreach ($SESSIONS as $session) {
if($session['id'] < $SESSIONS_next || (! isset($SESSIONS_next)) ) { $SESSIONS_totex += $session['nexamples']; }
if(isset($SESSIONS)) {
foreach ($SESSIONS as $session) {
if($session['id'] < $SESSIONS_next || (! isset($SESSIONS_next)) ) { $SESSIONS_totex += $session['nexamples']; }