!! WIMS main entrance page theme.
!nocache
!if $module!=home
!endif
!set home_theme=yes
!set table_colors=$wims_ref_bgcolor,$wims_ref_bgcolor
</div>
<div class="wimsmenu">
<center>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" valign="middle" width="15%">
<table align="left" border="0" cellspacing="0" cellpadding="0">
<tr><td align="center" valign="bottom">
!href module=home&special_parm=logo <img src="gifs/logo.gif" border="0" alt="WIMS logo">
</td></tr></table></td>
<td align="center" valign="bottom" nowrap>
<br><font size="+2"><b>$V_title</b></font>
<br><font size="-1">(WIMS) $N_at <a href="/">$httpd_HTTP_HOST</a></font>
<br> <br>
!set wims_headmenu_colcnt=5
$table_header
$table_tr<td align="center">
!href module=adm/new $wims_name_mod_new
</td><td align="center">
!href module=adm/forum/forum $wims_name_forum
</td><td align="center">
!href module=adm/light&phtml=mirror.phtml.$lang $wims_name_mirror
</td><td align="center">
!href module=adm/light&phtml=useropts.phtml.$lang $wims_name_pref
</td><td align="center">
!href module=help/main $wims_name_help
</td></tr>
$table_tr<td align="center" colspan="$wims_headmenu_colcnt">
!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
!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. -->
!endif
!next i
$table_end
</td><td width="10%"> </td>
</tr>
!if $gotcnt<=0 and $s_keywords=$empty
<tr><td> </td><td align="center">
$table_header
$table_tr<td align="center">$V_cls</td>
<td align="center">
!href module=adm/class/classes&type=participant $wims_name_n_participant
</td><td align="center">
!href module=adm/class/classes&type=supervisor $wims_name_n_supervisor
</td><td align="center">
!href module=adm/class/classes&type=example $wims_name_n_example
</td><td align="center">
!href module=help/main&chapter=3 $wims_name_help
</td></tr>$table_end
</td></tr>
!endif
</table></center>
</div><div class="wimsbody"> <p>
!if $wims_ismanager!=0
<center>
!href module=adm/manage $N_manage
</center> <p>
!endif
!read ./form.phtml
!read ./result.phtml
</div><div class="wimstail"><hr> <p>
!set wims_show_stat=!tolower $wims_show_stat
!if yes isin $wims_show_stat
!set span=4
!else
!set span=2
!endif
$table_header
$table_tr<td align="center" nowrap colspan="$span">
<small>$CR_1
!href module=adm/createxo $CR_OEF
$wims_name_or
!href module=adm/modtool $CR_mod
</small>
!if $gotcnt<=0 and $s_keywords=$empty
$table_tr<td align="center" nowrap><small>
!if $lang=cn
!href module=help/wimsdoc.cn $wims_name_doctec
!else
!href module=help/wimsdoc.en $wims_name_doctec
!endif
</small>
<td align="center" nowrap>
<small>
!href module=adm/light&phtml=download.phtml.$lang $wims_name_download
</small>
!if yes isin $wims_show_stat
<td align="center" nowrap><small>
!href module=adm/stat/referer $wims_name_ref
</small>
<td align="center" nowrap><small>
!href module=adm/stat/stat $wims_name_stat
</small>
!endif
!endif
$table_end <p>
<font size="-1">
WIMS-$wims_version $E_comp $wims_version_date.
$E_manager
!mailurl $wims_site_manager\
WIMS: $httpd_HTTP_HOST
.
</font>
!robottrap
</div></body></html>