Pre-Mini Femení

[insert_php]
$url = “https://www.basquetcatala.cat/competicions/resultats/6691”;
if ($url != null) {
$file = file_get_contents($url);
$patternStart = ‘‘;
$patternEnd = ‘‘;
$output = substr($file, strpos($file, $patternStart, 9000)); //Set start offset trying to avoid possible overload
$output = substr_replace($output, ”, strrpos($output, $patternEnd), strlen($output)); //Set start offset trying to avoid possible overload
$output = str_replace(‘href=”/equip’, ‘href=”https://www.basquetcatala.cat/equip’, $output);
$output = str_replace(‘<a’, ‘<a=”” target=”_blank” ‘,=”” $output);=”” $output=”str_replace(‘src=”‘,” ‘src=”http://www.basquetcatala.cat’, $output); $output = str_replace(‘height:280px’, ‘height:0px’, $output); echo ‘

</a’,>
‘.$output.’

‘;
} else {
echo ‘No s\’ha trobat l\’equip’;
}
[/insert_php]