Public feed #377369

danny lol

public php v1 · immutable
Raw Edit
·published 2007-03-01 18:13 UTC
rendered paste body
<?php$site = file("http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=".$_GET['user']);for ($a = 0; $a <= count($site); $a++) {	if (ereg("Overall",$site[$a])) { if (empty($i)) { $i = $a; } }	if (ereg("Construction",$site[$a])) { if (empty($end)) { $end = $a+4; } }}while ($i <= $end) {	echo trim($site[$i]).": ";	if (ereg("Not Ranked",trim(strip_tags($site[$i+2])))) { echo "Not Ranked<br>\n"; $i = $i+7; }	else { echo trim(strip_tags($site[$i+2]))." ".trim(strip_tags($site[$i+3]))." ".trim(strip_tags($site[$i+4]))."<br>\n"; $i = $i+9; }}?>