Code: Alles auswählen
Open viewforum.php
##---Find----
if( ( $replies + 1 ) > $board_config['posts_per_page'] )
{
##----Add Before-----
//kategorien
if($topic_rowset[$i]['k_id'] !=0)
{
$sql="select kategorie FROM " . TOPIC_KAT ." where k_id=" . $topic_rowset[$i]['k_id'];
if ( $result = $db->sql_query($sql) )
{
$kat = $db->sql_fetchrow($result);
$topic_kat="[" .$kat['kategorie'] . "]";
}
}else{
$topic_kat="";
}
//kategorien
##------------
##----Find----
$template->assign_block_vars('topicrow', array(
'ROW_COLOR' => $row_color,
##---Replace with-----
$template->assign_block_vars('topicrow', array(
'TOPIC_KAT' => $topic_kat,
'ROW_COLOR' => $row_color,
##--------------------