ok, meti el codigo
Código:
<?php
$category = "1";
$number = "10";
ob_start();
include("noticias/show_news.php");
$news = ob_get_clean();
$tpl->assign('noticias', $news);
?>
Y me pone este error:
Fatal error: Call to a member function assign() on a non-object in /home/ggah178/public_html/bd/event.php on line 8
Aun si no me marcara error, como lo mostraria si todo lo que se ve es atraves de los TPL no? algo tendria que poner en el .tpl?