<div class="clear"></div>
<?php if ($title): ?>
  <h2><?php print $title; ?></h2>
<?php endif; ?>

<?php foreach ($rows as $id => $row): ?>
  <div class="<?php print $classes[$id]; ?>">
    <?php print $row; ?>
  </div>
  <?php if (stripos($classes[$id],'views-row-last') === FALSE): ?>
    <div class="views-separator"></div>
  <?php endif; ?>
<?php endforeach; ?>
<div class="clear"></div>