!if robot isin $session
 
  !set wims_htmlbody=
 
!endif
 
!if _tool isin $wims_session
 
  !set wims_html_onload=window.focus();window.resizeTo(800,650);window.moveTo(15,35);$wims_html_onload
 
!endif
 
 
 
!read adm/css.phtml
 
 
 
!set home_theme=!text select 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz/ in $wims_theme
 
!default home_theme=default
 
 
 
!let site_logo=!defof site_logo\
 
site_logolink in wimshome
/log/wims
.conf
 
!distribute line $site_logo into site_logo,site_logolink
 
!if $wims_frontmsg!=$empty
 
  !! Add the "news.css"
 
  !set wims_html_header
= !append line 
<link rel
="stylesheet" href
="html/themes/_css/news.css"/>\
  
  to $wims_html_header
 
  !! Add the slick carousel CSS
 
  !set wims_html_header
= !append line 
<link rel
="stylesheet" href
="scripts/js/external/slick/slick.min.css"/>\
  
  <link rel
="stylesheet" href
="scripts/js/external/slick/slick-theme.css" charset
="UTF-8"/>\
  
  to $wims_html_header
 
!endif
 
!header1
 
 
 
!robottrap
 
 
 
!if robot isin $session
 
  !changeto ./robot.phtml
 
!endif
 
!if $directworksheet!=$empty
 
  !readproc names.$lang
 
  !changeto launchseries.phtml
 
!endif
 
 
 
!if $special_parm=logo
 
  </div>
 
  <div id="wimsbodybox">
 
   <div id="wimspagebox">
 
    !read ./logo/logo.phtml.$lang
 
   </div>
 
  </div>
 
!endif
 
 
 
!if $special_parm=download
 
  <div class="wims_msg alert">Sorry, this page no more exists.</div>
 
  !! is special_parm=download really still used ?
 
!endif
 
 
 
!if $wims_user=$empty
 
  !changeto theme.phtml visitor
 
!endif
 
 
 
!if $wims_user_lastconnect!=$empty
 
  <div class="wims_msg info">
 
    $wims_name_lastconnect 
 
    !read 
date.phtml 
$wims_user_lastconnect  
  </div>
 
  !setdef wims_user_lastconnect
=$empty in wimshome
/sessions
/$wims_session/var.stat  
  !reset wims_user_lastconnect
  
!endif
 
 
 
!if $wims_user=supervisor and $style!=student
 
  !changeto theme.phtml supervisor
 
!else
 
  !changeto theme.phtml user
 
!endif