', $string); $string3 = explode('', $string2[1]); $news = str_replace('href="',' href="arts.php?s=dtgez&t=',$string3[0]); $news = str_replace('src="','SRC="'.$site,$news); echo "
"; echo "$news"; } elseif ($s == "dtgez") { $site= "http://www.aljazeera.net"; $url = "http://www.aljazeera.net".$t; $string = implode("\n", file($url)); $string2 = explode('', $string); $string3 = explode('الجزيرة ', $string2[1]); $news = str_replace('src="','src="'.$site,$string3[0]); //ews = str_replace('','',$news); //ews = str_replace('','',$news); //ews = str_replace('class=title','align=center style="font-size: 8pt"',$news); echo "$news"; } ?>