Rev 12210 | Rev 12213 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12210 | Rev 12211 | ||
---|---|---|---|
Line 184... | Line 184... | ||
184 | if(classe==NULL || *classe==0) i=1; |
184 | if(classe==NULL || *classe==0) i=1; |
185 | else i=getscorestatus(classe,atoi(sh)); |
185 | else i=getscorestatus(classe,atoi(sh)); |
186 | pend=getvar("wims_scoring"); if(pend==NULL) pend=""; |
186 | pend=getvar("wims_scoring"); if(pend==NULL) pend=""; |
187 | if((i==0 || !exodepOK || strcmp(pend,"pending")!=0) && strcmp(cc,"rafale")!=0) |
187 | if((i==0 || !exodepOK || strcmp(pend,"pending")!=0) && strcmp(cc,"rafale")!=0) |
188 | allow="\tnoscore"; |
188 | allow="\tnoscore"; |
189 | else allow=" |
189 | else allow=""; |
190 | ip=remote_addr; if(*ip==0) ip="-"; scorelog=0; |
190 | ip=remote_addr; if(*ip==0) ip="-"; scorelog=0; |
191 | if(user==NULL || *user==0) { |
191 | if(user==NULL || *user==0) { |
192 | classe="0"; allow=""; |
192 | classe="0"; allow=""; |
193 | mkfname(fname,"../sessions/%s/.score",sess); |
193 | mkfname(fname,"../sessions/%s/.score",sess); |
194 | } |
194 | } |