session_start(); mysql_connect("localhost","korpo_UR","101285") or die ("Keine Verbindung zur Datenbank"); mysql_select_db("korporal_UR") or die ("Datenbank nicht vorhanden"); include("ingame_navi_script.php"); $ID=mysql_fetch_array(mysql_query("SELECT ID, nickname FROM status WHERE nickname='$_SESSION[nickname]'")); $anz=mysql_num_rows(mysql_query("SELECT an, status FROM post WHERE status='0' && del='0' && an='$ID[ID]'")); ?>
if($anz<1){ ?> }else{ ?> } ?> mysql_close($db); ?>