Current oav website

This commit is contained in:
Charlie Root
2023-03-20 12:18:38 +01:00
commit a096ce07cf
3270 changed files with 261778 additions and 0 deletions

View File

@ -0,0 +1,825 @@
<!DOCTYPE html>
<html lang="<?php echo context::global_filters($core->blog->settings->system->lang,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogLanguage'); ?>">
<head>
<meta charset="UTF-8" />
<meta name="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->system->robots_policy,'NOINDEX,NOARCHIVE'); ?>" />
<title><?php echo __('Search'); ?> - <?php if (isset($_search)) { echo sprintf(__('%1$s'),context::global_filters($_search,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'SysSearchString'),$_search_count);} ?> - <?php echo context::global_filters($core->blog->name,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filters(context::PaginationPosition(0),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'PaginationCurrent'); ?><?php endif; ?></title>
<meta name="copyright" content="<?php echo context::global_filters($core->blog->settings->system->copyright_notice,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogCopyrightNotice'); ?>" />
<meta name="author" content="<?php echo context::global_filters($core->blog->settings->system->editor,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogEditor'); ?>" />
<meta name="date" content="<?php echo context::global_filters(dt::iso8601($core->blog->upddt,$core->blog->settings->system->blog_timezone),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'iso8601' => '1',
),'BlogUpdateDate'); ?>" />
<meta property="dc.title" lang="<?php echo context::global_filters($core->blog->settings->system->lang,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogLanguage'); ?>" content="<?php echo __('Search'); ?> - <?php if (isset($_search)) { echo sprintf(__('%1$s'),context::global_filters($_search,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'SysSearchString'),$_search_count);} ?> - <?php echo context::global_filters($core->blog->name,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogName'); ?><?php if(!context::PaginationStart()) : ?> - <?php echo __('page'); ?> <?php echo context::global_filters(context::PaginationPosition(0),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'PaginationCurrent'); ?><?php endif; ?>" />
<meta property="dc.language" content="<?php echo context::global_filters($core->blog->settings->system->lang,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogLanguage'); ?>" />
<meta property="dc.publisher" content="<?php echo context::global_filters($core->blog->settings->system->editor,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogEditor'); ?>" />
<meta property="dc.rights" content="<?php echo context::global_filters($core->blog->settings->system->copyright_notice,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogCopyrightNotice'); ?>" />
<meta property="dc.date" content="<?php echo context::global_filters(dt::iso8601($core->blog->upddt,$core->blog->settings->system->blog_timezone),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'iso8601' => '1',
),'BlogUpdateDate'); ?>" />
<meta property="dc.type" content="text" />
<meta property="dc.format" content="text/html" />
<link rel="contents" href="<?php echo context::global_filters($core->blog->url.$core->url->getURLFor("archive"),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogArchiveURL'); ?>" title="<?php echo __('Archives'); ?>" />
<?php if ($_ctx->exists("meta") && ($_ctx->meta->meta_type == "tag")) { if (!isset($params)) { $params = []; }
if (!isset($params['from'])) { $params['from'] = ''; }
if (!isset($params['sql'])) { $params['sql'] = ''; }
$params['from'] .= ', '.$core->prefix.'meta META ';
$params['sql'] .= 'AND META.post_id = P.post_id ';
$params['sql'] .= "AND META.meta_type = 'tag' ";
$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
} ?>
<?php
if (!isset($_page_number)) { $_page_number = 1; }
$nb_entry_first_page=$_ctx->nb_entry_first_page; $nb_entry_per_page = $_ctx->nb_entry_per_page;
if (($core->url->type == 'default') || ($core->url->type == 'default-page')) {
$params['limit'] = ($_page_number == 1 ? $nb_entry_first_page : $nb_entry_per_page);
} else {
$params['limit'] = $nb_entry_per_page;
}
if (($core->url->type == 'default') || ($core->url->type == 'default-page')) {
$params['limit'] = [($_page_number == 1 ? 0 : ($_page_number - 2) * $nb_entry_per_page + $nb_entry_first_page),$params['limit']];
} else {
$params['limit'] = [($_page_number - 1) * $nb_entry_per_page,$params['limit']];
}
if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id.($core->blog->settings->system->inc_subcats?' ?sub':'');}
if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
if (isset($_search)) { $params['search'] = $_search; }
$params['order'] = 'post_dt desc';
$params['no_content'] = true;
$_ctx->post_params = $params;
$_ctx->posts = $core->blog->getPosts($params); unset($params);
?>
<?php while ($_ctx->posts->fetch()) : ?>
<?php if ($_ctx->posts->isStart()) : ?>
<?php
$params = $_ctx->post_params;
$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
?>
<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
<?php if(!context::PaginationEnd()) : ?>
<link rel="prev" title="<?php echo __('previous entries'); ?>" href="<?php echo context::global_filters(context::PaginationURL(1),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'offset' => '1',
),'PaginationURL'); ?>" />
<?php endif; ?>
<?php if(!context::PaginationStart()) : ?>
<link rel="next" title="<?php echo __('next entries'); ?>" href="<?php echo context::global_filters(context::PaginationURL(-1),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'offset' => '-1',
),'PaginationURL'); ?>" />
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<link rel="chapter" href="<?php echo context::global_filters($_ctx->posts->getURL(),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryURL'); ?>" title="<?php echo context::global_filters($_ctx->posts->post_title,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryTitle'); ?>" />
<?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
<link rel="meta" type="application/xbel+xml" title="Blogroll" href="<?php echo context::global_filters($core->blog->url.$core->url->getURLFor("xbel"),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogrollXbelLink'); ?>" />
<?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
</head>
<body class="dc-search">
<div id="body">
<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
<div id="page" class="<?php
if (tplFreshy2Theme::$config->right_sidebar != "none")
echo "sidebar_right ";
if (tplFreshy2Theme::$config->left_sidebar != "none")
echo "sidebar_left";
?>
">
<div class="container">
<div id="main" role="main">
<div id="content">
<div class="post">
<h2 class="post-title"><?php echo __('Search'); ?></h2>
<?php if((isset($_search_count) && $_search_count ==0)) : ?>
<p><?php if (isset($_search)) { echo sprintf(__('Your search for <em>%1$s</em> returned no result.'),context::global_filters($_search,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'string' => 'Your search for <em>%1$s</em> returned no result.',
),'SysSearchString'),$_search_count);} ?></p>
<?php endif; ?>
<?php if((isset($_search_count) && $_search_count ==1)) : ?>
<p><?php if (isset($_search)) { echo sprintf(__('Your search for <em>%1$s</em> returned <strong>%2$s</strong> result.'),context::global_filters($_search,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'string' => 'Your search for <em>%1$s</em> returned <strong>%2$s</strong> result.',
),'SysSearchString'),$_search_count);} ?></p>
<?php endif; ?>
<?php if((isset($_search_count) && $_search_count >1)) : ?>
<p><?php if (isset($_search)) { echo sprintf(__('Your search for <em>%1$s</em> returned <strong>%2$s</strong> results.'),context::global_filters($_search,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'string' => 'Your search for <em>%1$s</em> returned <strong>%2$s</strong> results.',
),'SysSearchString'),$_search_count);} ?></p>
<?php endif; ?>
</div>
<?php if ($_ctx->exists("meta") && ($_ctx->meta->meta_type == "tag")) { if (!isset($params)) { $params = []; }
if (!isset($params['from'])) { $params['from'] = ''; }
if (!isset($params['sql'])) { $params['sql'] = ''; }
$params['from'] .= ', '.$core->prefix.'meta META ';
$params['sql'] .= 'AND META.post_id = P.post_id ';
$params['sql'] .= "AND META.meta_type = 'tag' ";
$params['sql'] .= "AND META.meta_id = '".$core->con->escape($_ctx->meta->meta_id)."' ";
} ?>
<?php
if (!isset($_page_number)) { $_page_number = 1; }
$nb_entry_first_page=$_ctx->nb_entry_first_page; $nb_entry_per_page = $_ctx->nb_entry_per_page;
if (($core->url->type == 'default') || ($core->url->type == 'default-page')) {
$params['limit'] = ($_page_number == 1 ? $nb_entry_first_page : $nb_entry_per_page);
} else {
$params['limit'] = $nb_entry_per_page;
}
if (($core->url->type == 'default') || ($core->url->type == 'default-page')) {
$params['limit'] = [($_page_number == 1 ? 0 : ($_page_number - 2) * $nb_entry_per_page + $nb_entry_first_page),$params['limit']];
} else {
$params['limit'] = [($_page_number - 1) * $nb_entry_per_page,$params['limit']];
}
if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id.($core->blog->settings->system->inc_subcats?' ?sub':'');}
if ($_ctx->exists("archives")) { $params['post_year'] = $_ctx->archives->year(); $params['post_month'] = $_ctx->archives->month(); unset($params['limit']); }
if ($_ctx->exists("langs")) { $params['post_lang'] = $_ctx->langs->post_lang; }
if (isset($_search)) { $params['search'] = $_search; }
$params['order'] = 'post_dt desc';
$_ctx->post_params = $params;
$_ctx->posts = $core->blog->getPosts($params); unset($params);
?>
<?php while ($_ctx->posts->fetch()) : ?>
<div id="p<?php echo context::global_filters($_ctx->posts->post_id,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryID'); ?>" class="post <?php if (($_ctx->posts->index()+1)%2 == 1) { echo 'odd'; } ?> <?php if ($_ctx->posts->index() == 0) { echo 'first'; } ?>" lang="<?php if ($_ctx->posts->post_lang) { echo context::global_filters($_ctx->posts->post_lang,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryLang'); } else {echo context::global_filters($core->blog->settings->system->lang,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryLang'); } ?>" role="article">
<h2 class="post-title"><a
href="<?php echo context::global_filters($_ctx->posts->getURL(),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryURL'); ?>"><?php echo context::global_filters($_ctx->posts->post_title,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryTitle'); ?></a></h2>
<?php if ($core->hasBehavior('publicEntryBeforeContent')) { $core->callBehavior('publicEntryBeforeContent',$core,$_ctx);} ?>
<?php if($_ctx->posts->isExtended()) : ?>
<div class="entry"><?php echo context::global_filters($_ctx->posts->getExcerpt(0),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryExcerpt'); ?></div>
<p class="read-it"><a href="<?php echo context::global_filters($_ctx->posts->getURL(),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryURL'); ?>"
title="<?php echo __('Continue reading'); ?> <?php echo context::global_filters($_ctx->posts->post_title,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryTitle'); ?>"><?php echo __('Continue reading'); ?></a>...</p>
<?php endif; ?>
<?php if(!$_ctx->posts->isExtended()) : ?>
<div class="entry"><?php echo context::global_filters($_ctx->posts->getContent(0),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryContent'); ?></div>
<?php endif; ?>
<?php if ($core->hasBehavior('publicEntryAfterContent')) { $core->callBehavior('publicEntryAfterContent',$core,$_ctx);} ?>
<div class="meta">
<ul>
<li><?php echo __('By'); ?> <span class="author"><?php echo context::global_filters($_ctx->posts->getAuthorLink(),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryAuthorLink'); ?></span> | <?php echo context::global_filters($_ctx->posts->getDate('',''),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryDate'); ?> | <?php echo context::global_filters($_ctx->posts->getTime('',''),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryTime'); ?></li>
<li>
<?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?><?php echo __('Comments'); ?><span class="item"><a href="<?php echo context::global_filters($_ctx->posts->getURL(),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryURL'); ?>#comments" class="comment_count"><?php if ($_ctx->posts->nb_comment == 0) {
printf(__('no comments'),$_ctx->posts->nb_comment);
} elseif ($_ctx->posts->nb_comment == 1) {
printf(__('one comment'),$_ctx->posts->nb_comment);
} else {
printf(__('%d comments'),$_ctx->posts->nb_comment);
} ?></a></span><?php endif; ?>
<?php if($_ctx->posts->cat_id) : ?><?php echo __('Category'); ?><span class="item"><?php
$_ctx->categories = $core->blog->getCategoryParents($_ctx->posts->cat_id);
while ($_ctx->categories->fetch()) : ?><a href="<?php echo context::global_filters($core->blog->url.$core->url->getURLFor("category",$_ctx->categories->cat_url),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'CategoryURL'); ?>"><?php echo context::global_filters($_ctx->categories->cat_title,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'CategoryTitle'); ?></a> &rsaquo; <?php endwhile; $_ctx->categories = null; ?><a href="<?php echo context::global_filters($_ctx->posts->getCategoryURL(),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryCategoryURL'); ?>"><?php echo context::global_filters($_ctx->posts->cat_title,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => '1',
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryCategory'); ?></a></span><?php endif; ?>
<?php
$_ctx->meta = $core->meta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?>
<?php if ($_ctx->meta->isStart()) : ?><?php echo __('Tags'); ?><span class="item"><?php endif; ?><a href="<?php echo context::global_filters($core->blog->url.$core->url->getURLFor("tag",rawurlencode($_ctx->meta->meta_id)),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'TagURL'); ?>"><?php echo context::global_filters($_ctx->meta->meta_id,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'TagID'); ?></a><?php if ($_ctx->loopPosition(0,-1,null,null)) : ?>, <?php endif; ?>
<?php if ($_ctx->meta->isEnd()) : ?></span><?php endif; ?>
<?php endwhile; $_ctx->meta = null; ?>
</li>
<?php if($_ctx->posts->commentsActive() || $_ctx->posts->trackbacksActive() || $_ctx->posts->countMedia('attachment')) : ?>
<li>
<?php endif; ?>
<?php if($_ctx->posts->commentsActive()) : ?>
<img alt="<?php echo __('This post\'s comments Atom feed'); ?>" src="<?php echo context::global_filters($core->blog->settings->system->themes_url."/".$core->blog->settings->system->theme,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogThemeURL'); ?>/images/icons/feed-icon-16x16.gif" /><span class="flux"><a href="<?php echo context::global_filters($core->blog->url.$core->url->getURLFor("feed","atom"),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'type' => 'atom',
),'BlogFeedURL'); ?>/comments/<?php echo context::global_filters($_ctx->posts->post_id,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryID'); ?>" title="<?php echo __('This post\'s comments Atom feed'); ?>"><?php echo __('This post\'s comments feed'); ?></a></span>
<?php endif; ?>
<?php if($_ctx->posts->trackbacksActive()) : ?>
<img alt="<?php echo __('Trackback'); ?>" src="<?php echo context::global_filters($core->blog->settings->system->themes_url."/".$core->blog->settings->system->theme,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogThemeURL'); ?>/images/icons/trackback-icon-16x16.gif" /><span class="flux"><a href="<?php echo context::global_filters($_ctx->posts->getURL(),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryURL'); ?>#pings" rel="trackback" title="<?php echo __('Trackback'); ?>"><?php if ($_ctx->posts->nb_trackback == 0) {
printf(__('no trackbacks'),$_ctx->posts->nb_trackback);
} elseif ($_ctx->posts->nb_trackback == 1) {
printf(__('one trackback'),$_ctx->posts->nb_trackback);
} else {
printf(__('%d trackbacks'),$_ctx->posts->nb_trackback);
} ?></a></span>
<?php endif; ?>
<?php if($_ctx->posts->countMedia('attachment')) : ?>
<img alt="<?php echo __('Attachments'); ?>" src="<?php echo context::global_filters($core->blog->settings->system->themes_url."/".$core->blog->settings->system->theme,array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'BlogThemeURL'); ?>/images/icons/download-icon-16x16.gif" /><span class="flux"><a href="<?php echo context::global_filters($_ctx->posts->getURL(),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
),'EntryURL'); ?>#attachments"><?php if ($_ctx->posts->countMedia('attachment') == 0) {
printf(__('no attachments'),$_ctx->posts->countMedia('attachment'));
} elseif ($_ctx->posts->countMedia('attachment') == 1) {
printf(__('one attachment'),$_ctx->posts->countMedia('attachment'));
} else {
printf(__('%d attachments'),$_ctx->posts->countMedia('attachment'));
} ?></a></span>
<?php endif; ?>
<?php if($_ctx->posts->commentsActive() || $_ctx->posts->trackbacksActive() || $_ctx->posts->countMedia('attachment')) : ?>
</li>
<?php endif; ?>
</ul>
</div>
</div> <!-- end #post -->
<?php if ($_ctx->posts->isEnd()) : ?>
<?php
$params = $_ctx->post_params;
$_ctx->pagination = $core->blog->getPosts($params,true); unset($params);
?>
<?php if ($_ctx->pagination->f(0) > $_ctx->posts->count()) : ?>
<p class="navigation">
<?php if(!context::PaginationEnd()) : ?>
<span class="alignleft">&#171; <a href="<?php echo context::global_filters(context::PaginationURL(1),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'offset' => '+1',
),'PaginationURL'); ?>" class="prev"><?php echo __('previous entries'); ?></a></span>
<?php endif; ?>
<?php if(!context::PaginationStart()) : ?>
<span class="alignright"><a href="<?php echo context::global_filters(context::PaginationURL(-1),array (
0 => NULL,
'encode_xml' => 0,
'encode_html' => 0,
'cut_string' => 0,
'lower_case' => 0,
'upper_case' => 0,
'encode_url' => 0,
'remove_html' => 0,
'capitalize' => 0,
'strip_tags' => 0,
'offset' => '-1',
),'PaginationURL'); ?>" class="next"><?php echo __('next entries'); ?></a> &#187;</span><?php endif; ?>
</p>
<?php endif; ?>
<?php endif; ?>
<?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
</div> <!-- End #content -->
<?php try { echo $core->tpl->getData('_sidebar.html'); } catch (Exception $e) {} ?>
</div> <!-- End #main -->
</div> <!-- End #container -->
</div> <!-- End #page -->
<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
</div> <!-- End #body -->
</body>
</html>