With table, and images...
PHP Code:
<?
$remote_site = join('', file("http://ultima.lightning.net/uo/index.html") );
preg_match_all(
"|<td>(.*)<a name=\"(.*)\">(.*):</a>(.*)</td>(.*)<td>(.*)<img src=\"(.*)\"(.*)</td>|Usi",
$remote_site, $matches);
echo "<table border=1 cellpadding=1 cellspacing=0>\n";
for ($i=0; $i<count($matches[0]); $i++) {
$name = $matches[3][$i];
$image = $matches[7][$i];
echo " <tr>\n";
echo " <td>\n";
echo "\t<font face='verdana, arial' size=1>";
echo $name;
echo "</font>\n";
echo " </td>\n";
echo " <td>\n";
if (strstr($image, 'grnball.gif')) {
echo "\t<img src='http://nettiq.com/images/image1.gif'>\n";
}
else {
echo "\t<img src='http://nettiq.com/images/image2.gif'>\n";
}
echo " </td>\n";
echo " </tr>\n";
} //END for
echo "</table>\n";
?>