Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > OpenTracker
Reply
  #1  
Old 14th February 2021, 22:42
geeb geeb is offline
Member
 
Join Date: Dec 2014
Posts: 4
Default HTML source bbtag.
Hy please help.
My bbcode I cannot persuade it to function.


[PHP]if (stripos($message ,'
PHP Code:
') !== false){$message = htmlentities($message);$message = preg_replace("/(?<!\\\\)\[php(?::\w+)?\](.*?)\[\/php(?::\w+)?\]/si", "<div style="font-family: 'Courier New',Consolas,Monaco,monospace;font-size: 12px;background-color:#979992;padding:10px;">\\1</div>", $message);} 

Thanks help.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 10:37. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.