Verfasst: 22.12.2003 14:33
..poste mal einen Link zur portal.php (als *.txt abspeichern).
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Acid hat geschrieben:Versuch´s ma damit....und in der portal_body.tpl dann noch {recent.TOPIC_KAT} (suche nach "recent") eintragen.Code: Alles auswählen
# # ----- [ DATEI ÖFFNEN ] --------------------- # portal.php # # ----- [ FINDE ] --------------------- # $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; $template->assign_block_vars('recent', array( 'TOPIC_TITLE' => $topic_title, # # ----- [ MIT FOLGENDEM ERSETZEN ] --------------------- # $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; //kategorien if( $line[$i]['k_id'] !=0 ) { $sql="SELECT kategorie FROM ". TOPIC_KAT ." WHERE k_id = ". $line[$i]['k_id']; if( $result = $db->sql_query($sql) ) { $kat = $db->sql_fetchrow($result); $topic_kat = '[' .$kat['kategorie'] .']'; } } else { $topic_kat = ''; } //kategorien $template->assign_block_vars('recent', array( 'TOPIC_TITLE' => $topic_title, 'TOPIC_KAT' => $topic_kat,