$master_board_name
  $lang_main[welcome]"; if (!isset($cat)) { $user_categories = $UserInformation[categories]; if (!isset($user_categories)) { $boards = GetBoards(); } elseif (isset($user_categories)) { $boards = GetBoards_cat($user_categories); } } else { $cat1 = rawurldecode($cat); $boards = GetBoards_cat($cat1); } include "_header.inc"; if ($moderiert_von == "" || $moderiert_von == "0") { $moderiert_von = " "; } ?> next_record($boards)) { if ($thisrow[totalposts] != "0") { if ($thisrow[ boardpassword ] == "") { $lastreplyproperties = unserialize($thisrow[lastreplyproperties]); $topic_image = ($lastreplyproperties[topicicon] != "" ? "" : ""); $last_reply_string = "
  $topic_image   " . htmlspecialchars($lastreplyproperties[threadname]) . " (" . htmlspecialchars($lastreplyproperties[author]) . ")
" . HackDate($thisrow[lastmodified]) . "
"; } else { $last_reply_string = "
      " . HackDate($thisrow[lastmodified]) . "
"; } } else { $last_reply_string = $lang_main[kein_beitrag]; } if ($x == 0) { $lastcategory = "...dieser Text dient nur dazu, dass die Variable einen anderen Wert hat, als \$thisrow[catname]..."; } if ($thisrow[catname] != $lastcategory) { echo " $thisrow[catname]"; } $lastcategory = $thisrow[catname]; if (GetLastBoardVisit($thisrow[boardid]) < ($thisrow[totalposts] == "0" ? 0 : $thisrow[lastmodified])) { $new_posts_string = ""; } else { $new_posts_string = ""; } echo " \n"; echo " $new_posts_string\n"; echo " $thisrow[boardname]"; echo "
$thisrow[descriptiontext]
"; echo " \n"; echo "
$thisrow[totalthreads]
\n"; echo "
$thisrow[totalposts]
\n"; echo " $last_reply_string \n"; echo " \n"; $mod = explode (", ", $thisrow[boardmods]); if ($thisrow[boardmods] == "0" || $thisrow[boardmods] == "" || $thisrow[boardmods] == " ") { echo " "; } else { $first_br = ""; while (list($key, $val) = each($mod)) { if ($val != "" && $val != " " && $val != " ") { echo "$first_br$val"; } $first_br = ", "; } } echo " \n"; echo " \n"; $x++; } $show_mainpage_useronline = 1; if ($show_mainpage_useronline == 1) { echo " ".$lang_main[main_online1]." ".$useronline_timeout." ".$lang_main[minuten].":"; echo " \n\n"; echo " "; $useronline_array = GetUsersOnline(); if ($useronline_array[anzahl_gesamt] < 2) { if ($useronline_array[anzahl_user] == 0) { echo $lang_main[irgendein_gast]; } else { echo "".$useronline_array[nicknames][0]." ".$lang_main[alleinimforum]; } } else { echo "".$useronline_array[anzahl_gesamt]." ".$lang_main[user]." ("; if ($useronline_array[anzahl_user] == 0) echo $lang_main[keinmitglied]."):
\n"; elseif ($useronline_array[anzahl_user] == 1) echo $lang_main[onemember]."):
\n"; else echo $useronline_array[anzahl_user]." ".$lang_main[members]."):
\n"; if ($useronline_array[anzahl_user] != 0) { while (list($akt_key, $akt_nickname) = each($useronline_array[nicknames])) { $nick_name_string .= "$akt_nickname, "; } $nick_name_string = substr($nick_name_string, 0, -2); echo "$nick_name_string"; if ($useronline_array[anzahl_guests] != 0) echo " ".$lang_main[und]." "; } if ($useronline_array[anzahl_guests] == 1) echo $lang_main[oneguestonline]; elseif ($useronline_array[anzahl_guests] > 1) echo $useronline_array[anzahl_guests]." ".$lang_main[gaesteonline]; } echo "
\n\n"; } ?>