CODIGO DEL PORTAL : Lo que hace basicamente es que por cada noticia genere un elace para que se puedan ver independientemente(ojala alguien lo interprete mejor porque aun estoy en php basico)
Código PHP:
if (!isset($HTTP_GET_VARS['article']))
{
$fetch_news = phpbb_fetch_posts($config['portal_news_forum'], $config['portal_number_of_news'], $config['portal_news_length'], 0, ($config['portal_show_all_news']) ? 'news_all' : 'news');
if (count($fetch_news) == 0)
{
$template->assign_block_vars('news_row', array(
'S_NO_TOPICS' => true,
'S_NOT_LAST' => false
));
Código PHP:
if(file_exists("$_GET[article].php")) {
include("$_GET[article].php");
}
Quiero que aparte del sistema que ya tiene el 1º codigo (que imprime las noticias independientemente) se acople el 2º para que tambien se impriman archivos con extencion php
Espero que me entiendan y muchas gracias