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

<?cs def:print_result(data) ?>
   <table width="100%">
    <tr><td align="center">
    <div class="regheading"><?cs var:data.title ?></div>
    <table cellspacing="0" cellpadding="4" border="1">
     <tr>
        <td class="regheading"><?cs var:data.name ?></td> 
        <td><?cs var:exercise ?></td> 
     </tr>
     <tr>
        <td class="regheading"><?cs var:data.filename ?></td> 
        <td><?cs var:orig_fname ?></td> 
     </tr>
     <tr>
        <td class="regheading"><?cs var:data.time_submit ?></td> 
        <td><?cs var:current_time ?></td> 
     </tr>
     <tr>
        <td class="regheading"><?cs var:data.score ?></td> 
        <td><?cs var:score ?></td> 
     </tr>
     <tr>
        <td class="regheading"><?cs var:data.elapsed ?></td> 
        <td><?cs var:elapsed_time ?></td> 
     </tr>
    </table>
    <div><br /><?cs var:data.note ?>
    </div>
    <div><br /><form action="">
    <input type="button" value="<?cs var:data.close ?>" title="<?cs var:data.close_help ?>" onclick="window.close()" />
    </form></div>
    </td></tr>
   </table> 
<?cs /def ?>


<?cs call:html_heading() ?>
<head>
<title><?cs var:course_no ?><?cs var:lang.hotpotato_record.title?> </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="StyleSheet" href="<?cs var:image_path ?>common.css" type="text/css"  />
<link rel="StyleSheet" href="<?cs var:image_path ?>manhattan.css" type="text/css"  />
</head>
<?cs call:define_body() ?>
  <?cs call:print_result(lang.hotpotato_record) ?>
</body>
</html>
<?cs call:runtime() ?>
