<?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">



<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="contentpane<?php echo $this->params->get( 'pageclass_sfx' ); ?>">

<tr>

	<td width="60%" valign="top" class="contentdescription<?php echo $this->params->get( 'pageclass_sfx' ); ?>" colspan="2">

	<?php if ($this->category->image) : ?>

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

	<?php endif; ?>

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

</td>

</tr>

<tr>

	<td>

	<?php

		$this->items =& $this->getItems();

		echo $this->loadTemplate('items');

	?>



	<?php if ($this->access->canEdit || $this->access->canEditOwn) :

			echo JHTML::_('icon.create', $this->category  , $this->params, $this->access);

	endif; ?>

	</td>

</tr>

</table>



</div>

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





</div>



    </div>

</div>



