Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2. /**
  3.  * @package     Joomla.Site
  4.  * @subpackage  com_content
  5.  * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
  6.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  7.  */
  8.  
  9. // no direct access
  10. defined('_JEXEC') or die;
  11.  
  12. // Create a shortcut for params.
  13. $params = &$this->item->params;
  14. $images = json_decode($this->item->images);
  15. $canEdit    = $this->item->params->get('access-edit');
  16. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
  17. JHtml::_('behavior.tooltip');
  18. JHtml::_('behavior.framework');
  19.  
  20. ?>
  21.  
  22. <?php
  23. $author = $this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author;
  24. $user = JFactory::getUser($this->item->created_by);
  25. $blog_datetime = date_create(JText::sprintf(JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC1'))));
  26. $blog_date = date_format($blog_datetime,'d');
  27. $blog_month = date_format($blog_datetime,'M');
  28. $blog_year = date_format($blog_datetime,'Y');
  29. ?>