load('helper','url'); ?>
My Favorites Article

show_tabbed_nav($links, $captions, 2); ?>
load('libraries', 'table'); if($favorites){ global $mainframe; $cms->table->clear(); $cms->table->set_heading('', 'Content Title', ''); foreach($favorites as $row){ #actions $action = '[ remove ]'; $feed_link = cmsSefAmpReplace("index.php?option=com_jomcomment&task=rss&contentid=$row->contentid&opt=$row->option"); $title = ''.$row->title.''; $feed = ''; #Add the rows $cms->table->add_row($feed , $title, $action); } echo $cms->table->generate(); echo $pagination; } else { echo "You have not set any article as your favorite"; } ?>