اقتبـاس ،، أنا أريدها بالشكل هذا :استبدل التعديلات لملف: includes/functions.class.php
www.forumold.com/forum/forum3.html
www.forumold.com/forum/thread36.html
للأقسام
CODE
$type = str_replace("index.php?page=forum&show=1&id=","forum--",$type);
$type = str_replace("index.php?page=forum&show=1&id=","forum--",$type);
$type = preg_replace('#forum--(.*?)"#i', 'forum$1.html"', $type);
$type = preg_replace('#forum--(.*?)"#i', 'forum$1.html"', $type);
للمواضيع
CODE
$type = str_replace("index.php?page=topic&show=1&id=","thread-",$type);
$type = str_replace("index.php?page=topic&show=1&id=","thread-",$type);
$type = preg_replace('#thread-(.*?)"#i', 'thread$1.html"', $type);
$type = preg_replace('#thread-(.*?)"#i', 'thread$1.html"', $type);
مثال لاستبدال BBCode iframe
CODE
<iframe SRC="{content}" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO MAX-WIDTH=640 HEIGHT=360 allowfullscreen></iframe>