

Radio Control Military RC Heli Best Rated Electric Rc Heli Rtf Gas Rc Helicopters Mini Rc Indoor Helicopter Winner Rc Helicopter Parts Rc Gas Helicopters Video Attack Remote Control Helicopters Custom Made Scale Model Helicopters New Generation Rc Helicopter Mini Rc Heli Mods Super Speed Rc Helicopter


cache_dir = $dir;
$rss->cache_time = 0;
$randomOrder = 0;
$rs = $rss->get('http://www.rchelicopterhobby.info/feed.xml');
$random_items = rand(2,4);
$itemcount = 0;
$usehtml = 0;
if ($randomOrder) shuffle($rs[items]);
foreach($rs[items] as $item) {
if ($itemcount >= $random_items) break;
$text=stripslashes($item[title]);
$text = str_replace('<','<',html_entity_decode($text));
$text = str_replace('','',$text);
$title = $text;
if (!$usehtml){
$text=strip_tags(html_entity_decode(str_replace('<','<',$text)));
$text_array = explode(' ',$text);
$titleLenght=rand(2,15);
$title = implode(' ',array_slice($text_array, 0,$titleLenght));
}
$text=stripslashes($item[description]);
$text = str_replace('<','<',html_entity_decode($text));
$text = str_replace('','',$text);
$text = str_replace('[!]','',$text);
$description = $text;
if (!$usehtml){
$text=strip_tags(html_entity_decode(str_replace('<','<',$text)));
$text_array = explode(' ',$text);
$descLenght=rand(10,20);
$description = implode(' ',array_slice($text_array, 0,$descLenght));
}
$template = stripslashes('\" rel=\"nofollow\"><#rss_title#> <#rss_description#>
');
$template = str_replace('<#rss_link#>',$item[link],$template);
$template = str_replace('<#rss_title#>',$title,$template);
$template = str_replace('<#rss_description#>',$description,$template);
echo $template;
$itemcount++;
}
?>
New on
RC Helicopter
6-CH Revolution 450 3D Ready-to-Fly Collective Pitch BRUSHLESS
Electric Radio Remote Controlled Helicopter 
|