Bravo List
Go Back   > Bravo List > Source Code > Archived Trackers > OpenTracker
Old 14th February 2021, 22:42
geeb's Avatar
geeb geeb is offline
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

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 14:04. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2021, vBulletin Solutions Inc.