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