<?php $text = preg_replace("#[quote=(http://)?(.*?)](.*?)[/quote]#si", "<b>cytat : 2</b><br /><div class='quote'\">3</div>", $text); ?>
.quote{ background-color: white; color: blue; margin:5px; padding:5px; border-color: blue; border-style: solid; border-width: 1px; }
problem polega na tym, że gdy napiszę
cytat w cytacie, czyli
[ quote = autor ]
[ quote = autor ]blabla[/ quote ]
[/ quote]
to
robi mi coś takiego
<b>cytat : autor</b><br><div class="quote"><br>
[quote=autor*]blabla</div><br>
[/quote*]