', $string); $string3 = explode('
', $string2[1]); //$news = $string3[0]; $news = str_replace('href="','style="text-decoration: none" href="index.php?s=itp&t=',$string3[0]); $news = str_replace('src="','SRC="'.$site,$news); //$news = str_replace('table width="340"','table width="100%"',$news); echo "$news"; } elseif ($s == "itp") { $site= "http://www.itp.net/"; $url = "http://www.itp.net".$t; $string = implode("\n", file($url)); $string2 = explode('', $string); $string3 = explode('', $string2[1]); $news = str_replace('src="','src="'.$site,$string3[0]); echo "$news"; } ?>