تفضل أخوي هذا الملف .. واتمنى نشره لجميع الاخوه الراغبين به وعدم الاحتكار ..
انسخ الموجود وضعه في ملف بي اتش بي .. وارفعه لموقعك هذا كل مافي الامر ...
قد يكون بحاجة الى تعديل بسيط .. باذن الله لو حبيت اي خدمة
راسلني ومن عيوني نخدمك ... والله ينفع به ..
ولا تنساني من دعوة في هذا الشهر الفضيل بارك الله فيك
كود PHP:
<html dir=rtl>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
$opentype = "_blank";
$bgcolor= "#F7F7F7";
$url = "http://palestine-info.info/ar/";
$string = implode("\n", file($url));
$string2 = explode("SCROLLDELAY=\"100\">", $string);
$string3 = explode("</MARQUEE>", $string2[1]);
$news = str_replace('href="',"href=$url",$string3[0]);
$news = str_replace('>- ',">",$news);
preg_match_all("/href[[:space:]]*=[[:space:]]*"."[\"']{0,1}([^\"'> ]+)/i",$news,$arr,PREG_SET_ORDER);
preg_match_all("|>([^<]*)</a|i",$news,$arr_text,PREG_SET_ORDER);
echo "<font size=\"2\"></font><span dir=rtl><marquee direction=\"right\" bgcolor=\"$bgcolor\" onmouseover=this.scrollAmount=0 onmouseout=this.scrollAmount=5>";
for ($i=0;$i<count($arr);$i++)
if ($arr_text[$i][1]!="")
echo " <font face=\"Simplified Arabic\" color=\"#000000\"> [ <a href=\"http://palestine-info.info/ar/".$arr[$i][1]."\" target=\"$opentype\">".$arr_text[$i][1]."</font></a> ]";
echo "</marquee></span>";