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="" />
archives->dt;$_ctx->archives = $core->blog->getDates($params); unset($params);
?>
archives->fetch()) : ?>archives = null; ?>
archives->dt;$_ctx->archives = $core->blog->getDates($params); unset($params);
?>
archives->fetch()) : ?>archives = null; ?>
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)."' ";
} ?>
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);
?>
posts->fetch()) : ?>
posts = null; $_ctx->post_params = null; ?>
tpl->getData('_head.html'); } catch (Exception $e) {} ?>
tpl->getData('_top.html'); } catch (Exception $e) {} ?>
tpl->getData('_footer.html'); } catch (Exception $e) {} ?>