IsLoggedIn() && (!$GLOBALS["G_PluginManager"]->PluginEnabled("BotDetector") || !$GLOBALS["G_PluginManager"]->GetPlugin("BotDetector")->CheckForSpamBot()) ) { $PEmail = strlen($PosterEmail) > 0 ? "(".MungeEmailAddress($PosterEmail).")" : ""; } else { $PEmail = ""; } ?>
Subject:
Posted By:
Date Posted:
DatePosted(); $DateEdited = $Message->DateEdited(); $PosterEmail = $Message->PosterEmail(); $Edited = strtotime($DateEdited) >= strtotime($DatePosted); if ( $G_User->IsLoggedIn() && (!$GLOBALS["G_PluginManager"]->PluginEnabled("BotDetector") || !$GLOBALS["G_PluginManager"]->GetPlugin("BotDetector")->CheckForSpamBot()) ) { $PEmail = strlen($PosterEmail) > 0 ? "(".MungeEmailAddress($PosterEmail).")" : ""; } else { $PEmail = ""; } 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 = $G_User->HasPriv(PRIV_POSTCOMMENTS); # escape variables for HTML $SafeTopicId = defaulthtmlentities($Message->ParentId()); $SafeMessageId = defaulthtmlentities($Message->MessageId()); $SafeSubject = defaulthtmlentities($Message->Subject()); if ($GLOBALS["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 .