View Single Post
  #1  
Old 4th September 2019, 15:11
allfree allfree is offline
Member
 
Join Date: Aug 2019
Italy
Posts: 7
Exclamation help my pliss problem in the description
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); 
Click image for larger version

Name:	screen1.png
Views:	6
Size:	119.3 KB
ID:	5226

Click image for larger version

Name:	screen2.png
Views:	4
Size:	272.3 KB
ID:	5227
Reply With Quote