', $string); $string3 = explode('', $string2[1]); $news = str_replace('href="show_g.asp?pg=',' href="sport.php?s=moheet&t=',$string3[0]); //$news = str_replace('href="show_g.asp?pg=',' href="economie.php?s=moheet&t=',$news); $news = str_replace('','',$news); $news = str_replace('','',$news); $news = str_replace('','',$news); $news = str_replace('','',$news); $news = str_replace('src="','src="'.$site,$news); echo "

"; echo "$news"; } elseif ($s == "moheet") { $site= "http://us.moheet.com/"; $url = "http://us.moheet.com/asp/show_g.asp?pg=".$t."&lc=".$lc."&lol=".$lol; $string = implode("\n", file($url)); $string2 = explode(' ', $string); $string3 = explode('تاريخ التحديث', $string2[1]); $news = str_replace('/2006/','http://www.aawsat.com//2006/',$string3[0]); $news = str_replace('src="','src="'.$site,$string3[0]); echo "$news"; } ?>