File: /var/www/web37/htdocs/fickanzeiger/compiled/social friendly_template/en/c_1_site_category_tpl.php
<?php require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/modifier.cat.php'); $this->register_tmp_modifier("cat", "tpl_modifier_cat"); require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/modifier.regex_replace.php'); $this->register_tmp_modifier("regex_replace", "tpl_modifier_regex_replace"); require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/block.capture.php'); $this->register_tmp_block("capture", "tpl_block_capture"); /* V2.10 Template Lite 4 January 2007 (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2014-05-15 17:00:59 CEST */ ?>
<?php $this->_tag_stack[] = array('tpl_block_capture', array('assign' => "headData")); tpl_block_capture(array('assign' => "headData"), null, $this); ob_start(); ?>
<script type="text/javascript" src="<?php echo $this->_run_modifier('/javascript/site/visitSite.js', 'resurl', 'plugin', 1); ?>
"></script>
<script type="text/javascript">
setting.categoryId = <?php echo $this->_vars['category']['categoryId']; ?>
;
</script>
<?php $this->_block_content = ob_get_contents(); ob_end_clean(); $this->_block_content = tpl_block_capture($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this); echo $this->_block_content; array_pop($this->_tag_stack); ?>
<?php if ($this->_vars['category']['title']): ?>
<?php $this->assign('pageTitle', $this->_vars['category']['title']); ?>
<?php else: ?>
<?php $this->assign('pageTitle', $this->_vars['category']['name']); ?>
<?php endif; ?>
<?php if ($this->_vars['category']['metaDescription']): ?>
<?php $this->assign('metaDescription', $this->_vars['category']['metaDescription']); ?>
<?php else: ?>
<?php if ($this->_vars['category']['description'] || $this->_run_modifier($this->_vars['sitesInCategory'], 'count', 'PHP', 0) > 0): ?>
<?php if ($this->_vars['category']['description']): ?>
<?php $this->assign('metaDescription', $this->_vars['category']['description']); ?>
<?php else: ?>
<?php $this->assign('metaDescription', $this->_vars['sitesInCategory'][0]['description']); ?>
<?php endif; ?>
<?php $this->assign('metaDescription', $this->_run_modifier($this->_run_modifier($this->_run_modifier($this->_run_modifier($this->_run_modifier($this->_vars['metaDescription'], 'htmlspecialchars_decode', 'PHP', 1), 'strip_tags', 'PHP', 1), 'regex_replace', 'plugin', 1, "#\r?\n#", ""), 'utf8_substr', 'PHP', 1, 0, 100), 'htmlspecialchars', 'PHP', 1)); ?>
<?php else: ?>
<?php $this->assign('metaDescription', $this->_vars['pageTitle']); ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_vars['pageNavigation']['currentPage'] > 1): ?>
<?php $this->assign('pageTitle', $this->_run_modifier($this->_run_modifier($this->_vars['pageTitle'], 'cat', 'plugin', 1, " - page "), 'cat', 'plugin', 1, $this->_vars['pageNavigation']['currentPage'])); ?>
<?php $this->assign('metaDescription', $this->_run_modifier($this->_run_modifier($this->_vars['metaDescription'], 'cat', 'plugin', 1, " - page "), 'cat', 'plugin', 1, $this->_vars['pageNavigation']['currentPage'])); ?>
<?php endif; ?>
<?php
echo $this->_fetch_compile_include("includes/header.tpl", array('title' => $this->_vars['pageTitle'],'includeSearchEngine' => true));
?>
<div class="show_arbo">
<a href="<?php echo $this->_vars['setting']['siteRootUrl']; ?>
" class="link_showarbo">Directory</a>
<?php if ($this->_vars['setting']['rssCategoriesEnabled'] && isset ( $this->_vars['display']['categoryRssHref'] )): ?>
<a href="<?php echo $this->_vars['display']['categoryRssHref']; ?>
" ><img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/rss.png", 'resurl', 'plugin', 1); ?>
" class="rss_image" alt="RSS <?php echo $this->_vars['category']['name']; ?>
" /></a>
<?php endif; ?>
<?php if (count((array)$this->_vars['categoryParentsData'])): foreach ((array)$this->_vars['categoryParentsData'] as $this->_vars['categoryParent']): ?>
> <a href="<?php echo $this->_run_modifier($this->_vars['categoryParent'], 'objurl', 'plugin', 0, 'category'); ?>
" class="link_showarbo"> <?php if (! empty ( $this->_vars['categoryParent']['navigationName'] )): echo $this->_vars['categoryParent']['navigationName']; else: echo $this->_vars['categoryParent']['name']; endif; ?> </a>
<?php endforeach; endif; ?>
</div>
<?php echo $this->_plugins['function']['displayAd'][0]->displayAd(array('place' => "overSubcategories"), $this);?>
<?php if ($this->_run_modifier("category/list", 'action', 'plugin', 1)): ?>
<div class="title_h_1"></div>
<?php endif; ?>
<?php echo $this->_run_modifier("category/list", 'action', 'plugin', 1); ?>
<?php if (! empty ( $this->_vars['category']['description'] )): ?>
<?php echo $this->_plugins['function']['displayAd'][0]->displayAd(array('place' => "overDescription"), $this);?>
<div class="column_in">
<?php echo $this->_run_modifier($this->_run_modifier($this->_vars['category']['description'], 'htmlspecialchars_decode', 'PHP', 1), 'nl2br', 'PHP', 1); ?>
</div>
<?php endif; ?>
<?php echo $this->_plugins['function']['displayAd'][0]->displayAd(array('place' => "overSitesList"), $this);?>
<?php
echo $this->_fetch_compile_include("site/item.tpl", array('sites' => $this->_vars['sitesInCategory']));
?>
<?php
echo $this->_fetch_compile_include("includes/footer.tpl", array());
?>