2005/3/5 3:57
lawless007
Just popping in
Posts: 5
Since: 2005/2/23
global $xoopsUser; if( $xoopsUser ) { $pm_handler =& xoops_gethandler('privmessage'); $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); $criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid'))); $pm = $pm_handler->getCount($criteria); } if( $pm ) { echo "/xoop/html/viewpmsg.php" title="Read your new Private Messages">Private Messages($pm)n"; } else { echo "No new Private Messagesn"; }
2005/3/5 4:29
JasonMR
Just can't stay away
Posts: 655
Since: 2004/6/21
if( $pm ) { echo "/xoop/html/viewpmsg.php" title="Read your new Private Messages">Private Messages($pm)n"; } else { echo "No new Private Messagesn"; }
"/xoop/html/viewpmsg.php" title="Read your new Private Messages">Private Messages($pm)n"
/n
2005/3/5 4:34
Beejay
Quite a regular
Posts: 232
Since: 2004/6/5 2
global $xoopsUser; if( $xoopsUser ) { $pm_handler =& xoops_gethandler('privmessage'); $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); $criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid'))); $pm = $pm_handler->getCount($criteria); } if( $pm ) { echo "/xoop/html/viewpmsg.php" title="Read your new Private Messages">n"; } else { echo "No new Private Messagesn"; }
2005/3/5 4:35
2005/3/5 4:49
2005/3/6 2:10
Advanced Search
367 user(s) are online (277 user(s) are browsing Support Forums)
Members: 0
Guests: 367