/pdf/code/trunk/administrator/components/com_artofpdf/views/com_content/tmpl/sections.php
PHP | 42 lines | 21 code | 11 blank | 10 comment | 0 complexity | 542e7b6520b558eb64dd49cd91a88053 MD5 | raw file
- <?php
- /**
- * @version $Id: sections.php 278 2010-09-14 11:11:09Z eddieajau $
- * @package NewLifeInIT
- * @subpackage com_artofpdf
- * @copyright Copyright 2010 New Life in IT Pty Ltd. All rights reserved.
- * @license GNU General Public License version 2 or later.
- * @link http://www.theartofjoomla.com
- */
- // No direct access
- defined('_JEXEC') or die;
- JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
- //JHtml::stylesheet('default.css', 'administrator/components/com_artofpdf/media/css/');
- $sections = $this->get('Sections');
- ?>
- <?php foreach ($sections as $section) : ?>
- <!--NEWPAGE-->
- <!--BOOKMARK0 <?php echo $this->escape($section->title); ?>-->
- <h1><?php echo $this->escape($section->title); ?></h1>
- <?php echo $section->description; ?>
- <?php foreach ($section->categories as $category) : ?>
- <!--BOOKMARK1 <?php echo $this->escape($category->title); ?>-->
- <h2><?php echo $this->escape($category->title); ?></h2>
- <?php echo $category->description; ?>
- <?php foreach ($category->articles as $article) : ?>
- <!--BOOKMARK2 <?php echo $this->escape($article->title); ?>-->
- <h3><?php echo $this->escape($article->title); ?></h3>
- <?php echo $article->introtext/*.$article->fulltext*/; ?>
- <?php endforeach; ?>
- <?php endforeach; ?>
- <?php endforeach; ?>