Subversion Repositories wimsdev

Rev

Rev 4747 | Rev 5900 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

Status: 450 WIMS User Error
Server: WIMS $wims_version (WWW Interactive Multipurpose Server)
Content-type: text/html; charset=iso-8859-1
Cache-Control: no-cache
Pragma: no-cache

<html><head>
<meta http-equiv=expires content="1 Jan 1990">
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
!if exam_ isin $wims_user_error
<style type="text/css"><!--
body {text-align: justify;
padding-left: 3%; padding-right: 3%;}
--></style>
</head><body onload="window.resizeTo(500,200);window.moveTo(250,300);">
<h1 align="center">´íÎó</h1>
!goto examerr
!endif
</head><body>
!if threshold iswordof $wims_user_error
 <hr width="1">
 <h1 align="center">ĿǰÕýæ</h1>
 <hr width="50%"><p>
 ±¾ WIMS ·þÎñÆ÷ <font color="blue">$httpd_HTTP_HOST</font> 
 ĿǰÓÉÓÚ´óÁ¿µÄÇëÇó¶ø³¬ÔØ, 
 ²»ÄÜÔÙ½ÓÊÜеÄÓû§. ÇëÉÔºóÔÙÀ´, 
 »ò·ÃÎÊÆäËû WIMS ¾µÏñÕ¾.
 <p>ÎÒÃǶÔÓÉ´Ë´øÀ´µÄ²»±ã±íʾǸÒâ,
 Ï£ÍûºÜ¿ì¾ÍÄܼÌÐøÎªÄú·þÎñ.
 !read mirror.phtml.cn
 </body></html>
 !exit
!endif

!if overload iswordof $wims_user_error
 <hr width="1">
 <h1 align="center">±§Ç¸</h1>
 ÄãµÄÇëÇóÒò³¬¹ýÁ¬½ÓÅä¶î¶ø±»·þÎñÆ÷×èÖ¹.
 </body></html>
 !exit
!endif

!if ++++missing_ isin ++++$wims_user_error
 <hr width="1">
 <h1 align="center">±§Ç¸</h1>
 <hr width="50%"><p>
 WIMS ÐèÒªÈí¼þ
 !set miss=!upper $missing_software
 <span class="wims_warning">$miss</span>
 À´´¦ÀíÄãµÄÇëÇó, ¿ÉÊÇÔÚ±¾·þÎñÆ÷ÉÏ´ËÈí¼þ²»¿ÉÓÃ
 (»ò WIMS ¿´²»µ½).
 <p>
 Äã¿ÉÒÔ·¢µçÓÊ
 <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write 
 ¸øÍøÕ¾¹ÜÀíÔ±</a>±¨¸æ´ËÎÊÌâ,
 »òÁíѡһ¸ö¾µÏñÕ¾
 <a href="wims.cgi">WIMS Ö÷Ò³</a>.
 !read mirror.phtml.cn
 </body></html>
 !exit
!endif

!if trapped iswordof $wims_user_error
 <h1 align=center>ֹͣ!</h1><hr>
 <a HREF="http://$httpd_HTTP_HOST">$httpd_HTTP_HOST</a>
 µÄÄÚÈÝÓë×Ô¶¯Ò³ÃæÊÕ¼¯³ÌÐò¼°
 `web ¼ÓËÙÆ÷' ²»ÏàÈÝ.
 <p>
 ΪÀûÓñ¾Õ¾µÄ WIMS ·þÎñ,
 ÇëʹÓò»°²×°¼ÓËÙ³ÌÐòµÄ³£¹æä¯ÀÀÆ÷.
 <p>
 Çë¼Çס, WIMS Ò³ÃæÊǶ¯Ì¬Éú³ÉµÄ.
 ²»ÄÜÀëÏßʹÓÃ.
 </body></html>
 !exit
!endif

<h1 align="center">WIMS ´íÎó</h1><hr><p>

 Äã¶Ô±¾ WIMS ·þÎñÆ÷·¢³öµÄÇëÇóÀïÓдí.<p>

!if module_change iswordof $wims_user_error
 !if $wims_human_access=yes
  Çë±ÜÃâʹÓÃä¯ÀÀÆ÷µÄ `·µ»Ø' ¼ü,
  ÒòΪÄãÃæ¶ÔµÄÊÇ»¥¶¯µÄ·þÎñÆ÷.
  <p><center>
  !set tit=!module title $module
  !default tit=$module
  !href module=$module $tit
  &nbsp;&nbsp;&nbsp;
  !href $ WIMS home
  !if $httpd_HTTP_REFERER!=$empty
   &nbsp;&nbsp;&nbsp;<a href="$httpd_HTTP_REFERER">Í˳ö WIMS</a>
  !else
   </center><p>
   <small>Èç¹ûÄãÏëÍ˳ö±¾Õ¾,
   ÇëºöÂÔ´ËÐÅÏ¢²¢¼ÌÐø°´ `·µ»Ø'.</small>
  !endif
  !exit
 !endif
 ÄãÇëÇóµÄÊÇ·Ç·¨µÄÄ£¿é¸Ä±ä.
 ÄãÊÇ·ñÔÚʹÓÃ×Ô¶¯³ÌÐò½øÈë±¾Õ¾?
 :unblock
 !form new
 <input type="hidden" name="module" value="home">
 <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]">
 Èç¹ûÄãÖ»Êǵã»÷ÁËä¯ÀÀÆ÷µÄ `·µ»Ø' ¼ü,
 ÇëÔÚÕâÀïÊäÈë `wims':
 <input size="8" name="special_parm"> È»ºó
 <input type="submit" value="·¢Ë͵½·þÎñÆ÷">.</form>
 <p>
 Çë¼Çס, ±¾Õ¾µÄÒ³Ãæ¶¼ÊǶ¯Ì¬Éú³ÉµÄ.
 Òò´ËÖ»ÄÜͨ¹ý³£¹æä¯ÀÀÆ÷ÔÚÏßʹÓÃ. 
 ÏëÀûÓÃ×Ô¶¯»¯³ÌÐòÀ´ÊÕ¼¯ÍøÒ³ÊÇûÓÐÒâÒåµÄ.
 !if robot_doubt iswordof $wims_user_error
  <small>Èç¹ûºÚ¿ÍÏë´³Èë´ËÍøÕ¾,
 ½«»á±»¾Ü¾ø.</small>
 !endif
 !exit
!endif

!if robot_doubt iswordof $wims_user_error
 ÎÒÃǽ«²»ÈÃÄã¼ÌÐø½øÈë´ËÍøÕ¾,
  ÒòΪ»³ÒÉÄãʹÓÃÁË×Ô¶¯ÊÕ¼¯ÍøÒ³µÄ³ÌÐò.
 !goto unblock
!endif

!if allow_violation iswordof $wims_user_error
  ÄãûÓÐȨÀûÓÃÃüÁî ``$cmd'' À´¶¨Òå±äÁ¿
  ``$wims_error_data''.
  !goto end
!endif

!if bad_command iswordof $wims_user_error
  ÃüÁî ``$cmd'' ÎÞЧ.
  <p> ÓÐЧµÄÃüÁîÊÇ: <pre>
  new, renew, reply, hint, config </pre>
!endif

!if bad_host iswordof $wims_user_error
  ÄãÏë´ÓÆäËüÕ¾µã½¨Á¢»á»°.
  ÕâÔÚÄãµÄÐéÄâ°àÊǽûÖ¹µÄ.
  <p>
  ¿ÉÄÜijЩÒòÌØÍø½ÓÈëµÄÌṩÕ߸øÄãµÄÊǶ¯Ì¬µØÖ·,
  ¼´Ê¹ÔÚͬһ¸öÁ¬½ÓÖÐÒ²»á±ä»¯. Èç¹ûÓöµ½ÕâÖÖÇéÐÎ,
  ÇëÓë°à¼¶µÄÖ¸µ¼½ÌʦÁªÏµ, 
  ÇëËû¸Ä±ä½ÓÈëµÄËø¶¨²ßÂÔ.
  !goto end
!endif

!if need_https iswordof $wims_user_error
 ÄãÓ¦¸Ãͨ¹ý https ÇëÇóÁ¬½Óµ½ÄãµÄ°à¼¶.
 !set refname=!replace http:// by https:// in $wims_ref_name
 <a href="$refname?session=$wims_session&module=home&cmd=new">ÊÔÊÔ¿´</a>.
 !exit
!endif

!if bad_insnum iswordof $wims_user_error
 !if $cmd=getfile
  ÄãÇëÇóµÄÎļþ²»´æÔÚ.
 !else
  ¶¯Ì¬²åÈëµÄÎļþÃûÎÞЧ.
 !endif
 !goto end
!endif

!if cmd_output_too_long iswordof $wims_user_error
  ¼ÆËãµÄÖмä½á¹û³¬³öÁ˳¤¶ÈÏÞÖÆ.
  ÄãµÄÇëÇó´ó¸Å¹ý·Ö¸´ÔÓÁË.
  Çë¼ÓÒÔ¼ò»¯.
  !goto end
!endif

!if double_click iswordof $wims_user_error
 ´ËÇëÇóÀ´µ½Ê±ÄãµÄÁíÒ»¸öÇëÇóÕýÔÚ´¦ÀíÖÐ.<p>
 Èç¹ûÄãµã»÷ÁËÁ½´Î, ÇëµÈ´ý 
 <span class="wims_warning">$wims_cpu_limit Ãë</span>
 ʹµÃÄãÔ­À´µÄÇëÇó±»´¦ÀíÍê, È»ºó
 !href cmd=resume µã»÷ÕâÀï
 ÒԻص½ÄãµÄ¹¤×÷. 
 (ÒÔºóµ±ÄãÒªÇó WIMS ×öÈß³¤µÄ¼ÆËãʱ, Çë¸ü¶àÒ»µãÄÍÐÄ.)
 <p>
 Èç¹ûÄã°´ÁËä¯ÀÀÆ÷µÄ ``·µ»Ø'' °´Å¥ÒÔÍ˳ö wims,
 ÄÇô¿ÉÒÔºöÂÔÕâ¸öÐÅÏ¢.
 !exit
!endif

!if invalid_char_in_query_string iswordof $wims_user_error
  ÔÚ²ÎÊýÐòÁÐÀïÌæ»» ``$wims_error_data'' ÊÇ·Ç·¨µÄ.
  !goto end
!endif

!if name_conflict iswordof $wims_user_error
  ``$wims_error_data'' ÊDZ» wims ±£ÁôµÄÃû³Æ.
  !goto end
!endif

!if no_command iswordof $wims_user_error
  ûÓÐÃüÁî.
  !goto end
!endif

!if no_insnum iswordof $wims_user_error
 !if $cmd=getfile
  ÄãûÓиø³öÇëÇóµÄÎļþÃû.
 !else
  ÄãÇëÇóµÄ¶¯Ì¬²åÈëûÓиø³öºÅÂë.
 !endif
 !goto end
!endif

!if no_module_name iswordof $wims_user_error
  ÄãÇëÇóµÄ»á»°Ã»Óиø³öÄ£¿éÃû.
  !goto end
!endif

!if no_session iswordof $wims_user_error
  ȱÉٻỰ±àºÅ.
  !goto end
!endif

!if parm_too_long iswordof $wims_user_error
  ÄãµÄ²ÎÊý´®³¬¹ý³¤¶È¼«ÏÞ.
  ³öÓÚ°²È«µÄÔ­Òò±»¾Ü¾ø.
  !goto end
!endif

!if string_too_long iswordof $wims_user_error
  ±äÁ¿¶¨ÒåµÄ³¤¶È³¬³ö¼«ÏÞ.
  !goto end
!endif

!if too_many_variables iswordof $wims_user_error
  Äã´«Ë͵IJÎÊý¸öÊý³¬ÏÞ.
  !goto end
!endif

!if unmatched_parentheses iswordof $wims_user_error
  ÄãµÄÇëÇóÀïÓв»Æ¥ÅäµÄÀ¨ºÅ.
  Äã¿ÉÒÔÔÚÕâÀï¸ÄÕý:
  !form $cmd
  $(name$bad_parentheses) =
  !for i in module,special_parm,worksheet
   !if $($i)!=$empty
    !set value=!translate " to $ $ in $($i)
    <input type=hidden name=$i value="$value">
   !endif
  !next i
  !for i=0 to $user_var_no-1
   !if $i!=$bad_parentheses
    !set value=!translate " to $ $ in $(value$i)
    <input type="hidden" name="$(name$i)" value="$value">
   !endif
  !next i
  !set value=!translate " to $ $ in $(value$bad_parentheses)
  !set len=!charcnt $value
  !set n=!linecnt $value
  !if $n<=1
   !if $len<55
    !set len=$[$len+3]
   !else
    !set len=59
   !endif
   <input size="$len" name="$(name$bad_parentheses)" value="$value"><p>
  !else
   !if $n>10
    !set n=10
   !endif
   <textarea rows="$n" cols="50" name="$(name$bad_parentheses)">$value</textarea>
   <p>
  !endif
  È»ºó
  <input type="submit" value="·¢Ë͸ÄÕýºóµÄÇëÇó.">
  </form><p><hr><p><center>
  !href cmd=resume È¡ÏûÉÏÒ»¸öÇëÇó
, »ò
  !href $ wims home
.</center>
  !exit
!endif
  
!if wrong_module iswordof $wims_user_error
  ±¾Õ¾²»´æÔÚÄãÇëÇóµÄÄ£¿é ``$module''.
  !goto end
!endif

!if wrong_session iswordof $wims_user_error
  »á»°ºÅ ``$session'' ÎÞЧ (»òÒÑʧЧ).
  <a href="wims.cgi">´´½¨Ð»Ự</a>.
  !goto end
!endif  

!if rafale iswordof $wims_user_error
 Çë²»ÒªÓëÁ·Ï°¿ªÍæÐ¦!
 <p>
 ÄãÓ¦¸Ã»¨Ê±¼ä×Ðϸ˼¿¼²¢³¢ÊÔÕýÈ·½â´ðÁ·Ï°,
 ¶ø²»ÊDz»¶ÏµÄÒªÇóеÄÁ·Ï°.
 !href cmd=resume È¡ÏûÉÏÒ»´ÎÇëÇó
.
 !if $wims_user!=$empty and $wims_user!=supervisor
  <p><span class="wims_warning">×¢Òâ</span>! ²»ÒªÖظ´Õâ¸ö´íÎó!
  ¼´Ê¹¼Ç·ÖÆ÷¹Ø±Õʱ,
  ²»ºÏ¹æÔòµÄ»î¶¯Ò²»áÔì³Éʧ·Ö.
 !endif
 !goto end2
!endif

:examerr

!if exam_dep iswordof $wims_user_error
  ±¾Á·Ï°±ØÐëÔÚÄã³É¹¦Íê³ÉÁË
  !if , isin $dep_list
   Á·Ï° $dep_list ºó²ÅÄÜ×ö.
  !else
   Á·Ï° $dep_list ºó²ÅÄÜ×ö.
  !endif
  ÇëÏȰÑËüÃÇ×öºÃ.
  !goto examend
!endif

!if bad_exam iswordof $wims_user_error
  ÄãÔÚ¿¼ÊÔʱ·¢³öÁË·Ç·¨µÄÇëÇó.
  !goto examend
!endif

!if exam_exo_finished iswordof $wims_user_error
  ÄãÒѾ­×öÁË´ËÁ·Ï°, µÃ·ÖÊÇ $wims_exo_lastscore.
  ×÷Ϊ¿¼ÊÔ, Äã²»ÄÜÖØ×öÁË.
  !goto examend
!endif

!if expired_exam iswordof $wims_user_error
  Õâ´Î¿¼ÊÔµÄʱ¼äÒÑÓÃÍê.
  :examend
  !set pses=!translate _ to , in $wims_session
  !set pses=!item 1 of $pses
  !set pser=!randint 1,999
  !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student';
  <p><center>
  <a href=# onclick="window.close();$wims_opener">Çë¹Ø±Õ´Ë´°¿Ú</a>.
  </center><p>
  !exit
!endif

!if exam_closed iswordof $wims_user_error
 ´ÓÄãµÄÁ¬½ÓĿǰ²»ÄܽøÈ뿼ÊÔ.
 ÇëÓë°à¼¶µÄÖ¸µ¼ÀÏʦÁªÏµ.
 !goto examend
!endif

!if bad_ident iswordof $wims_user_error
 ÄãµÄÇëÇóµÄÓû§ÈÏÖ¤Óдí.
 ÄãÊDz»ÊÇÏë½øÈëËûÈ˵ĻỰ?
 <p>
 Çë
 <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">½¨Á¢Ð»Ự</a>.
 </body></html>
 !exit
!endif

!if no_access iswordof $wims_user_error
  ¸ù¾Ý±¾Õ¾µÄ½ÓÈë²ßÂÔ, ÄãµÄÇëÇ󱻾ܾø. ±§Ç¸.
  !goto end
!endif  

!if class_closed iswordof $wims_user_error
  Sorry.
  <p>
  Ö¸µ¼½ÌʦÔÝʱ¹Ø±ÕÁËÕâ¸öÐéÄâ°à.
  ÇëÒÔºóÔÙÀ´!
  <p><center>
  !href cmd=close&module=home WIMS
  </center>
  </body></html>
  !exit
!endif  

:end
<p>Èç¹ûÄãµã»÷ÁËÄ³Ò³ÃæµÄÁ´½Ó¶ø³öÏÖÁËĿǰµÄÐÅÏ¢,
ÄÇôºÜ¿ÉÄÜÊÇÒòΪ´ËÁ´½ÓûÓÐ×¼±¸ºÃ.
ÇëÄãÁªÏµÄǸöÒ³ÃæµÄ×÷Õ߸æËßËûÕâ¸ö´íÎó.
Ò²¿ÉÒÔ·¢µçÓʸø
<a href="mailto:$wims_site_manager?subject=wims.cgi">ÍøÕ¾¹ÜÀíÔ±</a>,
¸æËßËû´íÎó·¢ÉúµÄϸ½Ú.

:end2
<hr><p>
<center>
!href module=home&cmd=new Ö÷Ò³
</center>

</body></html>