Nur leider versteh ich nichtmal ganz das hier aus der func/forum.php
function forum_get_ordner ( $ftime, $id, $fid =0 ) { if ( $ftime >= $_SESSION['lastlogin'] ) { if ( $fid == 0 ) { $anzOpenTopics = db_result(db_query("SELECT COUNT(*) FROM prefix_topics LEFT JOIN prefix_posts ON prefix_posts.id = prefix_topics.last_post_id WHERE prefix_topics.fid = ".$id." AND prefix_posts.time >= ".$_SESSION['lastlogin'] ),0); if ( (($anzOpenTopics > 0 ) AND !isset($_SESSION['forumSEE'][$id])) OR $anzOpenTopics > count($_SESSION['forumSEE'][$id]) OR max ( $_SESSION['forumSEE'][$id] ) <= ( $ftime - 4 ) ) { return ( 'nord' ); } else { return ( 'ord' ); } } else { if ( isset ($_SESSION['forumSEE'][$fid][$id]) AND $ftime <= $_SESSION['forumSEE'][$fid][$id] ) { return ( 'ord' ); } else { return ( 'nord' ); } } } else { return ('ord'); } }
Dazu muss man dann ja irgentwie machen:
if ($anzahl_posts <= X) { return ( 'h_nord' ); } else { return ( 'h_ord' ) } ...
(h_... für hot)