Condition Using Category

<?php if(Mage::registry(‘current_category’)->getId() == 5) : ?>

<p>Shows this paragraph is the category id=”5″</p>

<?php else : ?>

<p>Else show this paragraph</p>

<?php endif; ?>