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,332 @@
<!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 __('Archives'); ?> - <?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'); ?></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,''); ?>" />
<!-- 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($core->blog->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,
),'BlogDescription'); ?><?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 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 -->
<?php
if (!isset($params)) $params = [];
$params['type'] = 'month';
if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
$_ctx->archives = $core->blog->getDates($params); unset($params);
?>
<?php while ($_ctx->archives->fetch()) : ?>
<link rel="chapter" href="<?php echo context::global_filters($_ctx->archives->url($core),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,
),'ArchiveURL'); ?>" title="<?php echo context::global_filters(dt::dt2str('%B %Y',$_ctx->archives->dt),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,
),'ArchiveDate'); ?>" />
<?php endwhile; $_ctx->archives = 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","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'); ?>" />
<!-- head-linkrel -->
<?php try { echo $core->tpl->getData('_head.html'); } catch (Exception $e) {} ?>
<!-- html-head -->
</head>
<body class="dc-archive">
<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 id="content-info">
<h2><?php echo __('Archives'); ?></h2>
</div>
<div class="content-inner">
<?php
if (!isset($params)) $params = [];
$params['type'] = 'month';
if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
$_ctx->archives = $core->blog->getDates($params); unset($params);
?>
<?php while ($_ctx->archives->fetch()) : ?>
<?php if ($_ctx->archives->yearHeader()) : ?>
<h3><?php echo context::global_filters(dt::dt2str('%Y',$_ctx->archives->dt),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,
'format' => '%Y',
),'ArchiveDate'); ?></h3>
<ul>
<?php endif; ?>
<li><a href="<?php echo context::global_filters($_ctx->archives->url($core),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,
),'ArchiveURL'); ?>"
title="<?php echo context::global_filters(dt::dt2str('%B %Y',$_ctx->archives->dt),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,
),'ArchiveDate'); ?>"><?php echo context::global_filters(dt::dt2str('%B',$_ctx->archives->dt),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,
'format' => '%B',
),'ArchiveDate'); ?></a>
(<?php echo context::global_filters($_ctx->archives->nb_post,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,
),'ArchiveEntriesCount'); ?>)</li>
<?php if ($_ctx->archives->yearFooter()) : ?>
</ul>
<?php endif; ?>
<?php endwhile; $_ctx->archives = null; ?>
</div>
<!-- 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>