コード例 #1
0
ファイル: default.php プロジェクト: vstorm83/propertease
 * @copyright      Copyright (C) 2012 - 2014 Ossolution Team
 * @license        GNU/GPL, see LICENSE.php
 */
// no direct access
defined('_JEXEC') or die;
if (count($this->items)) {
    ?>
<div id="osm-categories-list" class="row-fluid osm-container">
	<h1 class="osm-page-title"><?php 
    echo JText::_('OSM_CATEGORIES');
    ?>
</h1>
	<?php 
    for ($i = 0, $n = count($this->items); $i < $n; $i++) {
        $item = $this->items[$i];
        $link = JRoute::_(OSMembershipHelperRoute::getCategoryRoute($item->id, $this->Itemid));
        ?>
		<div class="osm-item-wrapper clearfix">
			<div class="osm-item-heading-box">
				<h2 class="osm-item-title">
					<a href="<?php 
        echo $link;
        ?>
" class="osm-item-title-link">
						<?php 
        echo $item->title;
        ?>
												
					</a>
					<small>( <?php 
        echo $item->total_plans;