<? include("./config.php"); if (isset($_POST['rURL'])){ $self = true; $location = $_POST['rURL']; include './c_ref.php'; } include("./incs/feeed.class.php"); $my_feed = new feed($_REQUEST['aff'] ? intval($_REQUEST['aff']) : $config_aff, $_REQUEST['saff'] ? $_REQUEST['saff'] : $config_saff, 10); $my_feed->get_query(); $my_feed->get_ids(); $my_feed->prepare_results(); $my_feed->print_feed(); ?>