where from is problem
my Source is tbdev 08, codes I'm from max_global.php
PHP Code:
// [img]http://www/image.gif[/img]
$s = preg_replace("/\[img\](http:\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg))\[\/img\]/i", "<a href=\"\\1\" rel=\"ibox\"><IMG border=\"0\" src=\"\\1\" width=150 title=\"Click to enlarge\"></a>", $s);
// [img=http://www/image.gif]
$s = preg_replace("/\[img\](http:\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg))\[\/img\]/i", "<a href=\"\\1\" rel=\"ibox\"><IMG border=\"0\" src=\"\\1\" width=1000 title=\"Click to enlarge\"></a>", $s);
// [imgw]http://www/image.gif[/imgw]
$s = preg_replace("/\[imgw\](http:\/\/[^\s'\"<>]+(\.(jpg|gif|png)))\[\/imgw\]/i", "<img border=\"0\" src=\"\\1\" alt=\"\" onload=\"NcodeImageResizer.createOn(this);\">", $s);
// [imgw=http://www/image.gif]
$s = preg_replace("/\[imgw=(http:\/\/[^\s'\"<>]+(\.(gif|jpg|png)))\]/i", "<img border=\"0\" src=\"\\1\" alt=\"\" onload=\"NcodeImageResizer.createOn(this);\">", $s);