Your IP : 216.73.216.108


Current Path : /home/m/a/g/magalijoj/www/blog/cbtpl/09/21/
Upload File :
Current File : /home/m/a/g/magalijoj/www/blog/cbtpl/09/21/092113d9c80f119a81e574c7f4595ac9.php

<?php echo "<?"; ?>xml version="1.0" encoding="utf-8"<?php echo "?>"; ?>
<?php echo "<?"; ?>xml-stylesheet title="XSL formatting" type="text/xsl" href="<?php echo context::global_filter($core->blog->url,0,0,0,0,0); ?>feed/rss2/xslt" <?php echo "?>"; ?>
<rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title><?php echo context::global_filter($core->blog->name,1,0,0,0,0); ?><?php if ($_ctx->feed_subtitle !== null) { echo context::global_filter($_ctx->feed_subtitle,1,0,0,0,0);} ?></title>
  <link><?php echo context::global_filter($core->blog->url,0,0,0,0,0); ?></link>
  <description><?php echo context::global_filter($core->blog->desc,1,0,0,0,0); ?></description>
  <language><?php echo context::global_filter($core->blog->settings->lang,0,0,0,0,0); ?></language>
  <pubDate><?php echo context::global_filter(dt::rfc822($core->blog->upddt,$core->blog->settings->blog_timezone),0,0,0,0,0); ?></pubDate>
  <copyright><?php echo context::global_filter($core->blog->settings->copyright_notice,1,0,0,0,0); ?></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
  <?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()) : ?>
  
  <item>
    <title><?php echo context::global_filter($_ctx->posts->post_title,1,0,0,0,0); ?></title>
    <link><?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?></link>
    <guid isPermaLink="false"><?php echo context::global_filter($_ctx->posts->getFeedID(),0,0,0,0,0); ?></guid>
    <pubDate><?php echo context::global_filter($_ctx->posts->getRFC822Date(),0,0,0,0,0); ?></pubDate>
    <dc:creator><?php echo context::global_filter($_ctx->posts->getAuthorCN(),1,0,0,0,0); ?></dc:creator>
    <?php if($_ctx->posts->cat_id) : ?>
    <category><?php echo context::global_filter($_ctx->posts->cat_title,1,0,0,0,0); ?></category>
    <?php endif; ?>
    <?php
$objMeta = new dcMeta($core); $_ctx->meta = $objMeta->getMetaRecordset($_ctx->posts->post_meta,'tag'); $_ctx->meta->sort('meta_id_lower','asc'); ?><?php while ($_ctx->meta->fetch()) : ?><category><?php echo context::global_filter($_ctx->meta->meta_id,0,0,0,0,0); ?></category><?php endwhile; $_ctx->meta = null; unset($objMeta); ?>
    
    <description><?php echo context::global_filter($_ctx->posts->getExcerpt(1),1,0,0,0,0); ?>
    <?php echo context::global_filter($_ctx->posts->getContent(1),1,0,0,0,0); ?></description>
    
    <?php
if ($_ctx->posts !== null && $core->media) {
$_ctx->attachments = new ArrayObject($core->media->getPostMedia($_ctx->posts->post_id));
?>
<?php foreach ($_ctx->attachments as $attach_i => $attach_f) : $GLOBALS['attach_i'] = $attach_i; $GLOBALS['attach_f'] = $attach_f; ?>
      <enclosure url="<?php echo context::global_filter($attach_f->file_url,0,0,0,0,0); ?>"
      length="<?php echo context::global_filter($attach_f->size,0,0,0,0,0); ?>" type="<?php echo context::global_filter($attach_f->type,0,0,0,0,0); ?>" />
    <?php endforeach; $_ctx->attachments = null; unset($attach_id); unset($attach_f); ?><?php } ?>

    
    <?php if($_ctx->posts->commentsActive()) : ?>
      <comments><?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>#comment-form</comments>
      <wfw:comment><?php echo context::global_filter($_ctx->posts->getURL(),0,0,0,0,0); ?>#comment-form</wfw:comment>
      <wfw:commentRss><?php echo context::global_filter($core->blog->url.$core->url->getBase("feed")."/rss2",0,0,0,0,0); ?>/comments/<?php echo context::global_filter($_ctx->posts->post_id,0,0,0,0,0); ?></wfw:commentRss>
    <?php endif; ?>
  </item>
  <?php endwhile; $_ctx->posts = null; $_ctx->post_params = null; ?>
  
</channel>
</rss>