Your IP : 216.73.216.130


Current Path : /home/magalijoj/www/blog/cbtpl/ee/f4/
Upload File :
Current File : /home/magalijoj/www/blog/cbtpl/ee/f4/eef4b4694d25c422dcb5df18c6c27333.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0); ?>" 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 context::global_filter($core->blog->name,1,0,0,0,0); ?></title>
  
  <link rel="contents" title="<?php echo __('Archives'); ?>" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("archive"),0,0,0,0,0); ?>" />
  <?php
$_ctx->categories = $core->blog->getCategories();
?>
<?php while ($_ctx->categories->fetch()) : ?>
  <link rel="section" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("category")."/".$_ctx->categories->cat_url,0,0,0,0,0); ?>" title="<?php echo context::global_filter($_ctx->categories->cat_title,1,0,0,0,0); ?>" />
  <?php endwhile; $_ctx->categories = null; ?>
  
  <?php if ($_ctx->exists("meta")) { @$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; }
$params['limit'] = $_ctx->nb_entry_per_page;
$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
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="previous" title="<?php echo __('previous entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0); ?>" />
        <?php endif; ?>
        
        <?php if(!context::PaginationStart()) : ?>
        <link rel="next" title="<?php echo __('next entries'); ?>" href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0); ?>" />
        <?php endif; ?>
      <?php endif; ?>
    <?php endif; ?>
    
    <link rel="chapter" href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>" title="<?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?>" />
  <?php endwhile; $_ctx->posts = null; $_ctx->post_params = 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); ?>" />
  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase('rsd'),0,0,0,0,0); ?>" />
  <link rel="meta" type="application/xbel+xml" title="Blogroll" href="<?php echo context::global_filter($core->blog->url.$core->url->getBase("xbel"),0,0,0,0,0); ?>" />
  
  <?php echo $core->tpl->getData('_head.html'); ?>
</head>

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

<div id="wrapper">

<div id="main">
  <div id="content">
  <h2 id="latest-post">En ce moment sur <?php echo context::global_filter($core->blog->name,1,0,0,0,0); ?></h2>
  
  <?php if ($_ctx->exists("meta")) { @$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; }
$params['limit'] = $_ctx->nb_entry_per_page;
$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
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 class="postodd<?php if ($_ctx->posts->index() == 0) { echo 'first'; } ?>">
    
     <p class="post-date">
      <span class="day-date"><?php echo context::global_filter($_ctx->posts->getDate('%e'),0,0,0,0,0); ?></span>
	  <span class="month-date"><?php echo context::global_filter($_ctx->posts->getDate('%B'),0,0,0,0,0); ?></span>
	  <span class="year-date"><?php echo context::global_filter($_ctx->posts->getDate('%Y'),0,0,0,0,0); ?></span>
     </p>
    
    <h2 id="p<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0); ?>" class="post-title"><a
    href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?></a></h2>
    
    <p class="post-info"><?php echo __('By'); ?> <?php echo context::global_filter($_ctx->posts->getAuthorLink(),0,0,0,0,0); ?>
    <?php echo __('on'); ?> <?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0); ?>, <?php echo context::global_filter($_ctx->posts->getTime(''),0,0,0,0,0); ?>
    <?php if($_ctx->posts->cat_id) : ?>
    - <a href="<?php echo context::global_filter($_ctx->posts->getCategoryURL(),0,0,0,0,0); ?>"><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0); ?></a>
    <?php endif; ?>
    </p>

    <?php if($_ctx->posts->isExtended()) : ?>
      <div class="post-content"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0); ?></div>
      <p class="read-it"><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>"
      title="<?php echo __('Continue reading'); ?> <?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?>"><?php echo __('Continue reading'); ?></a>...</p>
    <?php endif; ?>

    <?php if(!$_ctx->posts->isExtended()) : ?>
      <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0); ?></div>
    <?php endif; ?>

    <p class="post-info-co">
    <?php if(($_ctx->posts->hasComments() || $_ctx->posts->commentsActive())) : ?>
    <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>#comments" class="comment_count"><?php if ($_ctx->posts->nb_comment == 0) {
  printf(__('no comment'),(integer) $_ctx->posts->nb_comment);
} elseif ($_ctx->posts->nb_comment == 1) {
  printf(__('one comment'),(integer) $_ctx->posts->nb_comment);
} else {
  printf(__('%d comments'),(integer) $_ctx->posts->nb_comment);
} ?></a>
    <?php endif; ?>
    <?php if(($_ctx->posts->hasTrackbacks() || $_ctx->posts->trackbacksActive())) : ?>
    <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>#pings" class="ping_count"><?php if ($_ctx->posts->nb_trackback == 0) {
  printf(__('no trackback'),(integer) $_ctx->posts->nb_trackback);
} elseif ($_ctx->posts->nb_trackback == 1) {
  printf(__('one trackback'),(integer) $_ctx->posts->nb_trackback);
} else {
  printf(__('%d trackbacks'),(integer) $_ctx->posts->nb_trackback);
} ?></a><?php endif; ?>
    <?php if($_ctx->posts->countMedia()) : ?>
    <a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>#attachments" class="attach_count"><?php if ($_ctx->posts->countMedia() == 0) {
  printf(__('no attachment'),(integer) $_ctx->posts->countMedia());
} elseif ($_ctx->posts->countMedia() == 1) {
  printf(__('one attachment'),(integer) $_ctx->posts->countMedia());
} else {
  printf(__('%d attachments'),(integer) $_ctx->posts->countMedia());
} ?></a><?php endif; ?>
    </p>
    </div>
    
    <?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="pagination"><?php if(!context::PaginationEnd()) : ?>
        <a href="<?php echo context::global_filter(context::PaginationURL(1),0,0,0,0,0); ?>" onclick="setActiveStyleSheet('alternate'); return true;" class="prev">&#171;
        <?php echo __('previous entries'); ?></a> - <?php endif; ?>
        <?php echo __('page'); ?> <?php echo context::global_filter(context::PaginationPosition(0),0,0,0,0,0); ?> <?php echo __('of'); ?> <?php echo context::global_filter(context::PaginationNbPages(),0,0,0,0,0); ?>
        <?php if(!context::PaginationStart()) : ?> - 
        <a href="<?php echo context::global_filter(context::PaginationURL(-1),0,0,0,0,0); ?>" onclick="setActiveStyleSheet('alternate'); return true;" class="next"><?php echo __('next entries'); ?>
        &#187;</a><?php endif; ?></p>
      <?php endif; ?>
    <?php endif; ?>
  <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
  
  <a class="go-to-top" title="remonter en haut de page" href="#top">haut de page</a>

  </div>  <!-- End #content -->
</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> <!-- End #sidebar -->





  <div id="featured"> 
  
  <h2 class="main-title">a retenir</h2>
  
     <ul class="feature-nav">
      <li class="last-feature"><a href="#last-feature">les deux derniers billets à retenir</a></li>
      <li class="all-feature"><a href="#all-feature">voir les précèdents billets à retenir</a></li>
     </ul>

  <div id="last-feature">
    
  <?php if ($_ctx->exists("meta")) { @$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; }
$params['limit'] = 2;
$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
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['post_selected'] = 1;$_ctx->post_params = $params;
$_ctx->posts = $core->blog->getPosts($params); unset($params);
?>
<?php while ($_ctx->posts->fetch()) : ?>
  
    <div class="post-feature<?php if (($_ctx->posts->index()+1)%2 == 1) { echo 'odd'; } ?>">
    
    <h2 class="post-title"><a
    href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?></a></h2>
    
    <p class="post-info"><?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0); ?>
    <?php if($_ctx->posts->cat_id) : ?>
    - <a href="<?php echo context::global_filter($_ctx->posts->getCategoryURL(),0,0,0,0,0); ?>"><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0); ?></a>
    <?php endif; ?>
    </p>

    <?php if($_ctx->posts->isExtended()) : ?>
      <div class="post-content"><?php echo context::global_filter($_ctx->posts->getExcerpt(0),0,0,0,0,0); ?></div>
      <p class="read-it"><a href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>"
      title="<?php echo __('Continue reading'); ?> <?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?>"><?php echo __('Continue reading'); ?></a>...</p>
    <?php endif; ?>

    <?php if(!$_ctx->posts->isExtended()) : ?>
      <div class="post-content"><?php echo context::global_filter($_ctx->posts->getContent(0),0,0,0,0,0); ?></div>
    <?php endif; ?>
    </div>
  
  <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
  </div> <!-- End #last-feature -->
  
  <div id="all-feature">
    
  <?php if ($_ctx->exists("meta")) { @$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; }
$params['limit'] = $_ctx->nb_entry_per_page;
$params['limit'] = array((($_page_number-1)*$params['limit']),$params['limit']);
if ($_ctx->exists("users")) { $params['user_id'] = $_ctx->users->user_id; }
if ($_ctx->exists("categories")) { $params['cat_id'] = $_ctx->categories->cat_id; }
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['post_selected'] = 1;$_ctx->post_params = $params;
$_ctx->posts = $core->blog->getPosts($params); unset($params);
?>
<?php while ($_ctx->posts->fetch()) : ?>
  
    <div class="post-feature<?php if (($_ctx->posts->index()+1)%2 == 1) { echo 'odd'; } ?>">
    
    <h2 class="post-title"><a
    href="<?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>"><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?></a></h2>
    
    <p class="post-info"><?php echo context::global_filter($_ctx->posts->getDate(''),0,0,0,0,0); ?>
    <?php if($_ctx->posts->cat_id) : ?>
    - <a href="<?php echo context::global_filter($_ctx->posts->getCategoryURL(),0,0,0,0,0); ?>"><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0); ?></a>
    <?php endif; ?>
    </p>
    
    </div>
  
  <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
  
  </div> <!-- End #all-feature -->

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




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

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