beginTrans(); $userdb = new UserDB(); $comments = $userdb->getComments($user->getUserId(), $trans->getPDO(), $page, $commentsPerPage, $box); $trans->commit(); $trans->disconnect(); ?>
';
if ($comm->hasPicture()) {
$picture = $comm->getPicture();
echo ' '; } else echo ' '; if ($box == 'OUTBOX') echo ''. $comm->getToName() .''; else echo ''. $comm->getFromName() .' view conversation'; echo ' | '. $comm->getSentOn() .' | '; echo '
'. $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() .' |