!nocache
!if $oef_test=yes
!set renewlink=cmd=next&retest=again
$header_js
!goto tester
!else
!set renewlink=cmd=renew&worksheet=$worksheet&$module_init_parm
!endif
!if $printing=yes
!changeto oef/print.phtml
!endif
!if $title!=$empty
!set module_title=$title
!set module_author=$author
!set module_address=$email
!endif
!if 0$delay2>0 and $status!=$empty
!set now_=$wims_nowseconds
!read js
/chrono
.js $
[max(0,$delay1-($now_-$starttime))]
!endif
$header_js
!if $title=$empty
±¾Ä£¿éÊÇÒ»×éÁ·Ï°. ÄãÏë×öÁ·Ï°, µ«ÓÖûÓÐÖ¸³öÄãÏë×öÄĸöÁ·Ï°.
¿ÉÄÜÊÇÓÉÓÚÄãµã»÷ÁËÒ»¸ö´íÎóµÄÁ¬½Ó, Ò²¿ÉÄÜÊÇÈí¼þµÄ´íÎó.
<p><center>
!href module=$module ÖØÐ²Ù×÷
, »ò
!href $ ·ÅÆú
. </center>
!endif
!if 0$delay1>0 and $status!=$empty
<p><form target=# name=chrono><center>
<table border=2 bgcolor=$wims_ref_bgcolor><tr><td>
<b><font color=red>×¢Òâ!</font></b>
!if $qnum>1
±¾×éÁ·Ï°ÓÐʱ¼äÏÞÖÆ.
!else
±¾Á·Ï°ÓÐʱ¼äÏÞÖÆ.
!endif
<input size=4 name=clock>
</table>
</center></form> <p>
!endif
:tester
!read oef/present.phtml
<center><hr width=50%></center>
!if $cmd=hint
!read oef/hint.phtml
!endif
!if $status=waiting
!if $error!=$empty
!read oef/msg.phtml
<center><hr width=50%></center>
!endif
!read oef/form.phtml
<p>
!if $hint!=$empty and $givehint>0
!href cmd=hint Ìáʾ
.
!endif
!if $qnum<=1
!href $renewlink »»Ò»¸öÁ·Ï°
.
!else
ÕâÊDZ¾´Î $qnum ¸öϰÌâÖÐµÄµÚ $[$reply_cnt+1] ¸öϰÌâ.
!href $renewlink ·ÅÆú±¾´ÎÁ·Ï°
.
!endif
!else
!if $error!=$empty
!read oef/msg.phtml
<center><hr width=50%></center>
!endif
!read oef/answer.phtml
<p>
!if $status!=$empty
ÕâÊDZ¾´Î $qnum ¸öϰÌâÖÐµÄµÚ $reply_cnt ¸öϰÌâ. <p>
!href cmd
=next ¼ÌÐøÏÂÒ»¸öϰÌâ
, »ò
!href $renewlink ·ÅÆú±¾´ÎÁ·Ï°, ÒªÇóÒ»´ÎеÄÁ·Ï°
. (Èç¹ûÄãÐèÒª³É¼¨µÄ»°, Äã±ØÐë×öÍê±¾´ÎÁ·Ï°µÄËùÓÐϰÌâ.)
!else
!if $qnum>1
ÄãÒÑ×öÍêÁËÒ»´Î $qnum ¸öϰÌâ, ³É¼¨ÊÇ
$module_score/10.
!ifval $module_score>9.8
×£ºØÄã!
!endif
<p>
!href exo_Again
.
!if $wims_sheet=$empty
!href exo_Intro
!endif
!else
ÄãµÄ³É¼¨ÊÇ $module_score/10.
!ifval $module_score>9.8
×£ºØÄã!
!endif
<p>
!href exo_Again
.
!if $wims_sheet=$empty and $oef_test!=yes
!href exo_Intro
!endif
!endif
!endif
!endif
!if $replydefaulted=yes
<p> <small>
Development mode: good replies inserted into reply fields as default.
</small>
!endif
!read ./endhook.phtml
!if $wims_user=supervisor and exam notin $session and \
..classes/ notin ..$module and ..adm/ notin ..$module and \
..devel/ notin ..$module and \
GNU isin $module_copyright and \
_check notin $session and \
$class_importation!=no
<p>
!href module=adm/createxo&existing=$thisexo&catmodule=$module ²åÈë
±¾Á·Ï°µ½ÄãµÄ°à¼¶ (Äã¿ÉÒÔÔÚÄÇÀïÐÞ¸ÄËü).
!endif
!tail