Subversion Repositories wimsdev

Rev

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

Rev 1049 Rev 1664
Line 1... Line 1...
1
!nocache
1
!!##language
2
!if bad_exo iswordof $error
-
 
3
 !exit
-
 
4
!endif
-
 
5
 
2
 
6
!set indgood=<font color=green><b>¶Ô</b></font>
3
!set indgood=<font color=green><b>¶Ô</b></font>
-
 
4
!set indpartial=<font color=green><b>partially good</b></font>
7
!set indbad =<font color=red><b>´í</b></font>
5
!set indbad =<font color=red><b>´í</b></font>
8
!set indprec=<font color=red><b>¾«¶È²»¶Ô</b></font>
6
!set indprec=<font color=red><b>¾«¶È²»¶Ô</b></font>
9
!set condgood=<font color=green><b>¶Ô</b></font>
7
!set condgood=<font color=green><b>¶Ô</b></font>
10
!set condbad =<font color=red><b>´í</b></font>
8
!set condbad =<font color=red><b>´í</b></font>
11
!set indsee =<small>¼ûÏÂÃæ</small>
9
!set indsee =<small>¼ûÏÂÃæ</small>
12
 
-
 
13
<table border=0>
-
 
14
<tr><th colspan=3>·ÖÎöÄãµÄ»Ø´ð.
-
 
15
!distribute item 1,1 into cntr,cntc
-
 
16
!for t in $ansorder
-
 
17
 !set i=$(cnt$t)
-
 
18
 !if $oefsteps=$empty or $t$i isitemof $gotsteps
-
 
19
  !read oef/answer$t.phtml
-
 
20
 !endif
-
 
21
 !advance cnt$t
-
 
22
!next t
-
 
23
 
-
 
24
!if $conditioncnt>0
-
 
25
 !if $embedded_bracket!=$empty
-
 
26
  <tr><td align=left colspan=2 nowrap><small>$embedded_bracket</small></td></tr>
-
 
27
 !endif
-
 
28
 !!<tr></tr><tr></tr>
-
 
29
!endif
-
 
30
!for i in $condlist
-
 
31
 !if hide notwordof $(condoption$i)
-
 
32
  <tr><td colspan=2><b>$(condname$i)</b>:<td>
-
 
33
  !item $(condtest$i)+1 of $indbad,$indgood
-
 
34
 !endif
-
 
35
!next i
-
 
36
 
-
 
37
</table>
-
 
38
 
-
 
39
!if $feedbackcnt>0
-
 
40
 !read $deffile feedback
-
 
41
!endif
-
 
42
 
-
 
43
!if $solution!=$empty and ($presentsol>1 or ($presentsol=1 and $score<10))
-
 
44
 <p><b>½â´ð.</b>
-
 
45
 !if $solution!=$executed_str or $oef2wims_version<3.10
-
 
46
  $solution
-
 
47
 !else
-
 
48
  !read $deffile solution
-
 
49
 !endif
-
 
50
!endif
-
 
51
 
10