miniBB ® 

miniBB

® 

Demo

A place to try it out in every way⇒ miniBB.com
 · Start · Polls · Register · Search · Statistics · Manual ·
Anything miniBB Demo / Anything /  
 

test

 
Author Guest

#1 · Posted: 9 May 2011 12:33 

Author Guest

#2 · Posted: 22 May 2011 23:46 
טטטטטטטטט

Author qwerty

Admin 

Photos: 1 
#3 · Posted: 23 May 2011 12:07 
<?php /* This file is part of miniBB. miniBB is free discussion forums/message
board software, without any warranty. See COPYING file for more detail
s. Copyright (C) 2007 Paul Puzyrev, Sergei Larionov. www.minibb.net Latest File Update: 2007-Aug-23 */ function enCodeBBSig($msg,$admin) { $pattern=array(); $replacement=array(); $pattern[]="/\[url=((f|ht)tp[s]?:\/\/[^<> \n\r\[\]]+?)\](.*?)\[\/u
rl\]/i"; $replacement[]="<a href=\"\\1\" target=\"_blank\" rel=\"nofollow\"
>\\3</a>"; /* [IMGS] tag code - with fixed width and ALT */ $pattern[]="/\[img=(http:\/\/([^<> \n\r\[\]&]+?)\.?(gif|jpg|jpeg|p
ng)?)\](.*?)\[\/img\]/i"; $replacement[]='<img src="\\1" alt="\\4" title="\\4" />'; $pattern[]="/\[[bB]\](.+?)\[\/[bB]\]/s"; $replacement[]='<strong>\\1</strong>'; $pattern[]="/\[[iI]\](.+?)\[\/[iI]\]/s"; $replacement[]='<em>\\1</em>'; $pattern[]="/\[[uU]\](.+?)\[\/[uU]\]/s"; $replacement[]='<u>\\1</u>'; $pattern[]="/\[font(#[A-F0-9]{6})\](.+?)\[\/font\]/is"; $replacement[]='<span style="color:\\1">\\2</span>'; if($admin==1 or $GLOBALS['isMod']==1){ $pattern[]="/\[urlc=((f|ht)tp[s]?:\/\/[^<> \n\r\[\]]+?)\](.*?)
\[\/url\]/i"; $replacement[]="<a href=\"\\1\" target=\"_blank\">\\3</a>"; } $msg=preg_replace($pattern, $replacement, $msg); $msg=str_replace(array("\r\n", "\n"), '<br />', $msg); if(substr_count($msg,'<img')>0) $msg=str_replace('align=""', '', $
msg); if(substr_count($msg,'"nofollow"></a>')>0) $msg=str_replace('"nofo
llow"></a>', '"nofollow">URL</a>', $msg); return $msg; } //---------------> function deCodeBBSig($msg) { $pattern=array(); $replacement=array(); /* [IMGS] tag code - with fixed width and alt */ $pattern[]="/<img src=\"([^<> \n\r\[\]]+?)\" alt=\"(.+?)\" (title=
\"(.+?)\" )?\/>/i"; $replacement[]="[img=\\1]\\4[/img]"; $pattern[]="/<a href=\"([^<> \n\r\[\]]+?)\" target=\"(_new|_blank)
\" rel=\"nofollow\">(.+?)<\/a>/i"; $replacement[]="[url=\\1]\\3[/url]"; if($GLOBALS['user_id']==1 or (isset($GLOBALS['isMod']) and $GLOBAL
S['isMod']==1)){ $pattern[]="/<a href=\"([^<> \n\r\[\]]+?)\" target=\"(_new|_bl
ank)\">(.+?)<\/a>/i"; $replacement[]="[urlc=\\1]\\3[/url]"; } else{ $pattern[]="/<a href=\"([^<> \n\r\[\]]+?)\" target=\"(_new|_bl
ank)\">(.+?)<\/a>/i"; $replacement[]="[url=\\1]\\3[/url]"; } $pattern[]="/<strong>(.+?)<\/strong>/is"; $replacement[]="\\1"; $pattern[]="/<em>(.+?)<\/em>/is"; $replacement[]="\\1"; $pattern[]="/<[uU]>(.+?)<\/[uU]>/s"; $replacement[]="\\1"; $pattern[]="/<span style=\"color#[A-F0-9]{6})\">(.+?)<\/span>/is"; $replacement[]='[font\\1]\\2[/font]'; $msg=preg_replace($pattern, $replacement, $msg); $msg=str_replace ('<br />', "\n", $msg); if(substr_count($msg, '[img\\2]')>0) $msg=str_replace('[img\\2]',
'[img]', $msg); return $msg; } ?>



fdsf

Spoiler!
fsdfdsf

The King of Admins

Author Guest

#4 · Posted: 24 May 2011 00:13 
bubum

Author Guest

#5 · Posted: 26 May 2011 18:57 
Test_Admin




ioiouioiouoiu

Author Guest

#6 · Posted: 26 May 2011 18:57 
Test_Admin




ioiouioiouoiu

Anything miniBB Demo / Anything /
 test

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

 

Online now: Guests - 1
Members - 0
Max. ever online: 72 [7 Sep 2023 21:51]
Guests - 72 / Members - 0
 
miniBB Demo Powered by Bulletin Board Software miniBB ® Contacts


  ⇑