<?php $today = getdate();?>
<?php
  if($today == JHTML::_('date', $this->item->created )
on the 12 line after the 
defined('_JEXEC') or die('Restricted access');
?>
and the <?php endif; ?> at the end of the file before the <!-- End K2 Category Layout --> and