$row[name]";
if ($active_user_id <> 2) {
if ( $row[level] == 2 ) {
if ( $active_board_pw[$board_id] == $row[pw] ) { $has_pw = "yes"; } else { $has_pw = "no"; }
} else { $has_pw = "yes"; }
if ( exist_new_postings_board($row[id]) ) {
$output .= " ".$texts['get_boards']['new_entry']."
";
}
else { $output .= "
"; }
} else { $output .= "
"; }
}
return($output);
}
#**************************************************************************************
function get_folder_priority($priority) {
global $dbName,$li,$font_klein, $font, $rank_name, $folder_info, $folder2show, $texts;
$output = "";
$sqlst = "select folder.id,
folder.name,
stats_folder.rank
from folder, stats_folder
where folder.status = 1
AND folder.id = stats_folder.folder_id
AND folder.priority = $priority
order by stats_folder.users DESC, folder.name
limit $folder2show";
$result = mysql_db_query($dbName,$sqlst,$li);
while ($row = mysql_fetch_array ( $result )) {
//$row['name'] = ereg_replace('[<]{1}[a-zA-Z]{1,}([^>])*>', '', $row['name']);
if ( $row['name'] != '' ) {
$row['name'] = strip_tags($row['name']);
$output .= "
";
}
}
return($output);
}
function get_folder() {
global $dbName,$li,$font_klein, $font, $rank_name, $folder_info, $folder2show, $texts;
$output = "
| <$font_klein>Top Ten's |
| <$font_klein>".$texts['get_folder']['prio0']['title']." ($anz) "; $output .= get_folder_priority(0); if ($anz > $folder2show) { $output .= " [ ".$texts['get_folder']['msg']." ] "; } $output .= " |
| <$font_klein>".$texts['get_folder']['prio5']['title']." ($anz) "; $output .= get_folder_priority(5); if ($anz > $folder2show) { $output .= " [ ".$texts['get_folder']['msg']." ] "; } $output .= " |
| <$font_klein>".$texts['get_folder']['prio1']['title']." ($anz) "; $output .= get_folder_priority(1); if ($anz > $folder2show) { $output .= " [ ".$texts['get_folder']['msg']." ] "; } $output .= " |
| <$font_klein>".$texts['get_folder']['prio4']['title']." ($anz) "; $output .= get_folder_priority(4); if ($anz > $folder2show) { $output .= " [ ".$texts['get_folder']['msg']." ] "; } $output .= " |
| <$font_klein>".$texts['get_menu']['title']." |
| <$font_klein>
".$texts['get_menu']['register_user']." ".$texts['get_menu']['register_forum']." ".$texts['get_menu']['help']." ".$texts['get_menu']['stats']." ".$texts['get_menu']['search']." ".$texts['get_menu']['disclaimer']." ".$texts['get_menu']['impressum']." ".$texts['get_menu']['advertise']." ".$texts['get_menu']['slaps']." ".$texts['get_menu']['email']." |
| <$font_klein>".$texts['abo_folder']['title']." | |
| <$font>$row[name] <$font_klein>"; $output .= get_boards($row[id]); $output .= " | ";
if ($row = mysql_fetch_array ( $result )) {
$output .= "<$font>$row[name] <$font_klein>"; $output .= get_boards($row[id]); $output .= " |
| <$font>".$texts['abo_folder']['no_forum']." <$font_klein>"; $output .= " | |
| <$font_klein>Eine Auswahl von Foren: | |
| <$font>$row[name] <$font_klein>$row[abstract] "; $output .= get_boards($row[id]); $output .= " | ";
if ($row = mysql_fetch_array ( $result )) {
$row['abstract'] = stripslashes($row['abstract']);
$row[name] = stripslashes($row[name]);
$output .= "<$font>$row[name] <$font_klein>$row[abstract] "; $output .= get_boards($row[id]); $output .= " |
| <$font> <$font_klein>"; $output .= " | |
| <'.$font.'> '.$texts['welcome'].' | ||
| <'.$font.'> '.$folder.' '.$menu.' | <'.$font.'> '.$welcome.' '.$motd.' |
<'.$font.'>
'.$folder_abo.' '.$folder_abo_list; if( !userPaid() ) { print ' '; } print ' |
| <'.$font.'> | ||