Subversion Repositories wimsdev

Rev

Rev 15602 | Rev 15607 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15602 Rev 15606
Line 211... Line 211...
211
    !for i=1 to $examcnttot
211
    !for i=1 to $examcnttot
212
      !if exam$i isitemof $dl and $i isitemof $activexams
212
      !if exam$i isitemof $dl and $i isitemof $activexams
213
        user_exam$i=$[rint(10*$scoremax*$(es_$i))/100]
213
        user_exam$i=$[rint(10*$scoremax*$(es_$i))/100]
214
        !set tmp=!listuniq $(sess_$i)
214
        !set tmp=!listuniq $(sess_$i)
215
        !for j in $tmp
215
        !for j in $tmp
216
          !set user_exam$i=$(user_exam$i):$[$scoremax*$(score$(j)_$i)/10]
216
          !set user_exam$i=$(user_exam$i):$[rint(10*$scoremax*$(score$(j)_$i)/100]
217
        !next
217
        !next
218
        !set tmp=!itemcnt $tmp
218
        !set tmp=!itemcnt $tmp
219
        !for j= $tmp+1 to $(nb_ses$i)
219
        !for j= $tmp+1 to $(nb_ses$i)
220
          !set user_exam$i=$(user_exam$i):
220
          !set user_exam$i=$(user_exam$i):
221
        !next
221
        !next