!header1
!read adm/title.phtml 2\
$sheet_title
<div class="wims_sheet_desc">$sheet_desc</div><p>
$sheet_remark
!if $error!=$empty
!changeto lang/msg.phtml.$modu_lang
!endif
!if ($wims_developer!= or $wims_supervisor!= or $wims_user=supervisor) and $latex_exists=1
<center>
!read oef/latex.proc print
</center>
!endif
!for i=1 to $N
<p>
<b>$name_exo</b> $i.
!if $(question_$i)=$empty
($name_noprint: $(title_$i))
!else
!if __EXECUTED_ isin $(question_$i) and _EXERCISE__ isin $(question_$i)
!set e_=$(e_$i)
!set thisexo=$e_
!set m_=$(module_$i)
!readproc imagedir.proc
!for k=1 to $(varcnt_$i)+5
!set val$k=!line $k of $(var_$i)
!set wims_prefix=
!read $(class_header)def/$(e_$i).def question
!set wims_prefix=$wims_prefix2
!else
$(question_$i)
!endif
<a></a>
$(chce_$i)
!endif
!if $public!=P and $wims_user!=supervisor
!goto noans
!endif
<div class="wims_solution"><hr>
<center><h3>$wims_name_answer</h3></center> <p>
!for i=1 to $N
!set t=!linecnt $(ans_$i)
!if $t>0
<p><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
><!--end of wims_solution
-->
:noans
<p>
!set wims_menu_items=!append line renew,1,cmd=reply\
back2,1,cmd=reply&job=read\
to $wims_menu_items
!tail