Unread Inboxs
Started on the old forum in August 2010 · view the original in the archive · old links redirect here
If u didnt ave dat u'd get an fatal undefined function error. :-/
Unread PM
grrrrrrrrrrrrrrrrrrrrr ere!
$umsg = getunreadpm(getuid_sid($sid));
$item = mysql_fetch_array(mysql_query("SELECT
a.name, b.id FROM ibwf_users a
INNER JOIN ibwf_private b ON a.id = b.byuid
WHERE b.touid='".$uid."' AND b.unread='1'
ORDER BY b.timesent
LIMIT 1"));
if($umsg>0)
{
echo "<img src=\"../images/star.gif\" alt=\".\"/> Last PM by : <a href=\"inbox.php?action=readpm&pmid=$item[1]&sid=$sid\">$item[0]</a> - $umsg Unread<br/>";
}
😳 .................................... http://photomag.lk/ .................................... 🤨