
<?php if ($this->header): ?>
<div class="header<?php echo $this->hclass; ?>">
<?php echo $this->firstDate; if ($this->firstDay): ?> <span class="day">(<?php echo $this->firstDay; ?>)</span><?php endif; ?> 
</div>

<?php endif; ?>
<div class="event<?php echo $this->class; ?>">
<?php if ($this->details): ?>
<h2><a href="<?php echo $this->link; ?>" title="<?php echo $this->title; ?> (<?php if ($this->day): echo $this->day; ?>, <?php endif; echo $this->date; if ($this->time): ?>, <?php echo $this->time; endif; ?>)"<?php echo $this->target; ?>><?php echo $this->title; ?></a></h2>
<?php else: ?>
<h2><?php echo $this->title; ?></h2>
<?php endif; ?>
<?php if ($this->time || $this->span): ?>
<div class="time">
<?php echo $this->time . $this->span; ?> 
</div>
<?php endif; ?>
<div class="ce_text">
<?php echo $this->teaser; ?>
</div>
<?php if ($this->details): ?>
<p class="more"><a href="<?php echo $this->link; ?>" title="<?php echo $this->more; ?>"<?php echo $this->target; ?>><?php echo $this->more; ?></a></p>
<?php endif; ?>
</div>
