<!-- begin of visitor.phtml -->
!! WIMS main entrance page theme.
!nocache
!if $module!=home
!endif
!!!!! provisoire
!set wims_name_n_participant=$V_stu
!set wims_name_n_supervisor=$V_sup
!set wims_name_n_example=$V_ex
!set wims_name_mod_new=$N_New
!set wims_name_browse=$N_browse2
!set wims_name_sheet=$V_shs
!set wims_name_dochelp=$E_dochelp
!set wims_name_faq=$E_faq
!set wims_name_doctec=$E_doc
!set wims_name_download=$E_src
!set wims_name_stat=$E_stat
!set wims_name_ref=$E_ref
!set wims_name_pref=$N_Pref
!set wims_name_mirror=$N_Mirror
!set wims_name_forum=$N_Forum
!!!!
!set home_theme=yes
!set table_colors=$wims_ref_bgcolor,$wims_ref_bgcolor
</div>
!!!set wims_headmenu_colcnt=5
<div id="wimstopbox" style="background-color:$wims_ref_bgcolor;">
<div class="wimsmenu">
<span class="menuitem">
<span id="wimslogo">
!href module=home&special_parm=logo <img src="gifs/logo.gif" border=0 alt="WIMS logo">
</span><!--wimslogo-->
</span><!--menuitem-->
!for i=1 to $wims_language_cnt
!set l=!word $i of $wims_site_languages
!if $l!=$lang
!if $wims_language_cnt>2 and $wims_language_cnt<6
!set l_=<small>$(lang_name_$l)</small>
!else
!if $wims_language_cnt<6
!set l_=$(lang_name_$l)
!else
!endif
!endif
<span class="menuitem">
!href lang=$l&session=$wims_session.1&module=$module <img src="gifs/$l.gif" alt="$(Lang_name_$l)" height=16 border=0>$l_
<!-- don't remove this empty line or leading whitespace. Flag spacing depends on it. -->
</span><!--menuitem-->
!endif
!next i
<div class="itemsep"></div><!--itemsep-->
</div><!--wimsmenu-->
<div class="wimsmenu">
!!!if $gotcnt<=0 and $s_keywords=$empty
<span class="menuitem">$V_cls</span><!--menuitem-->
<span class="menuitem">
!read ./adm/oneitem.phtml n_participant,1,module=adm/class/classes&type=participant
</span><!--menuitem-->
<span class="menuitem">
!read ./adm/oneitem.phtml n_supervisor,1,module=adm/class/classes&type=supervisor
!! !href module=adm/class/classes&type=supervisor $im "gifs/themes/$wims_theme_image/n_supervisor.gif" alt="V_sup" title="V_sup"> $V_sup
</span><!--menuitem-->
<span class="menuitem">
!read ./adm/oneitem.phtml n_example,1,module=adm/class/classes&type=example
!! !href module=adm/class/classes&type=example $im "gifs/themes/$wims_theme_image/n_example.gif" alt="n_example" title="n_example"> $V_ex
</span><!--menuitem-->
!!<div class="menuitem">
!! !href module=help/main&chapter=3 $N_help
!!</div><!--menuitem-->
!!!endif
</div><!--wimsmenu-->
</div>
<div id="wimsbodybox">
<div id="wimspagebox">
<div class=wimsbody>
<div id="wims_title">
<h1 class="wims_title">
$V_title
</h1>
<h2 class="wims_subtitle">
(WIMS) $N_at <a href="/">$httpd_HTTP_HOST</a>
</h2>
</div>
!if $wims_ismanager!=0
<center>
!href module=adm/manage $N_manage
</center> <p>
!endif
!read ./form.phtml
!read ./result.phtml
</div>
!set wims_show_stat=!tolower $wims_show_stat
!!!if yes isin $wims_show_stat
!! !set span=4
!!!else
!! !set span=2
!!!endif
</div><!--wimspagebox-->
<div id="wimsmenumodubox" style="background-color:$wims_ref_bgcolor;">
<div class="wimsmenu">
<div class="menuitem">
!read ./adm/oneitem.phtml mod_new,1,module=adm/new
</div><!--menuitem-->
!if $has_browse=yes
<div class="menuitem">
!read ./adm/oneitem.phtml browse,1,module=adm/browse&$browse_parm
</div><!--menuitem-->
!endif
<div class="menuitem">
!read ./adm/oneitem.phtml sheet,1,cmd=new&module=home&search_keywords=&search_category=S#searchform
</div><!--menuitem-->
<div class="menuitem">
!read ./adm/oneitem.phtml n_example,1,module=adm/class/classes&type=example
</div><!--menuitem-->
<div class="itemsep"></div>
<div class="menuitem">
!read ./adm/oneitem.phtml help,4,module=help/main,help
</div><!--menuitem-->
!!!if $gotcnt<=0 and $s_keywords=$empty
!if $lang=fr
<div class="menuitem">
!read ./adm/oneitem.phtml dochelp,1,module=adm/doc
</div>
<div class="menuitem">
!read ./adm/oneitem.phtml faq,1,module=help/teacher/faq
</div>
!endif
<div class="menuitem">
!read ./adm/oneitem.phtml doctec,1,module=help/wimsdoc
</div>
<div class="itemsep">$CR_1</div>
<div class="menuitem">
!read ./adm/oneitem.phtml createxo,1,module=adm/createxo
</div><div class="menuitem">
!read ./adm/oneitem.phtml modtool,1,module=adm/modtool
</div>
<div class="menuitem">
!read ./adm/oneitem.phtml quicktool,1,cmd=new&module=adm/quicktool
</div>
<div class="menuitem">
!read ./adm/oneitem.phtml latex2wims,1,cmd=new&module=adm/latex2wims
</div>
<div class="itemsep"></div>
<div class="menuitem">
!read ./adm/oneitem.phtml download,1,module=adm/light&phtml=download.phtml.$lang
</div>
!if yes isin $wims_show_stat
<div class="menuitem">
!read ./adm/oneitem.phtml stat,1,module=adm/stat/stat
</div>
<div class="menuitem">
!read ./adm/oneitem.phtml ref,1,module=adm/stat/referer
</div>
!endif
<div class="itemsep"></div>
!!!endif
</div><!--wimsmenu-->
</div><!--wimsmenumodubox-->
<div id="wimsmenubox" style="background-color:$wims_ref_bgcolor;">
<div class="wimsmenu">
<span class="menuitem">
!read ./adm/oneitem.phtml pref,1,module=adm/light&phtml=useropts.phtml.$lang
</span><!-- menuitem-->
<span class="menuitem">
!read ./adm/oneitem.phtml mirror,1,module=adm/light&phtml=mirror.phtml.$lang
</span><!-- menuitem-->
<span class="menuitem">
!read ./adm/oneitem.phtml forum,1,module=adm/forum/forum
</span><!-- menuitem-->
!if $wims_theme_icon!= and $wims_theme_icon!=default
<span class="menuitem">
!read ./adm/oneitem.phtml iconabout,1,module=adm/light&phtml=iconabout.phtml
</span><!-- menuitem-->
!endif
</div><!--wimsmenu-->
</div><!--wimsmenubox-->
</div><!--wimsbodybox-->
<div id="wimstailbox">
<div class="wimstail">
<div class="tailitem">WIMS-$wims_version $E_comp $wims_version_date.</div>
<div class="tailitem">$E_manager
!mailurl $wims_site_manager\
WIMS: $httpd_HTTP_HOST
.</div><!--tailitem-->
!robottrap
</div><!--wimstail-->
</div><!--wimstailbox-->
</body></html>
<!-- end of visitor.phtml -->