diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-12-15 22:52:56 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-12-15 22:52:56 +0000 |
commit | 29d83f0af0567bcb17da4ce9fe44b32f19405f68 (patch) | |
tree | ea8e6f11ae9d746923f6a7f713595936cbd21bc7 /www-ssl/inc/ShowUserPicture.php | |
parent | f446caee58e93823242b1dd76631783f198af5b1 (diff) |
user koennen eigene bilder hochladen
git-svn-id: svn://svn.cccv.de/engel-system@211 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/inc/ShowUserPicture.php')
-rw-r--r-- | www-ssl/inc/ShowUserPicture.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www-ssl/inc/ShowUserPicture.php b/www-ssl/inc/ShowUserPicture.php index 218b2a24..f8185c3e 100644 --- a/www-ssl/inc/ShowUserPicture.php +++ b/www-ssl/inc/ShowUserPicture.php @@ -22,8 +22,9 @@ if( mysql_num_rows($res) == 1) header( "HTTP/1.0 403 Forbidden"); die( "403 Forbidden"); } + // ist das bild sichtbar? - if( mysql_result($res, 0, "show")=="N" ) + if( (mysql_result($res, 0, "show")=="N") AND ($_SESSION['UID']!=$_GET["UID"]) ) { $SQL= "SELECT * FROM `UserPicture` WHERE `UID`='-1'"; $res = mysql_query( $SQL, $con); |