Subversion Repositories wimsdev

Rev

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

  1. !! WIMS main entrance page theme.
  2. !nocache
  3. !if $module!=home
  4.  !exit
  5. !endif
  6.  
  7. !set home_theme=yes
  8. !set table_colors=$wims_ref_bgcolor,$wims_ref_bgcolor
  9. </div><div class=wimsmenu>
  10. <center>
  11. <table border=0 cellspacing=0 cellpadding=0 width=100%>
  12. <tr>
  13. <td align=left valign=middle width="15%">
  14.   <table align=left border=0 cellspacing=0 cellpadding=0>
  15.   <tr><td align=center valign=bottom>
  16.   !href module=home&special_parm=logo <IMG SRC=gifs/logo.gif border=0 alt="WIMS logo">
  17.   </td></tr></table></td>
  18. <td align=center valign=bottom nowrap>
  19.   <br><font size=+2><b>$V_title</b></font>
  20.   <br><font size=-1>(WIMS) $N_at <a href=/>$httpd_HTTP_HOST</a></font>
  21. <br> <br>
  22. !set wims_headmenu_colcnt=5
  23. $table_header
  24. $table_tr<td align=center>
  25. !href module=adm/new $N_new
  26. </td><td align=center>
  27. !href module=adm/forum/forum $N_forum
  28. </td><td align=center>
  29. !href module=adm/light&phtml=mirror.phtml.$lang $N_mirror
  30. </td><td align=center>
  31. !href module=adm/light&phtml=useropts.phtml.$lang $N_pref
  32. </td><td align=center>
  33. !href module=help/main $N_help
  34. </td></tr>
  35. $table_tr<td align=center colspan=$wims_headmenu_colcnt>
  36. !for i=1 to $wims_language_cnt
  37.  !set l=!word $i of $wims_site_languages
  38.  !if $l!=$lang
  39.   !if $wims_language_cnt>2 and $wims_language_cnt<6
  40.    !set l_=<small>$(lang_name_$l)</small>
  41.   !else
  42.    !if $wims_language_cnt<6
  43.     !set l_=$(lang_name_$l)
  44.    !else
  45.     !reset l_
  46.    !endif
  47.   !endif
  48.   !href lang=$l&session=$wims_session.1&module=$module <img src=gifs/$l.gif alt="$(Lang_name_$l)" height=16 border=0>$l_
  49.    <!-- don't remove this empty line or leading whitespace. Flag spacing depends on it. -->
  50. !endif
  51. !next i
  52.  $table_end
  53. </td><td width="10%">&nbsp;</td>
  54. </tr>
  55. !if $gotcnt<=0 and $s_keywords=$empty
  56.  <tr><td>&nbsp;</td><td align="center">
  57.  $table_header
  58. $table_tr<td align=center>$V_cls</td>
  59. <td align=center>
  60. !href module=adm/class/classes&type=participant $V_stu
  61. </td><td align=center>
  62. !href module=adm/class/classes&type=supervisor $V_sup
  63. </td><td align=center>
  64. !href module=adm/class/classes&type=example $V_ex
  65. </td><td align=center>
  66. !href module=help/main&chapter=3 $N_help
  67.   </td></tr>$table_end
  68.  </td></tr>
  69. !endif
  70. </table></center>
  71.  
  72. </div><div class=wimsbody> <p>
  73.  
  74. !if $wims_ismanager!=0
  75. <center>
  76. !href module=adm/manage $N_manage
  77. </center> <p>
  78. !endif
  79.  
  80. !read ./form.phtml
  81. !read ./result.phtml
  82.  
  83. </div><div class=wimstail><hr> <p>
  84.  
  85. !set wims_show_stat=!tolower $wims_show_stat
  86. !if yes isin $wims_show_stat
  87. !set span=4
  88. !else
  89. !set span=2
  90. !endif
  91.  
  92. $table_header
  93. $table_tr<td align=center nowrap colspan=$span>
  94. <small>$CR_1
  95. !href module=adm/createxo $CR_OEF
  96. $N_or
  97. !href module=adm/modtool $CR_mod
  98. !if $gotcnt<=0 and $s_keywords=$empty
  99. $table_tr<td align=center nowrap><small>
  100. !href module=help/wimsdoc.en $E_doc
  101. <td align=center nowrap>
  102. <small><a href="http://wims.unice.fr/download/wims/">$E_src</a>
  103.  
  104. !if yes isin $wims_show_stat
  105.  <td align=center nowrap><small>
  106.  !href module=adm/stat/referer $E_ref
  107.  <td align=center nowrap><small>
  108.  !href module=adm/stat/stat $E_stat
  109. !endif
  110. !endif
  111. $table_end <p>
  112. <font size=-1>
  113. WIMS-$wims_version $E_comp $wims_version_date.
  114. $E_manager
  115. !mailurl $wims_site_manager\
  116. WIMS: $httpd_HTTP_HOST
  117. .
  118. </font>
  119. !robottrap
  120. </BODY></HTML>
  121.  
  122.