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()); if ($G_SysConfig->ForumsAllowHTML() ) { $SafeBody = StripXSSThreats( $Message->Body(), array("Tags"=>"p b i a u h1 h2 h3 h4 h5 h6 pre strike " ."sup sub ol ul blockquote hr")); } else { $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 .