Subversion Repositories wimsdev

Rev

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

  1. !nocache
  2. !set wims_html_header=!append line $oefcss to $wims_html_header
  3. !header1
  4. <center><h3>
  5. !href module=$module&cmd=intro WIMS
  6.  $module_title<br>
  7. <font size="-1">--- $name_print ---</font></h3></center>
  8.  
  9.  
  10. !if $error!=$empty
  11.  !changeto oef/msg.phtml
  12. !endif
  13.  
  14. !if ($wims_developer!= or $wims_user!=supervisor) and $latex_exists=1
  15.   <center>
  16.   !read oef/latex.proc print
  17.   </center>
  18. !endif
  19. !for i=1 to $n
  20.  <div class="emptyline">&nbsp;</div>
  21.  <b>$name_exo</b> $i. (<u><em>$(title_$i)</em></u>)
  22.  !if $(question_$i)=$empty
  23.   ($name_noprint)
  24.  !else
  25.   !if __EXECUTED_ isin $(question_$i) and _EXERCISE__ isin $(question_$i)
  26.    !set thisexo=$(name_$i)
  27.    !readproc oef/imagedir.proc
  28.    !for k=1 to $(varcnt_$i)+5
  29.     !set val$k=!line $k of $(var_$i)
  30.    !next k
  31.    !read $(class_header)def/$(name_$i).def question
  32.   !else
  33.    $(question_$i)
  34.   !endif
  35.   $(chce_$i)
  36.  !endif
  37. !next i
  38.  
  39. !if $wims_user!=$empty and $wims_user!=supervisor
  40.  !goto noans
  41. !endif
  42.  
  43. !if $test_print=1
  44. <div class="emptyline">&nbsp;</div><hr>
  45. <div class="wims_solution">
  46. <center><h3>$name_answers</h3></center>
  47. !for i=1 to $n
  48.  !set t=!linecnt $(ans_$i)
  49.  !if $t>0
  50.   <div class="emptyline">&nbsp;</div>
  51.   <b>$name_answer_i.</b><ul>
  52.   !for k=1 to $t
  53.   !set l__=!line $k of $(ans_$i)
  54.   !if $l__ !=
  55.    <li value="$k">
  56.    !line $k of $(ans_$i)
  57.    </li>
  58.   !reset l__
  59.   !endif
  60.   !next k
  61.   </ul>
  62.  !endif
  63. !next i
  64. </div>
  65. !endif
  66.  
  67. :noans
  68. </div>
  69.  
  70. !set wims_menu_items=!append line renew,1,cmd=reply&print=yes\
  71. back2,1,module=$module&cmd=intro\
  72. to $wims_menu_items
  73. !tail
  74.  
  75.  
  76.