isAdmin()) { $message = ''; $f = new feeds(); if (isset($_POST['add'], $_POST['url'])) { $credits =(isset($_POST['credits']))? 1 : 0; if ($f->addFeed($_POST['url'], $_POST['type'], $_POST['source'], $credits)) { $message = __('Feed added'); $messageStatus = 'exito'; } } if (isset($_GET['delete']) && is_numeric($_GET['delete'])) { if ($f->removeFeed((int)$_GET['delete'])) { $message = __('Feed deleted'); $messageStatus = 'error'; } } ?> <?php echo __("Feeds")?> - Sorbet CMS

'.$message.'
' : ''); ?>
  • " />
    getFeedList(); foreach ($actual_feeds as $feed) { if ($feed['error']>0) { echo '
  • '.__('Error updating').' '.((!empty($feed['title']))? $feed['title'] : $feed['url']).'
  • '; } else { echo '
  • '.__('Importing').' '.((!empty($feed['title']))? $feed['title'] : $feed['url']).'
  • '; } } ?>
urlSorbet."/login.php"); } ?>