File: /var/www/web37/htdocs/fickanzeiger/compiled/social friendly_template/en/c_1_site_item_tpl.php
<?php require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/function.math.php'); $this->register_tmp_function("math", "tpl_function_math"); require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/modifier.truncate.php'); $this->register_tmp_modifier("truncate", "tpl_modifier_truncate"); require_once('/var/www/web37/html/fickanzeiger/components/template_lite/plugins/function.cycle.php'); $this->register_tmp_function("cycle", "tpl_function_cycle"); /* V2.10 Template Lite 4 January 2007 (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2014-05-15 16:59:38 CEST */ ?>
<?php $this->assign('sitePosition', 0); ?>
<?php if (count((array)$this->_vars['sites'])): foreach ((array)$this->_vars['sites'] as $this->_vars['site']): ?>
<?php if ($this->_vars['site']['url']): ?>
<div class="title_h_1">
<div class="barre"><a href="<?php echo $this->_vars['site']['url']; ?>
" title="<?php echo $this->_vars['site']['siteTitle']; ?>
" class="link_black_blue_b_u" target="_blank" onclick="return visitSite(<?php echo $this->_vars['site']['siteId']; ?>
)"><?php echo $this->_vars['site']['siteTitle']; ?>
</a></div>
</div>
<?php else: ?>
<div class="title_h_1">
<div class="barre"><a href="<?php echo $this->_run_modifier($this->_vars['site'], 'objurl', 'plugin', 0, 'siteDetails'); ?>
" class="link_black_blue_b_u"><?php echo $this->_vars['site']['siteTitle']; ?>
</a></div>
</div>
<?php endif; ?>
<div class="column_in<?php echo tpl_function_cycle(array('values' => '_grey,'), $this);?>">
<?php if ($this->_vars['setting']['sitesImages']): ?>
<a href="<?php echo $this->_run_modifier($this->_vars['site'], 'objurl', 'plugin', 0, 'siteDetails'); ?>
" title="Details : <?php echo $this->_vars['site']['siteTitle']; ?>
">
<img src="<?php echo $this->_vars['site']['imageSrc']; ?>
" alt="Details : <?php echo $this->_vars['site']['siteTitle']; ?>
" class="website_image" />
</a>
<?php endif; ?>
<?php if ($this->_vars['setting']['countryFlagsEnabled'] && $this->_vars['site']['countryCode']): ?>
<img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/flags/" . $this->_vars['site']['countryCode'] . "", 'resurl', 'plugin', 1); ?>
.png" alt="<?php echo $this->_vars['site']['countryCode']; ?>
" class="flag_image" />
<?php endif; ?>
<div class="column_in_description_site_category">
<?php if (! empty ( $this->_vars['site']['isNew'] )): ?><img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/new.png", 'resurl', 'plugin', 1); ?>
" alt="New website" class="new_image" /><?php endif; ?>
<?php if ($this->_vars['site']['packageImageSrc']): ?>
<img src="<?php echo $this->_run_modifier("/uploads/images_packages/" . $this->_vars['site']['packageImageSrc'] . "", 'resurl', 'plugin', 1); ?>
" alt="" class="package_image" />
<?php endif; ?>
<?php if (isset ( $this->_vars['display']['highlightKeywords'] )): ?>
<?php echo $this->_run_modifier($this->_run_modifier($this->_run_modifier($this->_run_modifier($this->_run_modifier($this->_vars['site']['description'], 'htmlspecialchars_decode', 'PHP', 1), 'strip_tags', 'PHP', 1), 'truncate', 'plugin', 1, $this->_vars['setting']['numberOfCharactersForItemDescription']), 'highlight', 'plugin', 1, $this->_vars['display']['highlightKeywords']), 'nl2br', 'PHP', 1); ?>
<?php else: ?>
<?php echo $this->_run_modifier($this->_run_modifier($this->_run_modifier($this->_run_modifier($this->_vars['site']['description'], 'htmlspecialchars_decode', 'PHP', 1), 'strip_tags', 'PHP', 1), 'truncate', 'plugin', 1, $this->_vars['setting']['numberOfCharactersForItemDescription']), 'nl2br', 'PHP', 1); ?>
<?php endif; ?>
<br /><br />
<?php if (isset ( $this->_vars['site']['keywords'] )): ?>
<span class="text_characters_boldgras">Keywords :</span>
<?php if (count((array)$this->_vars['site']['keywords'])): foreach ((array)$this->_vars['site']['keywords'] as $this->_vars['keywordId'] => $this->_vars['keyword']): ?>
<a href="<?php echo $this->_run_modifier("site/keyword/" . $this->_vars['keywordId'] . "/%s/1", 'url', 'plugin', 1, $this->_vars['keyword']); ?>
" title="<?php echo $this->_vars['keyword']; ?>
" class="link_black_grey"><?php echo $this->_vars['keyword']; ?>
</a>
<?php endforeach; endif; ?>
<br /><br />
<?php endif; ?>
<?php if (isset ( $this->_vars['display']['referrersCountInListItem'] )): ?>
<span class="text_characters_boldgras">Number of visitors sent to the website :</span>
<?php echo $this->_vars['site']['referrerTimes']; ?>
<br /><br />
<?php endif; ?>
<?php if (isset ( $this->_vars['display']['pageRankImgInListItem'] )): ?>
<span class="text_characters_boldgras">Pagerank :</span>
<img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/pagerank/", 'resurl', 'plugin', 1); ?>
pr<?php echo $this->_vars['site']['pageRank']; ?>
.gif" alt="PageRank" />
<br /><br />
<?php endif; ?>
<?php if (isset ( $this->_vars['display']['hitsCountInListItem'] )): ?>
<span class="text_characters_boldgras">Hits :</span>
<?php echo $this->_vars['site']['visitsCount']; ?>
<br /><br />
<?php endif; ?>
<?php if (isset ( $this->_vars['display']['notesCountInListItem'] )): ?>
<span class="text_characters_boldgras">Rate :</span>
<?php echo $this->_vars['site']['votesAverage']; ?>
/5 for <?php echo $this->_vars['site']['votesCount']; ?>
rate
<br /><br />
<?php endif; ?>
<?php if ($this->_vars['site']['url']): ?>
<span class="text_characters_orange">
<?php if (isset ( $this->_vars['display']['highlightKeywords'] )): ?>
<?php echo $this->_run_modifier($this->_run_modifier($this->_vars['site']['url'], 'domain', 'plugin', 1), 'highlight', 'plugin', 1, $this->_vars['display']['highlightKeywords']); ?>
<?php else: ?>
<?php echo $this->_run_modifier($this->_vars['site']['url'], 'domain', 'plugin', 1); ?>
<?php endif; ?>
</span>
<?php endif; ?>
<a href="<?php echo $this->_run_modifier($this->_vars['site'], 'objurl', 'plugin', 0, 'siteDetails'); ?>
" <?php if ($this->_vars['setting']['sitesImages'] == 0): ?>title="Details : <?php echo $this->_vars['site']['siteTitle']; ?>
"<?php endif; ?> class="link_black_grey_bold"><img src="<?php echo $this->_run_modifier("/templates/" . $this->_vars['templateName'] . "/images/fiche.png", 'resurl', 'plugin', 1); ?>
" class="details" alt="detailts" /></a>
</div>
</div>
<?php echo tpl_function_math(array('equation' => "x + 1",'x' => $this->_vars['sitePosition'],'assign' => "sitePosition"), $this);?>
<?php echo $this->_plugins['function']['displayAd'][0]->displayAd(array('place' => "sitePosition" . $this->_vars['sitePosition'] . ""), $this);?>
<?php endforeach; else: ?>
<?php endif; ?>
<?php
echo $this->_fetch_compile_include("includes/pageNavigation.tpl", array());
?>