|
|
@ -56,15 +56,13 @@ function ReplaceSmilies($eckig) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function displayavatar($dumdidum) {
|
|
|
|
function displayavatar($dumdidum) {
|
|
|
|
include ("./inc/db.php");
|
|
|
|
include ("./inc/db.php");
|
|
|
|
|
|
|
|
global $displayavatar;
|
|
|
|
|
|
|
|
|
|
|
|
$asql = "select * from User where UID = $dumdidum";
|
|
|
|
$asql = "select * from User where UID = $dumdidum";
|
|
|
|
$aerg = mysql_query ($asql, $con);
|
|
|
|
$aerg = mysql_query ($asql, $con);
|
|
|
|
$displayavatar= mysql_result($aerg, 0, "Avatar");
|
|
|
|
if (($displayavatar<>0) && (mysql_num_rows($Erg)) )
|
|
|
|
if ($displayavatar<>0){
|
|
|
|
return (" <img src=\"./inc/avatar/avatar". mysql_result($aerg, 0, "Avatar"). ".gif\">");
|
|
|
|
return (" <img src=\"./inc/avatar/avatar$displayavatar.gif\">");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function Ausgabe_Feld($RID) {
|
|
|
|
function Ausgabe_Feld($RID) {
|
|
|
@ -81,5 +79,19 @@ function Ausgabe_Feld($RID) {
|
|
|
|
return mysql_query($SQL2, $con);
|
|
|
|
return mysql_query($SQL2, $con);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function UIDgekommen($UID) {
|
|
|
|
|
|
|
|
include ("./inc/db.php");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$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";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|