smarty->fetch('head.tpl'); ?> smarty->fetch('seo.top.tpl'); ?> smarty->fetch('banner.loaded_no.tpl'); ?> smarty->fetch('box.affiliate.tpl'); ?>
TESTIMONIALS
Last 25 Testimonials

Read all Epione Testimonials!

"); $rss_channel[$main][$item_counter][$currently_writing] = $data; } break; } } } function truncate($text,$numb,$etc = "...") { $text = html_entity_decode($text, ENT_QUOTES); if (strlen($text) > $numb) { $text = substr($text, 0, $numb); $text = substr($text,0,strrpos($text," ")); $punctuation = ".!?:;,-"; //punctuation you want removed $text = (strspn(strrev($text), $punctuation)!=0) ? substr($text, 0, -strspn(strrev($text), $punctuation)) : $text; $text = $text.$etc; } return $text; } $xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData"); /* if (!($fp = fopen($file, "r"))) { die("could not open XML input"); } /* while ($data = fread($fp, 4096)) { if (!xml_parse($xml_parser, $data, feof($fp))) { die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); } } */ $data=curl_string($file); xml_parse($xml_parser,$data); xml_parser_free($xml_parser); // putting in array $news=array(); if (isset($rss_channel["ITEMS"])) { if (count($rss_channel["ITEMS"]) > 0) for($i = 0;$i < count($rss_channel["ITEMS"]);$i++) $news[]=$rss_channel["ITEMS"][$i]; } $c=0; foreach($news as $key=>$val) { if($c<$nr_news) { echo "

"; echo ''.str_replace("?", "'", $val['TITLE']).'
'.''.truncate($val['DESCRIPTION'], 100, '... Read More').'

'; } $c++; } function curl_string ($url,$user_agent='Mozilla 4.0'){ $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_USERAGENT, $user_agent); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt ($ch, CURLOPT_TIMEOUT, 120); $result = curl_exec ($ch); curl_close($ch); return $result; } echo '

Read more Epione Testimonials!

' ?>

smarty->fetch('footer.tpl'); ?>