!nocache
!set wims_html_header=!append line $oefcss to $wims_html_header
!header1
!set module_title=!module title_$lang $module
!default module_title=!module title $module
<center><h3>
!href module=$module&cmd=intro WIMS
$module_title<br/>
<font size="-1">--- $name_print ---</font></h3></center>
!if $error!=$empty
!changeto oef/msg.phtml
!endif
!if ($wims_developer!= or $wims_user=supervisor) and $latex_exists=1
<center>
!read oef/latex.proc print
</center>
!endif
!for i=1 to $n
<div class="emptyline"> </div>
<b>$name_exo</b> $i. (<u><em>$(title_$i)</em></u>)
!if $(question_$i)=$empty
($name_noprint)
!else
!if __EXECUTED_ isin $(question_$i) and _EXERCISE__ isin $(question_$i)
!set thisexo=$(name_$i)
!readproc oef/imagedir.proc
!for k=1 to $(varcnt_$i)+5
!set val$k=!line $k of $(var_$i)
!read $(class_header)def/$(name_$i).def question
!else
$(question_$i)
!endif
$(chce_$i)
!endif
!if $wims_user!=$empty and $wims_user!=supervisor
!goto noans
!endif
!if $test_print=1
<div class="emptyline"> </div><hr/>
<div class="wims_solution">
<center><h3>$name_answers</h3></center>
!for i=1 to $n
!set t=!linecnt $(ans_$i)
!if $t>0
<div class="emptyline"> </div>
<b>$name_answer_i.</b><ul>
!for k=1 to $t
!set l__=!line $k of $(ans_$i)
!if $l__ !=
<li value="$k">
!line $k of $(ans_$i)
</li>
!endif
</ul>
!endif
</div>
!endif
:noans
</div>
!set wims_menu_items=!append line renew,1,cmd=reply&print=yes\
back2,1,module=$module&cmd=intro\
to $wims_menu_items
!tail