<?php
/**
* @package Joomla.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
// Create shortcuts to some parameters.
$params = $this->item->params;
$images = json_decode($this->item->images);
$urls = json_decode($this->item->urls);
$canEdit = $this->item->params->get('access-edit');
$user = JFactory::getUser();
?>
<?php
$author = $this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author;
$user = JFactory::getUser($this->item->created_by);
$blog_datetime = date_create(JText::sprintf(JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC1'))));
$blog_date = date_format($blog_datetime,'d');
$blog_month = date_format($blog_datetime,'M');
$blog_year = date_format($blog_datetime,'Y');
?>