Your IP : 216.73.216.108


Current Path : /home/m/a/g/magalijoj/www/blog/cbtpl/a8/02/
Upload File :
Current File : /home/m/a/g/magalijoj/www/blog/cbtpl/a8/02/a8020d8aa5e4aa5f5ca26364909923e7.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0); ?>">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="MSSmartTagsPreventParsing" content="TRUE" />
  <title><?php echo __('Archives'); ?> - <?php echo context::global_filter($core->blog->name,1,0,0,0,0); ?></title>
  
  <link rel="top" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0); ?>" title="<?php echo __('Home'); ?>" />
  
  <?php
$params = array();$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_filter($_ctx->archives->url($core),0,0,0,0,0); ?>" title="<?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),1,0,0,0,0); ?>" />
  <?php endwhile; $_ctx->archives = null; ?>
  
  <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/rss2",0,0,0,0,0); ?>" />
  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/atom",0,0,0,0,0); ?>" />
  
  <?php echo $core->tpl->getData('_head.html'); ?>
</head>

<body class="dc-archive">
<div id="page">
<?php echo $core->tpl->getData('_top.html'); ?>

<div id="wrapper">

<div id="main">
  <div id="content">
  
  <div id="content-info">
    <h2><?php echo __('Archives'); ?></h2>
  </div>
  
  <div class="content-inner">
  <?php
$params = array();$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_filter(dt::dt2str('%Y',$_ctx->archives->dt),0,0,0,0,0); ?></h3>
      <ul>
    <?php endif; ?>
      <li><a href="<?php echo context::global_filter($_ctx->archives->url($core),0,0,0,0,0); ?>"
      title="<?php echo context::global_filter(dt::dt2str('%B %Y',$_ctx->archives->dt),1,0,0,0,0); ?>"><?php echo context::global_filter(dt::dt2str('%B',$_ctx->archives->dt),1,0,0,0,0); ?></a>
      (<?php echo context::global_filter($_ctx->archives->nb_post,0,0,0,0,0); ?>)</li>
    <?php if ($_ctx->archives->yearFooter()) : ?>
      </ul>
    <?php endif; ?>
  <?php endwhile; $_ctx->archives = null; ?>
  </div>
  
  </div>
</div> <!-- End #main -->

<div id="sidebar">
  <div id="blognav">
    <?php publicWidgets::widgetsHandler('nav');  ?>
  </div> <!-- End #blognav -->
  
  <div id="blogextra">
    <?php publicWidgets::widgetsHandler('extra');  ?>
  </div> <!-- End #blogextra -->
</div>

</div> <!-- End #wrapper -->

<?php echo $core->tpl->getData('_footer.html'); ?>
</div> <!-- End #page -->
</body>
</html>