beginTrans(); $userdb = new UserDB(); $comments = $userdb->getComments($user->getUserId(), $trans->getPDO(), $page, $commentsPerPage, $box); $trans->commit(); $trans->disconnect(); ?> View Your Messages

View Your Private Messages

View Your Sent Messages

'; else echo '

View Your Inbox

'; ?>
(Beware of possible scam-artists)

View Your Private Messages

'; echo ''; if ($box != 'OUTBOX') echo ''; } } echo '
'; if ($comm->hasPicture()) { $picture = $comm->getPicture(); echo '
'; } else echo '
'; if ($box == 'OUTBOX') echo ''. $comm->getToName() .''; else echo ''. $comm->getFromName() .'
view conversation'; echo '
'. $comm->getSentOn() .'
'. $comm->getMessage(); if ($comm->getFriendRequest() && $box != 'OUTBOX') echo '

*** THIS IS A FRIEND REQUEST ***
To accept '. $comm->getFromName() .' as a friend, click here'; if ($box == 'OUTBOX' && $comm->getFlag() == 'N') echo '
(Not yet read)
'; echo '
reply to '. $comm->getFromName() .'
'; if ($page > 1) echo 'Page '. ($page - 1) .''; if (count($comments) == $commentsPerPage) echo ($page > 1 ? ' | ' : '') .'Page '. ($page + 1) .''; echo '
'; $ui = Component::getInstance(); $ui->drawHeader($user); $ui->drawFooter(); ?>