Subversion Repositories wimsdev

Rev

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

Rev 1664 Rev 1673
Line 1... Line -...
1
!exit
-
 
2
!!$wims_html_header
-
 
3
!!<body $wims_htmlbody>
1
!!!#### for compatibility
4
!header1
-
 
5
<p><center><h3>
-
 
6
!href module=$module&cmd=intro WIMS
-
 
7
 $module_title<br>
-
 
8
<font size=-1>--- Versione stampabile ---</font></h3></center> <p>
-
 
9
!!<div class=wimsbody>
-
 
10
 
-
 
11
!if $error!=$empty
-
 
12
 !changeto oef/msg.phtml
2
!read oef/print.phtml
13
!endif
-
 
14
 
-
 
15
!for i=1 to $n
-
 
16
 <p>
-
 
17
 <b>Esercizio</b> $i. (<u><em>$(title_$i)</em></u>)
-
 
18
 !if $(question_$i)=$empty
-
 
19
  (Non-stampabile)
-
 
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
!if $test_print=1
-
 
42
<p><hr>
-
 
43
<div class="wims_solution">
-
 
44
<center><h3>Soluzione</h3></center>
-
 
45
!for i=1 to $n
-
 
46
 !set t=!linecnt $(ans_$i)
-
 
47
 !if $t>0
-
 
48
  <p><b>Risposta all'esercizio $i.</b><ul>
-
 
49
  !for k=1 to $t
-
 
50
  !set l__=!line $k of $(ans_$i)
-
 
51
  !if $l__ !=
-
 
52
   <li value=$k>
-
 
53
   !line $k of $(ans_$i)
-
 
54
   </li>
-
 
55
  !reset l__
-
 
56
  !endif
-
 
57
  !next k
-
 
58
  </ul>
-
 
59
 !endif
-
 
60
!next i
-
 
61
</div>
-
 
62
!endif
-
 
63
 
-
 
64
:noans
-
 
65
</div>
-
 
66
!!<div class="wims_noprint"><hr>
-
 
67
!!!href cmd=reply&print=yes Un'altra
-
 
68
!!&nbsp;&nbsp;
-
 
69
!!!href module=$module&cmd=intro Torna alla versione interattiva
-
 
70
!!</div>
-
 
71
!set wims_menu_items=!append line renew,1,cmd=reply&print=yes\
-
 
72
back2,1,module=$module&cmd=intro\
-
 
73
to $wims_menu_items
-
 
74
!tail
-
 
75
!tail
-