Subversion Repositories wimsdev

Rev

Rev 1076 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
 
2
$wims_html_header
3
<body $wims_htmlbody>
4
 
5
<p><center><h3>
6
!href module=$module&cmd=intro WIMS
7
 $module_title<br>
8
<font size=-1>--- Printable version ---</font></h3></center> <p>
9
<div class=wimsbody>
10
 
11
!if $error!=$empty
12
 !changeto oef/msg.phtml
13
!endif
14
 
15
!for i=1 to $n
16
 <p>
17
 <b>Exercise</b> $i. (<u><em>$(title_$i)</em></u>)
18
 !if $(question_$i)=$empty
19
  (Non-printable)
20
 !else
21
  !if __EXECUTED_ isin $(question_$i) and _EXERCISE__ isin $(question_$i)
22
   !set thisexo=$(name_$i)
23
   !readproc oef/imagedir.proc
24
   !for k=1 to $(varcnt_$i)+5
25
    !set val$k=!line $k of $(var_$i)
26
   !next k
27
   !read $(class_header)def/$(name_$i).def question
28
  !else
29
   $(question_$i)
30
  !endif
31
  </a></tt></font></center>
32
  </h1></h2></h3></h4></b></i></em>
33
  $(chce_$i)
34
 !endif
35
!next i
36
 
37
!if $wims_user!=$empty and $wims_user!=supervisor
38
 !goto noans
39
!endif
40
 
41
<p><hr> <p>
42
<center><h3>Answers</h3></center> <p>
43
!for i=1 to $n
44
 !set t=!linecnt $(ans_$i)
45
 !if $t>0
46
  <p><b>Answer to exercise $i.</b><ul>
47
  !for k=1 to $t
48
   <li>
49
   !line $k of $(ans_$i)
50
  !next k
51
  </ul>
52
 !endif
53
!next i
54
 
55
:noans
56
</div> <hr> <p>
57
<center>
58
!href cmd=reply&print=yes Again
59
&nbsp;&nbsp;
60
!href module=$module&cmd=intro Back
61
</center>
62