OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / templates / pwc007_music / html / com_weblinks / category / default.php
1 <?php defined('_JEXEC') or die('Restricted access'); ?>
2 <div class="Post">
3     <div class="Post-body">
4 <div class="Post-inner">
5
6 <?php if ($this->params->def('show_page_title', 1)): ?>
7 <h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '24', 'height' => '31')); ?> <span class="PostHeader">
8 <span class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"><?php echo $this->escape($this->params->get('page_title')); ?></span>
9 </span>
10 </h2>
11
12 <?php endif; ?>
13 <div class="PostContent">
14
15 <table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
16 <?php if ( @$this->category->image || @$this->category->description ) : ?>
17 <tr>
18         <td valign="top" class="contentdescription<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
19         <?php
20                 if ( isset($this->category->image) ) :  echo $this->category->image; endif;
21                 echo $this->category->description;
22         ?>
23         </td>
24 </tr>
25 <?php endif; ?>
26 <tr>
27         <td width="60%" colspan="2">
28         <?php echo $this->loadTemplate('items'); ?>
29         </td>
30 </tr>
31 <?php if ($this->params->get('show_other_cats', 1)): ?>
32 <tr>
33         <td width="60%" colspan="2">
34                 <ul>
35                 <?php foreach ( $this->categories as $category ) : ?>
36                         <li>
37                                 <a href="<?php echo $category->link; ?>" class="category<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
38                                         <?php echo $this->escape($category->title);?></a>
39                                 &nbsp;
40                                 <span class="small">
41                                         (<?php echo $category->numlinks;?>)
42                                 </span>
43                         </li>
44                 <?php endforeach; ?>
45                 </ul>
46         </td>
47 </tr>
48 <?php endif; ?>
49 </table>
50
51 </div>
52 <div class="cleared"></div>
53
54
55 </div>
56
57     </div>
58 </div>
59