예제 #1
0
파일: default.php 프로젝트: JKoelman/JEM-3
                    ?>
								<div class="eventCat" id="cat<?php 
                    echo $cat->id;
                    ?>
">
									<?php 
                    if (isset($cat->color) && $cat->color) {
                        echo '<span class="colorpic" style="background-color: ' . $cat->color . ';"></span>';
                    }
                    echo $cat->catname . ' (' . $countcatevents[$cat->id] . ')';
                    ?>
								</div>
							<?php 
                }
            }
        }
    }
}
?>
		</div>
	</div>

	<div class="clr"></div>

	<div class="poweredby">
		<?php 
echo JemOutput::footer();
?>
	</div>
</div>
예제 #2
0
			</div>
			<div class="subcategorieslist">
				<?php foreach ($row->subcats as $sub) : ?>
					<strong>
						<a href="<?php echo JRoute::_(JemHelperRoute::getCategoryRoute($sub->slug, $this->task)); ?>">
							<?php echo $this->escape($sub->catname); ?></a>
					</strong> <?php echo '(' . ($sub->assignedevents != null ? $sub->assignedevents : 0) . (--$i ? '),' : ')'); ?>
				<?php endforeach; ?>
			</div>
		<?php endif; ?>

		<!--table-->
		<?php
			if ($this->params->get('detcat_nr', 0) > 0) {
				$this->catrow = $row;
				echo $this->loadTemplate('table');
			}
		?>
	<?php endforeach; ?>

	<!--pagination-->
	<div class="pagination">
		<?php echo $this->pagination->getPagesLinks(); ?>
	</div>

	<!--copyright-->
	<div class="copyright">
		<?php echo JemOutput::footer( ); ?>
	</div>
</div>