Subversion Repositories wimsdev

Rev

Rev 11943 | Rev 15416 | 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=gb2312
Cache-Control: no-cache
Pragma: no-cache

<!DOCTYPE html>
<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">

  <!-- General theme style -->
  <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css">
  <style type="text/css">
   input[type="submit"],input[type="button"],.wims_button{ background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color;}
   .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;}
  </style>

  !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 class="wims_center">´íÎó</h1>
    !goto examerr
  !endif

</head><body class="user_error">

!if threshold iswordof $wims_user_error
  <h1 class="wims_center">Ä¿Ç°Õýæ</h1>
  <hr style="width:50%"/><p>
  ±¾ WIMS ·þÎñÆ÷ <font color="blue">$httpd_HTTP_HOST</font>
  Ä¿Ç°ÓÉÓÚ´óÁ¿µÄÇëÇó¶ø³¬ÔØ,
  ²»ÄÜÔÙ½ÓÊÜеÄÓû§. ÇëÉÔºóÔÙÀ´,
  »ò·ÃÎÊÆäËû WIMS ¾µÏñÕ¾.
  </p>ÎÒÃǶÔÓÉ´Ë´øÀ´µÄ²»±ã±íʾǸÒâ,
  Ï£ÍûºÜ¿ì¾ÍÄܼÌÐøΪÄú·þÎñ.
  !read mirror.phtml.cn
  !goto end_html
!endif

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

!if ++++missing_ isin ++++$wims_user_error
  <h1 class="wims_center">±§Ç¸</h1>
  <hr style="width:50%"/>
  <p>
    WIMS ÐèÒªÈí¼þ
    !set miss=!upper $missing_software
    <span class="wims_warning">$miss</span>
    À´´¦ÀíÄãµÄÇëÇó, ¿ÉÊÇÔÚ±¾·þÎñÆ÷ÉÏ´ËÈí¼þ²»¿ÉÓÃ
    (»ò WIMS ¿´²»µ½).</p>
  <p>
    Äã¿ÉÒÔ·¢µçÓÊ
    <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write
    ¸øÍøÕ¾¹ÜÀíÔ±</a>±¨¸æ´ËÎÊÌâ,
    »òÁíÑ¡Ò»¸ö¾µÏñÕ¾</p>
  <p><a href="wims.cgi">WIMS Ö÷Ò³</a></p>
  !read mirror.phtml.cn
  !goto end_html
!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 Ò³ÃæÊǶ¯Ì¬Éú³ÉµÄ.
  ²»ÄÜÀëÏßʹÓÃ.
  !goto end_html
!endif

<h1 class="wims_center">WIMS ´íÎó</h1><hr/>
!if no_access notwordof $wims_user_error
 <p>Äã¶Ô±¾ WIMS ·þÎñÆ÷·¢³öµÄÇëÇóÀïÓдí.</p>
!endif
!if module_change iswordof $wims_user_error
 !if $wims_human_access=yes
  Çë±ÜÃâʹÓÃä¯ÀÀÆ÷µÄ `·µ»Ø' ¼ü,
  ÒòΪÄãÃæ¶ÔµÄÊÇ»¥¶¯µÄ·þÎñÆ÷.
  <p class="wimscenter">
  !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
   </p>
   <small>Èç¹ûÄãÏëÍ˳ö±¾Õ¾,
   ÇëºöÂÔ´ËÐÅÏ¢²¢¼ÌÐø°´ `·µ»Ø'.</small>
  !endif
  !goto end_html
 !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
 !goto end_html
!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> ÓÐЧµÄÃüÁîÊÇ: </p><pre>
  new, renew, reply, hint, config </pre>
!endif

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

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

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

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

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

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

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

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

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

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

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

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

!if too_many_variables iswordof $wims_user_error
  Äã´«Ë͵IJÎÊý¸öÊý³¬ÏÞ.
!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/><div class="wimscenter">
  !href cmd=resume È¡ÏûÉÏÒ»¸öÇëÇó
, »ò
  !href $ wims home
.</div>
  !goto end_html
!endif

!if wrong_module iswordof $wims_user_error
  !set tmp=!translate "!/<>;': to $         $ in $module
  ±¾Õ¾²»´æÔÚÄãÇëÇóµÄÄ£¿é <code>$tmp</code>.
!endif

!if wrong_session iswordof $wims_user_error
  »á»°ºÅ ``$session'' ÎÞЧ (»òÒÑʧЧ).
  <a href="wims.cgi">´´½¨Ð»Ự</a>.
!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 class="wimscenter">
  <a href=# onclick="window.close();$wims_opener">Çë¹Ø±Õ´Ë´°¿Ú</a>.
  </p>
  !goto end_html
!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>.
  </p></body></html>
  !goto end_html
!endif

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

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

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

:end2
<div class="wimscenter">
  !set wims_ref_class=wims_button home
  !href module=home&cmd=new Ö÷Ò³
</div>

:end_html
</body></html>