Subversion Repositories wimsdev

Rev

Rev 17470 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17470 Rev 18169
Line 121... Line 121...
121
        ave=$[rint($ave*1000)]
121
        ave=$[rint($ave*1000)]
122
        !if $dtu=$user
122
        !if $dtu=$user
123
          useraverage=!append item $ave to $useraverage
123
          useraverage=!append item $ave to $useraverage
124
        !endif
124
        !endif
125
        try=!getscoretry user=$dtu sheet=$sh work=$k
125
        try=!getscoretry user=$dtu sheet=$sh work=$k
126
        !if $try>0          
126
        !if $try>0
127
          cnt=$[$(count[$k])+1]
127
          cnt=$[$(count[$k])+1]
128
          lcount=!append item $cnt to $lcount
128
          lcount=!append item $cnt to $lcount
129
        !else
129
        !else
130
          lcount=!append item $(count[$k]) to $lcount
130
          lcount=!append item $(count[$k]) to $lcount
131
        !endif
131
        !endif
Line 178... Line 178...
178
    !if $time2=yes
178
    !if $time2=yes
179
      !appendfile $clsfile :$tmp
179
      !appendfile $clsfile :$tmp
180
    !endif
180
    !endif
181
  !else
181
  !else
182
    !if $time2=yes
182
    !if $time2=yes
183
      !appendfile $clsfile : 
183
      !appendfile $clsfile :
184
    !endif
184
    !endif
185
  !endif
185
  !endif
186
!next sh
186
!next sh
187
 
187
 
188
!sh sort -n -r -k 3 -k 4 $Ufile > $wims_home/sessions/$wimss_session/tmp.swork;\
188
!sh sort -n -r -k 3 -k 4 $Ufile > $wims_home/sessions/$wimss_session/tmp.swork;\