",$neueckig);
$neueckig = str_replace(":-))","",$neueckig);
$neueckig = str_replace(";o)","",$neueckig);
$neueckig = str_replace(":)","",$neueckig);
$neueckig = str_replace(":-)","",$neueckig);
$neueckig = str_replace(":(","",$neueckig);
$neueckig = str_replace(":-(","",$neueckig);
$neueckig = str_replace(":o(","",$neueckig);
$neueckig = str_replace(":o)","",$neueckig);
$neueckig = str_replace(";o(","",$neueckig);
$neueckig = str_replace(";(","",$neueckig);
$neueckig = str_replace(";-(","",$neueckig);
$neueckig = str_replace("8)","",$neueckig);
$neueckig = str_replace("8o)","",$neueckig);
$neueckig = str_replace(":P","",$neueckig);
$neueckig = str_replace(":-P","",$neueckig);
$neueckig = str_replace(":oP","",$neueckig);
$neueckig = str_replace(";P","",$neueckig);
$neueckig = str_replace(";oP","",$neueckig);
$neueckig = str_replace("?)","",$neueckig);
return $neueckig;
}
/* Parameter:
[] */
function displayavatar($UID, $height="30")
{
global $con;
// ist ein foto hinterlegt?
$SQL= "SELECT * FROM `UserPicture` WHERE `UID`='$UID' AND `show`='Y'";
$res = mysql_query( $SQL, $con);
if( mysql_num_rows($res) == 1)
if( $height > 0)
return( " ");
else
return( " ");
// show avator
$asql = "select * from User where UID = $UID";
$aerg = mysql_query ($asql, $con);
if( mysql_num_rows($aerg) )
if( mysql_result($aerg, 0, "Avatar") > 0)
return (" ");
}
function UIDgekommen($UID)
{
global $con;
$SQL = "SELECT `Gekommen` FROM `User` WHERE UID='$UID'";
$Erg = mysql_query($SQL, $con);
//echo $UID."#";
if( mysql_num_rows($Erg))
return mysql_result($Erg, 0);
else
return "0";
}
?>