So nun habe ich es hinbekommen.
Hier wäre noch mein Code, falls sich in Zukunft jemand interessiert:
Hier wäre noch mein Code, falls sich in Zukunft jemand interessiert:
PHP-Code:
<?php
/* Quelltext von Seite in Variable kopieren*/
$webseite = "http://195.149.157.22/Common/leagueDetails.asp?LeagueLevelUnitID=30049";
$fp_webseite = file_get_contents ($webseite, false);
$fp_webseite = strip_tags($fp_webseite);
$in_array = explode ("\n",$fp_webseite);
for ($i = 0; $i < sizeof ($in_array); $i++)
{
$in_array[$i] = trim ($in_array[$i]);
}
$in_array = str_replace($in_array[20], "Liga: VII.5 (30049)",$in_array);
$in_array = str_replace($in_array[27], "Land",$in_array);
$in_array = str_replace($in_array[40], "Mannschaft",$in_array);
$in_array = str_replace($in_array[41], "Spiele",$in_array);
$in_array = str_replace($in_array[42], "Tore",$in_array);
$in_array = str_replace($in_array[43], "Punkte",$in_array);
?>
<TABLE width="100%" CELLPADDING="0" CELLSPACING="0">
<tr>
<td colspan="5" class="inhalt"><b><? print($in_array[20]); ?></b></td>
</tr>
<tr>
<td colspan="5" class="inhalt"><b><? print($in_array[27]); ?>:</b> <? print($in_array[28]); ?></td>
</tr>
<tr>
<td colspan="5" class="inhalt"> </td>
</tr>
<tr bgcolor="#ff6600">
<td class="inhalt_titel"></td>
<td class="inhalt_titel"><? print($in_array[40]); ?></td>
<td class="inhalt_titel"><? print($in_array[41]); ?></td>
<td class="inhalt_titel"><? print($in_array[42]); ?></td>
<td class="inhalt_titel"><? print($in_array[43]); ?></td>
</tr>
<tr>
<td class="inhalt">1.</td>
<td class="inhalt"><? print($in_array[48]); ?></td>
<td class="inhalt"><? print($in_array[49]); ?></td>
<td class="inhalt"><? print($in_array[50]); ?> - <? print($in_array[52]); ?></td>
<td class="inhalt"><? print($in_array[53]); ?></td>
</tr>
<tr>
<td class="inhalt">2.</td>
<td class="inhalt"><? print($in_array[58]); ?></td>
<td class="inhalt"><? print($in_array[59]); ?></td>
<td class="inhalt"><? print($in_array[60]); ?> - <? print($in_array[62]); ?></td>
<td class="inhalt"><? print($in_array[63]); ?></td>
</tr>
<TR>
<TD COLSPAN="11" HEIGHT="1px" BGCOLOR="#000000"></TD>
</TR>
<tr>
<td class="inhalt">3.</td>
<td class="inhalt"><? print($in_array[72]); ?></td>
<td class="inhalt"><? print($in_array[73]); ?></td>
<td class="inhalt"><? print($in_array[74]); ?> - <? print($in_array[76]); ?></td>
<td class="inhalt"><? print($in_array[77]); ?></td>
</tr>
<tr>
<td class="inhalt">4..</td>
<td class="inhalt"><? print($in_array[82]); ?></td>
<td class="inhalt"><? print($in_array[83]); ?></td>
<td class="inhalt"><? print($in_array[84]); ?> - <? print($in_array[86]); ?></td>
<td class="inhalt"><? print($in_array[87]); ?></td>
</tr>
<tr>
<td class="inhalt">5.</td>
<td class="inhalt"><? print($in_array[92]); ?></td>
<td class="inhalt"><? print($in_array[93]); ?></td>
<td class="inhalt"><? print($in_array[94]); ?> - <? print($in_array[96]); ?></td>
<td class="inhalt"><? print($in_array[97]); ?></td>
</tr>
<tr>
<td class="inhalt">6.</td>
<td class="inhalt"><? print($in_array[102]); ?></td>
<td class="inhalt"><? print($in_array[103]); ?></td>
<td class="inhalt"><? print($in_array[104]); ?> - <? print($in_array[105]); ?></td>
<td class="inhalt"><? print($in_array[107]); ?></td>
</tr>
<TR>
<TD COLSPAN="11" HEIGHT="1px" BGCOLOR="#000000"></TD>
</TR>
<tr>
<td class="inhalt">7.</td>
<td class="inhalt"><? print($in_array[116]); ?></td>
<td class="inhalt"><? print($in_array[117]); ?></td>
<td class="inhalt"><? print($in_array[118]); ?> - <? print($in_array[120]); ?></td>
<td class="inhalt"><? print($in_array[121]); ?></td>
</tr>
<tr>
<td class="inhalt">8.</td>
<td class="inhalt"><? print($in_array[126]); ?></td>
<td class="inhalt"><? print($in_array[127]); ?></td>
<td class="inhalt"><? print($in_array[128]); ?> - <? print($in_array[130]); ?></td>
<td class="inhalt"><? print($in_array[131]); ?></td>
</tr>
</TABLE>
Kommentar