"; else echo "
";
echo "". ReplaceSmilies(mysql_result($Erg, $n, "Betreff")) ."\n";
// Schow Admin Page
if( $_SESSION['CVS'][ "admin/news.php" ] == "Y" )
echo " [edit]
\n\t\t";
echo "
".mysql_result($Erg, $n, "Datum").", ";
echo UID2Nick(mysql_result($Erg, $n, "UID"))."";
// avatar anzeigen?
echo DisplayAvatar (mysql_result($Erg, $n, "UID"));
echo "
". ReplaceSmilies(nl2br(mysql_result($Erg, $n, "Text"))) ."
\n"; $RefID=mysql_result($Erg, $n, "ID"); $countSQL="SELECT COUNT(*) FROM `news_comments` WHERE `Refid`='$RefID'"; $countErg = mysql_query($countSQL, $con); $countcom = mysql_result($countErg, 0, "COUNT(*)"); echo "\n\n"; } echo "