!if $error!=$empty
<p>
!read msg.phtml
<p>
!href module=home $name_homeback
. <p>
!endif
!readproc var.activity.proc
!if $usercnt==0
$name_noparticipant
!else
<p>$table_header
$table_hdtr<th>$name_lastname, $name_firstname</th>
<th>$name_lastconnexion</th><th>$name_nbsessions</th><th><small>$name_cnt_exo
<br> ($nbexototal $name_exo)</small></th><th>$name_total</th>
!for j=1 to $sheetcnt
!if $(activ[$j])>0
<th colspan=2><small>$name_sheet $j <br>($(nbexo$j) $name_exo)</small></th>
!endif
</tr>
$table_hdtr
<th></th><th></th><th></th><th></th><th></th>
!for j=1 to $sheetcnt
!if $(activ[$j])>0
<th><small>$name_cnt_exo</small></th><th><small>$name_time</small></th>
!endif
</tr>
!for m=1 to $usercnt
!set uu
=!record
$m of wimshome
/log/classes
/$wims_class/.userlist
!distribute items $uu into lastname,firstname,uu
!set getraw=$uu
!readproc raw.proc
$table_tr
<td>
!href module=adm/class/userlist&job=getuser&getuser=$uu $lastname, $firstname
</td>
!for h = 1 to 2*$sheetcnt + 4
!set h1=$[($h+$h%2)/2-2]
!if $h <=4 or ($h>4 and $(activ[$h1])>0)
<td align="center">$(data[$h])</td>
!endif
</tr>
$table_end
<p>$name_click
!! !href cmd=reply $name_refresh
!! =<p>
!! !href module=adm/class/userlist&job_affi=notes $name_notes
!!.
!set wims_menu_items=!append line "$name_refresh",1,cmd=reply\
"$name_notes",1,module=adm/class/userlist&job_affi=notes\
to $wims_menu_items
!tail