Где мне скачать такую панельку как у этого форума ?
скрипт меню для BB code -
CODE:
$text=htmlspecialchars($text);
$text=stripslashes($text);
$text = str_replace("[u]","<u>",$text);
$text = str_replace("[U]","<u>",$text);
$text = str_replace("[i]","<i>",$text);
$text = str_replace("[I]","<i>",$text);
$text = str_replace("[b]","<B>",$text);
$text = str_replace("[B]","<B>",$text);
$text = str_replace("[sub]","<SUB>",$text);
$text = str_replace("[SUB]","<SUB>",$text);
$text = str_replace("[sup]","<SUP>",$text);
$text = str_replace("[SUP]","<SUP>",$text);
$text = str_replace("[/u]","</u>",$text);
$text = str_replace("[/U]","</u>",$text);
$text = str_replace("[/i]","</i>",$text);
$text = str_replace("[/I]","</i>",$text);
$text = str_replace("[/b]","</B>",$text);
$text = str_replace("[/B]","</B>",$text);
$text = str_replace("[/SUB]","</SUB>",$text);
$text = str_replace("[/sub]","</SUB>",$text);
$text = str_replace("[/SUP]","</SUP>",$text);
$text = str_replace("[/sup]","</SUP>",$text);
$text = eregi_replace("(.*)\\[url\\](.*)\\[/url\\](.*)","\\1<a class=lib href='\\2' target=_blank>\\2</a>\\3",$text);
$text = str_replace("\r\n","<br>",$text);
$text=stripslashes($text);
$text = str_replace("[u]","<u>",$text);
$text = str_replace("[U]","<u>",$text);
$text = str_replace("[i]","<i>",$text);
$text = str_replace("[I]","<i>",$text);
$text = str_replace("[b]","<B>",$text);
$text = str_replace("[B]","<B>",$text);
$text = str_replace("[sub]","<SUB>",$text);
$text = str_replace("[SUB]","<SUB>",$text);
$text = str_replace("[sup]","<SUP>",$text);
$text = str_replace("[SUP]","<SUP>",$text);
$text = str_replace("[/u]","</u>",$text);
$text = str_replace("[/U]","</u>",$text);
$text = str_replace("[/i]","</i>",$text);
$text = str_replace("[/I]","</i>",$text);
$text = str_replace("[/b]","</B>",$text);
$text = str_replace("[/B]","</B>",$text);
$text = str_replace("[/SUB]","</SUB>",$text);
$text = str_replace("[/sub]","</SUB>",$text);
$text = str_replace("[/SUP]","</SUP>",$text);
$text = str_replace("[/sup]","</SUP>",$text);
$text = eregi_replace("(.*)\\[url\\](.*)\\[/url\\](.*)","\\1<a class=lib href='\\2' target=_blank>\\2</a>\\3",$text);
$text = str_replace("\r\n","<br>",$text);