[ PHPXref.com ] [ Generated: Sun Jul 20 20:18:29 2008 ] [ Siteframe 5.0.2 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> feeds.php (source)

   1  <?php
   2  // $Id: feeds.php,v 1.2 2005/12/10 04:23:33 glen Exp $
   3  // Copyright (c)2005, Glen Campbell. All rights reserved.
   4  // this is a loadable admin module
   5  
   6  require_once  'siteframe.inc';
   7  
   8  $PAGE->assign('page_title', lang('page_title_feeds'));
   9  
  10  $rss = new RSSfeed;
  11  $q = sprintf(
  12      "SELECT * FROM %s ".
  13      "ORDER BY rss_url",
  14      $rss->table_name());
  15  
  16  $arr = array();
  17  $query = new Query('RSSfeed', $q);
  18  while($item = $query->get_all())
  19      $arr[] = $item;
  20  
  21  $PAGE->assign('rss_feeds', $arr);
  22  $PAGE->display();
  23  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]