<?php if($post->thumbnail): ?>
<div class="post-thumb">
    <?php echo $this->getImageLink($post, $image_css) ?>
</div>
<?php endif; ?>
<?php if($post->title): ?>
<div class="post-title">
    <?php echo $this->getTitleLink($post, $title_css) ?>
</div>
<?php endif; ?>