<?php // no direct access

defined('_JEXEC') or die('Restricted access');

$cparams =& JComponentHelper::getParams('com_media');

?>

<div class="Post">

    <div class="Post-tl"></div>

    <div class="Post-tr"><div></div></div>

    <div class="Post-bl"><div></div></div>

    <div class="Post-br"><div></div></div>

    <div class="Post-tc"><div></div></div>

    <div class="Post-bc"><div></div></div>

    <div class="Post-cl"><div></div></div>

    <div class="Post-cr"><div></div></div>

    <div class="Post-cc"></div>

    <div class="Post-body">

<div class="Post-inner">



<?php if ($this->params->def('show_page_title', 1)): ?>

<h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '29', 'height' => '29')); ?> <span class="PostHeader">

<span class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"><?php echo $this->escape($this->params->get('page_title')); ?></span>

</span>

</h2>



<?php endif; ?>

<div class="PostContent">



	<?php if ($this->params->get('show_description_image') && $this->section->image) : ?>

		<img src="<?php echo $this->baseurl . '/' . $cparams->get('image_path') . '/'.  $this->section->image;?>" align="<?php echo $this->section->image_position;?>" hspace="6" alt="<?php echo $this->section->image;?>" />

	<?php endif; ?>

	<?php if ($this->params->get('show_description') && $this->section->description) : ?>

		<?php echo $this->section->description; ?>

	<?php endif; ?>

	<?php if ($this->params->get('show_categories', 1)) : ?>

	<ul>

	<?php foreach ($this->categories as $category) : ?>

		<?php if (!$this->params->get('show_empty_categories') && !$category->numitems) continue; ?>

		<li>

			<a href="<?php echo $category->link; ?>" class="category">

				<?php echo $category->title;?></a>

			<?php if ($this->params->get('show_cat_num_articles')) : ?>

			&nbsp;

			<span class="small">

				( <?php echo $category->numitems ." ". JText::_( 'items' );?> )

			</span>

			<?php endif; ?>

			<?php if ($this->params->def('show_category_description', 1) && $category->description) : ?>

			<br />

			<?php echo $category->description; ?>

			<?php endif; ?>

		</li>

	<?php endforeach; ?>

	</ul>

	<?php endif; ?>



</div>

<div class="cleared"></div>





</div>



    </div>

</div>



