OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / templates / pwc007_music / html / com_content / section / default.php
1 <?php // no direct access
2 defined('_JEXEC') or die('Restricted access');
3 $cparams =& JComponentHelper::getParams('com_media');
4 ?>
5 <div class="Post">
6     <div class="Post-body">
7 <div class="Post-inner">
8
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>
12 </span>
13 </h2>
14
15 <?php endif; ?>
16 <div class="PostContent">
17
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;?>" />
20         <?php endif; ?>
21         <?php if ($this->params->get('show_description') && $this->section->description) : ?>
22                 <?php echo $this->section->description; ?>
23         <?php endif; ?>
24         <?php if ($this->params->get('show_categories', 1)) : ?>
25         <ul>
26         <?php foreach ($this->categories as $category) : ?>
27                 <?php if (!$this->params->get('show_empty_categories') && !$category->numitems) continue; ?>
28                 <li>
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')) : ?>
32                         &nbsp;
33                         <span class="small">
34                                 ( <?php echo $category->numitems ." ". JText::_( 'items' );?> )
35                         </span>
36                         <?php endif; ?>
37                         <?php if ($this->params->def('show_category_description', 1) && $category->description) : ?>
38                         <br />
39                         <?php echo $category->description; ?>
40                         <?php endif; ?>
41                 </li>
42         <?php endforeach; ?>
43         </ul>
44         <?php endif; ?>
45
46 </div>
47 <div class="cleared"></div>
48
49
50 </div>
51
52     </div>
53 </div>
54