
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?>

<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>

<?php if (count($this->tbody)): ?>
<table cellpadding="0" cellspacing="0" class="all_records" summary="">
<thead>
  <tr>
    <th class="head<?php echo $col['class']; ?>"><?php echo $this->listtitle; ?></th>
  </tr>
</thead>
<tbody>
<?php foreach ($this->tbody as $class=>$row): ?>
  <tr class="<?php echo $class; ?>">
    <td class="body <?php echo $row['class']; ?>"><?php echo $row['content']; ?></td>
  </tr>
<?php endforeach; ?>
</tbody>
</table>
<?php echo $this->pagination; ?>
<?php endif; ?>
</div>
