$master_board_name
  $welcome"; $boardstatus='normal'; if (isset($cat)) { $boardstatus='category'; $cat1 = rawurldecode($cat); $boards = GetBoards_cat($cat1,$me_statsboards); } else { $user_category = $UserInformation[category]; if (isset($user_category)) { $boardstatus='user_category'; $boards = GetBoards_cat($user_category,$me_statsboards); } } if($boardstatus=='normal') $boards = GetBoards($me_statsboards); require "_header.inc"; ?> "; } $lastcategory = $thisrow[category]; # Icon malen, d.h. ob neue Einträge oder nicht - Brain Slayer 21.07.2001 $new_posts_string = GetBoardIcon ( $me_threadslastvisit, ($thisrow[totalposts] == "0" ? 0 : $thisrow[lastmodified]) ); $status=""; if( $thisrow[deactivated] == 1 ) $status="  \"Readonly"; else if( $thisrow[boardpassword] == "doorkeepernone" || strstr( $thisrow[boardpassword],'rating') != false ) $status="  \"protected"; else if( $thisrow[noguests] == 1 && $me_userid == -1) $status="  (Anmeldung erforderlich)"; echo " \n \n"; echo " \n"; echo " \n"; echo " \n"; $threadi=mysql_query("select threadid from apb".$n."_threads where boardparentid=\"$thisrow[boardid]\" and threadid_new = 0 order by timelastreply desc limit 0,1"); $threadi = mysql_fetch_array($threadi); $threadi=mysql_query("select authorname from apb".$n."_posts where threadparentid=\"$threadi[threadid]\" order by posttime desc limit 0,1"); $threadi = mysql_fetch_array($threadi); $reply_username = GetUsername($threadi[authorname],$BoardID,"1","",""); $reply_von = "von $reply_username"; echo " \n"; echo " \n"; echo " \n"; # } # if board-protection } ?>
Board
$thisrow[category]
$new_posts_string$thisrow[boardname]$status
"; echo " $thisrow[descriptiontext]"; echo "
$thisrow[totalthreads]
$thisrow[totalposts]
".($thisrow[totalposts] == "0" ? $kein_beitrag : HackDate($thisrow[lastmodified]).'
'.$reply_von )."
\n"; $mod = explode (", ", $thisrow[boardmods]); $first_br = ""; while (list($key, $val) = each($mod)) { if ($val != "" && $val != " " && $val != " ") { $mod_username = GetUsername($val,$BoardID,"1","",""); echo"$first_br$mod_username\n"; } $first_br = "
"; } echo "
           
"); echo("
"); echo(""); echo(""); echo("Forum-Jump:
"); } if( $statistic_on ) { $oday = mysql_fetch_row(mysql_db_query ($mysqldb,"SELECT time FROM apb".$n."_statistik ORDER BY time DESC LIMIT 1")); $oday = getdate($oday[0]); $day = getdate(time()); if (!$oday) $oday[yday] = $day[yday]; if ($oday[yday] != $day[yday]) { mysql_db_query($mysqldb,"DELETE FROM apb".$n."_statistik"); } mysql_db_query ($mysqldb,"INSERT INTO apb".$n."_statistik VALUES('','".time()."','$REMOTE_ADDR','$PHP_SELF','$HTTP_USER_AGENT','$REMOTE_HOST');"); } #mysql_close(); # wird sonst in userreg gemacht... require "userreg.php"; # suche preuserreg.php require "_footer.inc"; ?>