1 <?php // no direct access
2 defined('_JEXEC') or die('Restricted access');
3 $cparams =& JComponentHelper::getParams('com_media');
6 <div class="Post-body">
7 <div class="Post-inner">
9 <?php if ($this->params->def('show_page_title', 1)): ?>
10 <h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '24', 'height' => '31')); ?> <span class="PostHeader">
11 <span class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"><?php echo $this->escape($this->params->get('page_title')); ?></span>
16 <div class="PostContent">
18 <?php if ($this->params->get('show_description_image') && $this->section->image) : ?>
19 <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;?>" />
21 <?php if ($this->params->get('show_description') && $this->section->description) : ?>
22 <?php echo $this->section->description; ?>
24 <?php if ($this->params->get('show_categories', 1)) : ?>
26 <?php foreach ($this->categories as $category) : ?>
27 <?php if (!$this->params->get('show_empty_categories') && !$category->numitems) continue; ?>
29 <a href="<?php echo $category->link; ?>" class="category">
30 <?php echo $category->title;?></a>
31 <?php if ($this->params->get('show_cat_num_articles')) : ?>
34 ( <?php echo $category->numitems ." ". JText::_( 'items' );?> )
37 <?php if ($this->params->def('show_category_description', 1) && $category->description) : ?>
39 <?php echo $category->description; ?>
47 <div class="cleared"></div>