UNREAD PMs [place this on the user profile in index.php]
======================
======================
======================
Code:
$noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid='".$who."' AND byuid='".$uid."'"));
$nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid='".$who."' AND unread='1'"));
echo "Unread PMs: [b]$nout[0][/b], [b]$noin[0][/b] from you
";



Comment