Parse error: syntax error, unexpected T_VARIABLE in /home/****/public_html/******/templates/storyofglory/html/com_content/frontpage/default_item.php on line 1
To jest początek kodu tego pliku:
CODE
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
$day_first = true;
list($day, $month) = explode(' ', date('d M', strtotime($this->item->created)));
$colcount = 0;
$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
?>
<?php if ($this->item->state == 0) : ?>
<div class="system-unpublished">
<?php endif; ?>
// no direct access
defined('_JEXEC') or die('Restricted access');
$day_first = true;
list($day, $month) = explode(' ', date('d M', strtotime($this->item->created)));
$colcount = 0;
$canEdit = ($this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own'));
?>
<?php if ($this->item->state == 0) : ?>
<div class="system-unpublished">
<?php endif; ?>
Proszę o pomoc, co jest tutaj nie tak?