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

<?cs def:print_delete_course(one) ?>
<table width="100%">
  <tr><td align="center">
   <div>
    <?cs var:one.title ?> <?cs var:one.semester ?> (<?cs var:one.instructor ?>) <?cs var:lang.super_delete_course.deleted ?>  <i><?cs var:current_time ?></i>
   </div>
   <div>
     <?cs var:one.count ?> <?cs var:lang.super_delete_course.num_people ?> 
   </div>
   <table cellspacing="0" border="1" cellpadding="4">
   <tr>
    <th><?cs var:lang.super_delete_course.id ?></th>
    <th><?cs var:lang.super_delete_course.username ?></th>
    <th><?cs var:lang.super_delete_course.fullname ?></th>
   </tr>
    <?cs each:this = one.std ?>
     <tr>
      <td><?cs var:this.id ?></td>
      <td><?cs var:this.username ?></td>
      <td><?cs var:this.realname ?></td>
     </tr>
    <?cs /each ?>
  </table>
</td></tr></table>
<?cs /def ?>

<?cs def:print_content() ?>
 <fieldset>
 <legend>
      <?cs var:lang.super_delete_course.page_title ?>
 </legend>
   <?cs each:this = del_course ?>
     <?cs call:print_delete_course(this) ?>
   <?cs /each ?>
 </fieldset>
<?cs /def ?>

<?cs call:html_header() ?>
   <head>
      <title><?cs var:lang.super_delete_course.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 call:print_content() ?>
 </div>
</div>
</body>
</html>
<?cs call:runtime() ?>
