the-art-of-joomla-archive /pdf/code/trunk/administrator/components/com_artofpdf/views/com_content/tmpl/sections.php

Language PHP Lines 42
MD5 Hash 542e7b6520b558eb64dd49cd91a88053 Estimated Cost $375 (why?)
Repository https://bitbucket.org/eddieajau/the-art-of-joomla-archive View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?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; ?>
Back to Top