 
        [u][/u] 
  

) 
)-----[  ]------------------------------------------
)

includes/bbcode.php 

% 
%-----[  ]------------------------------------------
%
	
	$text = str_replace("[b:$uid]", $bbcode_tpl['b_open'], $text);
	$text = str_replace("[/b:$uid]", $bbcode_tpl['b_close'], $text);

" 
"-----[   ]------------------------------------
" 
 
	$text = str_replace("[s:$uid]", $bbcode_tpl['s_open'], $text); 
	$text = str_replace("[/s:$uid]", $bbcode_tpl['s_close'], $text); 

 
-----[  ]------------------------------------------
 
	
	$text = preg_replace("#\[b\](.*?)\[/b\]#si", "[b:$uid]\\1[/b:$uid]", $text);

; 
;-----[   ]------------------------------------
; 
	 
	$text = preg_replace("#\[s\](.*?)\[/s\]#si", "[s:$uid]\\1[/s:$uid]", $text); 

: 
:-----[  ]------------------------------------------
:
 
templates/bbcode.tpl 

_ 
_-----[  ]--------------------------------- 
_

<!-- BEGIN b_open --><b><!-- END b_open -->
<!-- BEGIN b_close --></b><!-- END b_close -->

+ 
+-----[   ]------------------------------------
+ 

<!-- BEGIN s_open --><s><!-- END s_open --> 
<!-- BEGIN s_close --></s><!-- END s_close --> 

 
= 
=-----[  ]------------------------------------------
= 

rules.php 

- 
------[  ]------------------------------------------
- 

[u][/u] - <u> </u> 

& 
&-----[   ]------------------------------------
& 

<br/>[s][/s] - <s> </s>  


^ 
^-----[     ]--------------------------
^ 

 //molodej.us\\