"; //echo "Userid"; //echo "
"; //echo $sqlx; //echo "
"; //echo $ergebnis; //echo "
"; // while ($wertx = mysql_fetch_object( $ergebnis )) { //echo $wertx->id_user; // $eingelogt=$wertx->id_user; //echo "
"; // } // } //vergleichen der id_user mit dem Userlevel // $sqly = "SELECT * From user_rechte WHERE id_user = $eingelogt"; // $erguserlevel = mysql_query($sqly); // if ($erguserlevel) { //echo "userlevel"; //echo "
"; //echo $sqly; //echo "
"; //echo $erguserlevel; //echo "
"; // while ($werty = mysql_fetch_object( $erguserlevel )) { //echo $werty->id_userlevel; //echo "
"; //echo $werty->id_user; //echo "
"; // if ($werty->id_rechte=='1') { //echo $werty->id_rechte; // // $admin=$werty->id_rechte; // } //echo "
"; // } // } //echo "Test_Stop"; //echo "
"; //Test_Stop //News lesen die nicht freigeschltet sind $sql0 = "SELECT id_news, ne_datum, ne_headline FROM news WHERE ne_on='0' ORDER BY ne_datum DESC"; $result0 = mysql_query($sql0); //News lesen die freigeschaltet sind $sql1 = "SELECT id_news, ne_datum, ne_headline FROM news WHERE ne_on='1' ORDER BY ne_datum DESC"; $result1 = mysql_query($sql1); if ($result1) { ?>

Aktuelles

Datum Thema  
ne_datum); ?> ne_headline; ?> id_news&edit=1\">edit"; } else { echo " "; } ?>
".mysql_error($db); } if ('1'==$admin) { if ($result0) { ?>

News (nicht freigeschaltet)

"; } ?>
Datum Thema  
ne_datum); ?> ne_headline; ?> id_news&edit=1\">edit"; } ?>


"; echo "neu"; echo "
".mysql_error($db); } } ?>