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

<?cs def:print_table_heading() ?>
  <tr>
    <?cs each:this = lang.super_clean.heading ?>
     <th><?cs var:this ?></th>
    <?cs /each ?>
  </tr>
<?cs /def ?>

<?cs def:print_one_file(data) ?>
  <?cs each:this = data.file ?>
   <tr>
     <td><?cs var:this.filename ?></td>
     <td><?cs var:this.time ?></td>
     <td align="right"><?cs var:this.size ?></td>
  </tr>
  <?cs /each ?>
<?cs /def ?>






<?cs def:print_deleted_files(data, heading, explanation) ?>

<h2><?cs var:heading ?></h2>
<p><?cs var:explanation ?></p>
<i><?cs var:current_time ?></i>
<?cs if:data.files_deleted ?>
<table  cellspacing="0" cellpadding="5" border="1">
   <?cs call:print_table_heading() ?>
   <?cs call:print_one_file(data) ?>
</table>
<?cs /if ?>
<h4><?cs var:lang.super_clean.num_files ?> <?cs var:data.files_deleted ?></h4>
<h4><?cs var:lang.super_clean.total_size ?> <?cs var:data.bytes_deleted ?></h4>
<?cs /def ?>





<?cs def:print_deleted_symlinks(data, heading, explanation) ?>

<h2><?cs var:heading ?></h2>
<p><?cs var:explanation ?></p>
<i><?cs var:current_time ?></i>
<?cs if:data.files_deleted ?>
<table  cellspacing="0" cellpadding="5" border="1">
  <tr><th><?cs var:lang.super_clean.heading.0 ?></th><th><?cs var:lang.super_clean.heading.1 ?></th></tr>

  <?cs each:this = data.file ?>
   <tr>
     <td><?cs var:this.filename ?></td>
     <td><?cs var:this.time ?></td>
  </tr>
  <?cs /each ?>

</table>
<?cs /if ?>
<h4><?cs var:lang.super_clean.num_files ?> <?cs var:data.files_deleted ?></h4>
<?cs /def ?>




   

<?cs def:print_deleted_clipboards() ?>

<h2><?cs var:lang.super_clean.clipboard_summary ?></h2>
<p><?cs var:lang.super_clean.clipboard_explain ?></p>
<i><?cs var:current_time ?></i>
<?cs if:number_processed_dirs ?>
<table  cellspacing="0" cellpadding="5" border="1">
  <tr><th><?cs var:lang.super_clean.clipboard_userid ?></th><th><?cs var:lang.super_clean.clipboard_timecreated ?></th></tr>
  <?cs each:this = clipboard ?>
    <tr><td><?cs var:this.userid ?></td><td><?cs var:this.createdtime ?></td></tr>
  <?cs /each ?>
</table>
<?cs /if ?>
<h4><?cs var:lang.super_clean.total_visited ?> <?cs var:number_visited_dirs ?></h4>
<h4><?cs var:lang.super_clean.total_processed ?> <?cs var:number_processed_dirs ?></h4>
<?cs /def ?>






<?cs def:print_content() ?>
<fieldset>
<legend>
      <?cs var:lang.super_clean.page_title ?>
</legend>
<?cs call:print_deleted_files(tmp, lang.super_clean.tmp_summary, lang.super_clean.tmp_explain ) ?>
<br />
<br />
<?cs call:print_deleted_symlinks(image, lang.super_clean.image_summary, lang.super_clean.image_explain ) ?>
<br />
<br />
<?cs call:print_deleted_clipboards() ?>
</fieldset>

<?cs /def ?>

<?cs call:html_header() ?>
   <head>
      <title><?cs var:lang.super_clean.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>

