Current oav website
This commit is contained in:
917
dotclear._no/cache/cbtpl/ca/f1/caf17d33597c5ae2ef9ec9bb595a2eb6.php
vendored
Executable file
917
dotclear._no/cache/cbtpl/ca/f1/caf17d33597c5ae2ef9ec9bb595a2eb6.php
vendored
Executable file
@ -0,0 +1,917 @@
|
||||
<!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" />
|
||||
|
||||
|
||||
<title><?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'); ?> - <?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>
|
||||
<!-- head-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="ROBOTS" content="<?php echo context::robotsPolicy($core->blog->settings->system->robots_policy,'NOINDEX'); ?>" />
|
||||
<!-- meta-robots -->
|
||||
|
||||
<meta name="description" 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 context::global_filters($_ctx->categories->cat_desc,array (
|
||||
0 => NULL,
|
||||
'encode_xml' => 0,
|
||||
'encode_html' => '1',
|
||||
'cut_string' => '180',
|
||||
'lower_case' => 0,
|
||||
'upper_case' => 0,
|
||||
'encode_url' => 0,
|
||||
'remove_html' => '1',
|
||||
'capitalize' => 0,
|
||||
'strip_tags' => 0,
|
||||
),'CategoryDescription'); ?>" />
|
||||
<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-entry -->
|
||||
<!-- head-meta -->
|
||||
|
||||
|
||||
<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="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filters($core->blog->url.$core->url->getURLFor("feed","category/".$_ctx->categories->cat_url."/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',
|
||||
),'CategoryFeedURL'); ?>" />
|
||||
<!-- head-linkrel -->
|
||||
|
||||
<?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
|
||||
|
||||
<!-- html-head -->
|
||||
</head>
|
||||
<body class="dc-category">
|
||||
|
||||
<div id="page">
|
||||
|
||||
|
||||
<?php try { echo $core->tpl->getData('_top.html'); } catch (Exception $e) {} ?>
|
||||
|
||||
<!-- page-top -->
|
||||
<div id="wrapper" class="<?php
|
||||
if (tplFreshy2Theme::$config->right_sidebar != "none")
|
||||
echo "sidebar_right ";
|
||||
if (tplFreshy2Theme::$config->left_sidebar != "none")
|
||||
echo "sidebar_left";
|
||||
?>
|
||||
">
|
||||
|
||||
<div id="main" role="main">
|
||||
|
||||
<div id="content">
|
||||
|
||||
<?php echo tplBreadcrumb::displayBreadcrumb(''); ?>
|
||||
|
||||
|
||||
<div class="post">
|
||||
<h2 class="post-title">» <?php echo __('Category'); ?> : <?php
|
||||
$_ctx->categories = $core->blog->getCategoryParents($_ctx->categories->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> › <?php endwhile; $_ctx->categories = null; ?><?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'); ?></h2>
|
||||
<div class="entry"><?php echo context::global_filters($_ctx->categories->cat_desc,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,
|
||||
),'CategoryDescription'); ?></div>
|
||||
|
||||
<?php if($_ctx->categories->nb_post > 0) : ?>
|
||||
<div class="metacat">
|
||||
<div class="cat">
|
||||
|
||||
<?php
|
||||
$_ctx->categories = $core->blog->getCategoryFirstChildren($_ctx->categories->cat_id);
|
||||
while ($_ctx->categories->fetch()) : ?>
|
||||
<?php if ($_ctx->categories->isStart()) : ?><p><?php echo __('Subcategories'); ?><span class="item"><?php endif; ?><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><?php if ($_ctx->loopPosition(0,-1,null,null)) : ?>, <?php endif; ?>
|
||||
<?php if ($_ctx->categories->isEnd()) : ?></span></p><?php endif; ?>
|
||||
<?php endwhile; $_ctx->categories = null; ?>
|
||||
|
||||
<img alt="<?php echo __('This category\'s entries 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 type="application/atom+xml" href="<?php echo context::global_filters($core->blog->url.$core->url->getURLFor("feed","category/".$_ctx->categories->cat_url."/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',
|
||||
),'CategoryFeedURL'); ?>"
|
||||
title="<?php echo __('This category\'s entries Atom feed'); ?>" class="feed"><?php echo __('Entries feed'); ?></a></span>
|
||||
<?php if($core->blog->settings->system->allow_comments) : ?>
|
||||
<img alt="<?php echo __('This category\'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 type="application/atom+xml" href="<?php echo context::global_filters($core->blog->url.$core->url->getURLFor("feed","category/".$_ctx->categories->cat_url."/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',
|
||||
),'CategoryFeedURL'); ?>/comments"
|
||||
title="<?php echo __('This category\'s comments Atom feed'); ?>" class="feed"><?php echo __('Comments feed'); ?></a></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?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><span class="readmore-ellipsis">...</span></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> › <?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">« <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> »</span><?php endif; ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
|
||||
<!-- main-content -->
|
||||
</div> <!-- End #content -->
|
||||
<!-- wrapper-main -->
|
||||
|
||||
<?php if (tplFreshy2Theme::$config->right_sidebar != "none"): ?>
|
||||
|
||||
<div id="sidebar" class="sidebar" role="complementary">
|
||||
<?php if (tplFreshy2Theme::$config->right_sidebar == "nav"): ?>
|
||||
|
||||
<div id="blognav">
|
||||
<?php publicWidgets::widgetsHandler('nav',''); ?>
|
||||
</div> <!-- End #blognav -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (tplFreshy2Theme::$config->right_sidebar == "extra"): ?>
|
||||
|
||||
<div id="blogextra">
|
||||
<?php publicWidgets::widgetsHandler('extra',''); ?>
|
||||
</div> <!-- End #blognav -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if (tplFreshy2Theme::$config->left_sidebar != "none"): ?>
|
||||
|
||||
<div id="sidebar_left" class="sidebar" role="complementary">
|
||||
<?php if (tplFreshy2Theme::$config->left_sidebar == "nav"): ?>
|
||||
|
||||
<div id="blognav">
|
||||
<?php publicWidgets::widgetsHandler('nav',''); ?>
|
||||
</div> <!-- End #blogextra -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (tplFreshy2Theme::$config->left_sidebar == "extra"): ?>
|
||||
|
||||
<div id="blogextra">
|
||||
<?php publicWidgets::widgetsHandler('extra',''); ?>
|
||||
</div> <!-- End #blogextra -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- wrapper-sidebar -->
|
||||
</div> <!-- End #main -->
|
||||
|
||||
<!-- page-wrapper -->
|
||||
</div> <!-- End #wrapper -->
|
||||
|
||||
<?php try { echo $core->tpl->getData('_footer.html'); } catch (Exception $e) {} ?>
|
||||
|
||||
<!-- page-footer -->
|
||||
</div> <!-- End #page -->
|
||||
|
||||
<!-- body-page -->
|
||||
<!-- html-body -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user