IsLoggedIn() ?"(".MungeEmailAddress($PosterEmail).")":""; ?>
Subject:
Posted By:
Date Posted:
DatePosted(); $DateEdited = $Message->DateEdited(); $PosterEmail = $Message->PosterEmail(); $PEmail = $User->IsLoggedIn() && strlen($PosterEmail) ? "(".MungeEmailAddress($PosterEmail).")":""; $Edited = strtotime($DateEdited) >= strtotime($DatePosted); if ($Edited) { $Editor = new SPTUser(intval($Message->EditorId())); $SafeEditorName = defaulthtmlentities($Editor->Name()); $SafeDateEdited = defaulthtmlentities(date( "F j, Y \a\\t g:i a", strtotime($DateEdited))); } $CanPostComments = $GLOBALS["G_User"]->HasPriv(PRIV_POSTCOMMENTS); # escape variables for HTML $SafeTopicId = defaulthtmlentities($Message->ParentId()); $SafeMessageId = defaulthtmlentities($Message->MessageId()); $SafeSubject = defaulthtmlentities($Message->Subject()); $SafeBody = nl2br(defaulthtmlentities($Message->Body())); $SafePosterName = defaulthtmlentities($Message->PosterName()); if (strlen($SafePosterName) == 0) $SafePosterName = "[deleted account]"; $SafeDatePosted = defaulthtmlentities(date("F j, Y \a\\t g:i a", strtotime($DatePosted))); ?>
Subject:
Posted By:
Date Posted:

This message was edited by on .