<?php foreach ($announces as $announce): ?>
<div class="announce"> 
    <?php if (!empty($announce['image']['src'])): ?>
    <div class="announce-image">
        <a href="<?php echo htmlspecialchars($announce['link']) ?>" title="<?php echo htmlspecialchars($announce['title']) ?>">
            <img alt="<?php echo htmlspecialchars($announce['title']) ?>" src="<?php echo htmlspecialchars($announce['image']['src']) ?>" width="<?php echo $announce['image']['width'] ?>" height="<?php echo $announce['image']['height'] ?>" border="0" />
        </a>
    </div>
    <?php endif; ?>
    <div class="announce-title">
        <a href="<?php echo htmlspecialchars($announce['link']) ?>"><?php echo $announce['title'] ?></a>
    </div>
    <div class="announce-annotation">
        <?php echo $announce['annotation'] ?>
    </div>
    <div class="announce-date">
        <?php echo $announce['date'] ?>
    </div>
</div>
<?php endforeach; ?>
<?php if (!empty($pager)): ?>
<?php echo $pager; ?> 
<?php endif; ?>