', $string); $string3 = explode('', $string2[1]); //$news = $string3[0]; $news = str_replace('href="','style="text-decoration: none" href="arts.php?s=meast&t=',$string3[0]); $news = str_replace('src="','SRC="'.$site,$news); echo "$news"; } elseif ($s == "meast") { $site= "http://www.middle-east-online.com"; $url = "http://www.middle-east-online.com".$t; $string = implode("\n", file($url)); $string2 = explode('', $string); $string3 = explode('', $string2[1]); $news = str_replace('src="','src="'.$site,$string3[0]); echo "$news"; } ?>