<?cs include:"super_util.cs" ?>

<?cs def:show_last_login() ?>
<table>
<tr><td align="center">
  <table  border="0" cellspacing="10">
   <tr>
      <td><img src="<?cs var:image_path ?>attach_locked.gif" alt="" height="63" width="80"></td>
      <td class="small" valign="top" align="center">
              <?cs var:lang.super_admin_page.current_time_prompt ?><br />
              <b><?cs var:current_time ?></b><br />
              <?cs var:lang.super_admin_page.current_host_prompt ?><br />
              <b><?cs var:CGI.RemoteHost ?></b>
      </td>
      <?cs if:last_time ?>
        <td class="small" valign="top" align="center">
           <?cs var:lang.super_admin_page.last_login_prompt ?><br />
           <b><?cs var:last_time ?></b><br />
           <?cs var:lang.super_admin_page.last_host_prompt  ?><br />
           <b><?cs var:last_remote_host  ?></b>
       </td>
     <?cs else ?>
        <td class="small" align="center">
           <?cs var:lang.super_admin_page.welcome_msg ?>
       </td>
     <?cs /if ?>
    
   </tr>
 </table>
</td></tr>
</table>
<?cs /def ?>


<?cs def:print_welcome_message() ?>
   <fieldset>
   <legend> <?cs var:lang.super_admin_page.welcome ?> <?cs var:page_title ?></legend>
   <div class="instruction"> 
     <?cs var:lang.super_admin_page.task_intro ?>
     <ul>
     <?cs each:task = lang.super_admin_page.task ?> 
       <li><p><?cs var:task ?></p></li>
     <?cs /each ?>
    </ul>
   </div> 
  </fieldset>
<?cs /def ?>







<?cs def:lock_msg() ?>
   <fieldset>
   <legend> <?cs var:lang.admin_page.server_is_locked ?></legend>
    <table border="0">
      <tr><td> <img src="<?cs var:image_path ?>exclamation_point.gif" alt="" valign="middle"> </td>
          <td valign="middle"><h2><?cs var:lang.super_admin_page.server_locked_explanation ?> </h2></td>
      </tr>
    </table>
  </fieldset>
<?cs /def ?>




<?cs call:html_header() ?>
   <head>
      <title><?cs var:page_title ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <link rel="StyleSheet" href="<?cs var:image_path ?>super_template.css" type="text/css"  />
   <?cs call:addDoIMenu() ?>
  </head>
<body>
  <div id="container">
     <?cs call:top_container() ?>
     <?cs call:doIMenu() ?>
     <div id="content">
     <?cs if:Query.first ?>
        <?cs call:show_last_login() ?>
     <?cs /if ?>
     <?cs if:!server_open_for_logins ?>
      <?cs call:lock_msg() ?>
     <?cs /if ?> 
     <?cs call:print_welcome_message() ?>
    </div>
  </div>
</body>
</html>
<?cs call:runtime() ?>
