<html>
<title>Fearsome Angels</title>
<body>
<font color="#33CC33 ">
<center>
<div style="text-align: left;">
<?php
$ch = curl_init("http://www.tibia.com/community/?subtopic=guilds&page=view&GuildName=Fearsome+Angels");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
//echo '<pre>'.htmlspecialchars($output).'</pre><hr/>';
preg_match_all('/name=[^"]+">([^><]+)<\/A>/', $output, $matched);
$fp = fopen("http://www.tibia.com/community/?subtopic=worlds&world=Refugia","r");
while (feof($fp) != 1)
$text= $text.stripslashes(fgets($fp,10000)); str_replace("+", " ", $text);
?>
<div id="code">
<h3>
<?php
$text= $text.stripslashes(fgets($fp,10000));
foreach ($matched[1] as $value){
if (strpos($text, $value) > 1) {
$online .= $value. " <b><font color='green'></font></b> <br>";
}
}
echo $online;
?>
</h3>
</div>
<?
fclose($fp);
?>
</div>
</center>
</font>
</body>
</html>
preferences:
44.33 ms | 402 KiB | 5 Q