<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<ul id="archive-list" style="list-style: none;">
<?php foreach ($this->items as $item) : ?>
<li class="row<?php echo ($item->odd +1 ); ?>">
	<h4 class="title">
		<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($item->slug)); ?>">
			<?php echo $this->escape($item->title); ?>
		</a>
	</h4>
	<h5 class="metadata">
		<?php if ($this->params->get('show_create_date')) : ?>
		<span class="created-date">
			<?php echo JText::_('Created').': '.$item->created; ?>
		</span>
		<?php endif; ?>
		<?php if ($this->params->get('show_author')) : ?>
		<span class="author">
			<?php echo JText::_('Author').': '; echo $item->created_by_alias ? $item->created_by_alias : $item->author; ?>
		</span>
		<?php endif; ?>
	</h5>
	<div class="intro">
		<?php echo substr($item->introtext, 0, 255); ?>...
	</div>
</li>
<?php endforeach; ?>
</ul>
<div id="navigation">
	<span><?php echo $this->pagination->getPagesLinks(); ?></span>
	<span><?php echo $this->pagination->getPagesCounter(); ?></span>
</div>
