|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/performancepartsinc/main/templates/beez/html/com_weblinks/categories/ |
Upload File : |
<?php // @version $Id: default.php 11917 2009-05-29 19:37:05Z ian $
defined('_JEXEC') or die('Restricted access');
$cparams = JComponentHelper::getParams ('com_media');
?>
<?php if ($this->params->get('show_page_title',1)) : ?>
<h1 class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php echo $this->escape($this->params->get('page_title')); ?>
</h1>
<?php endif; ?>
<div class="weblinks<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php if ($this->params->def('show_comp_description', 1) || $this->params->def('image', -1) != -1) : ?>
<div class="contentdescription<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php if ($this->params->def('image', -1) != -1) : ?>
<img src="<?php echo $this->baseurl . $this->escape($cparams->get('image_path')).'/'.$this->escape($this->params->get('image')); ?>" alt="" class="image_<?php echo $this->escape($this->params->get('image_align')); ?>" />
<?php endif; ?>
<?php if ($this->params->get('show_comp_description')) :
echo $this->params->get('comp_description');
endif; ?>
<?php if ($this->params->def('image', -1) != -1) : ?>
<div class="wrap_image"> </div>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php if (count($this->categories)) : ?>
<ul>
<?php foreach ($this->categories as $category) : ?>
<li>
<a href="<?php echo $category->link; ?>" class="category<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
<?php echo $this->escape($category->title); ?></a>
<span class="small">(<?php echo (int)$category->numlinks ?>)</span>
</li>
<?php endforeach; ?>
</ul>
<?php endif;