channel->item as $noticia) { if($ContadorNoticias<$elementos){ if($ContadorNoticias>$inicio){ $pubDate = $noticia->pubDate; $pubDate = strftime("%d-%m-%Y", strtotime($pubDate)); if (str_word_count($noticia->description) < 30) { $noticia->description = "Accede para leer la noticia"; } echo "

".truncate2(($noticia->title), 45, " ", " [..]")."

"; echo "

".truncate2(($noticia->description), 200, " ", " [..]")."

"; echo "

Sigue leyendo esta noticia

"; } $ContadorNoticias = $ContadorNoticias + 1; } } } ?> Grupo Cabello - Usted primero - Prensa

NOTICIAS


Fatal error: Uncaught Error: Call to undefined function lectorRSS() in /var/www/vhost/grupocabello.es/home/html/templates_c/1901e1731dc2aaf1d9c73a3ef09004251f84eff4.file.prensas.html.php:27 Stack trace: #0 /var/www/vhost/grupocabello.es/home/html/libs/sysplugins/smarty_internal_templatebase.php(182): content_5335a44218eb61_70263906(Object(Smarty_Internal_Template)) #1 /var/www/vhost/grupocabello.es/home/html/libs/sysplugins/smarty_internal_template.php(284): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true) #2 /var/www/vhost/grupocabello.es/home/html/templates_c/0bfa7afe3a341933414395830e17ad73901bc2d4.file.esqueleto.html.php(36): Smarty_Internal_Template->getSubTemplate('prensas.html', NULL, NULL, 0, NULL, Array, 0) #3 /var/www/vhost/grupocabello.es/home/html/libs/sysplugins/smarty_internal_templatebase.php(182): content_52eb859b7d1881_09858240(Object(Smarty_Internal_Template)) #4 /var/www/vhost/grupocabello.es/home/html/libs/sysplugins/smarty_internal_templatebas in /var/www/vhost/grupocabello.es/home/html/templates_c/1901e1731dc2aaf1d9c73a3ef09004251f84eff4.file.prensas.html.php on line 27