<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="Refresh" content="20; url=http://deadlist.xaa.pl">
</head>
<body>
<?php
include("connect.php");
$rows = mysql_query("SELECT * FROM characters order by id desc"); {
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, 'http://www.tibia.com/community/?subtopic=characters&name='.$row['name']);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$link = curl_exec($curl);
preg_match('@\<table border=\"0\" cellspacing=\"1\" cellpadding=\"4\" width=\"100%\"\>\<tr bgcolor=\"#505050\" \>\<td colspan=\"2\" class=\"white\" \>\<b\>Character Deaths\</b\>\</td\>\</tr\>(.*?)\</td\>\</tr\>@', $link, $character);
$wyjsciowa = $character[0];
$nejm = '<span style="text-transform:capitalize; font-family:Verdana, sans-serif; font-size:8px:">'.$row['name'].'</span>';
preg_match('@"top" >(.*?)T</td@', $wyjsciowa, $czas);
{
echo '<EMBED SRC="alert.wav" HIDDEN="TRUE" AUTOSTART="TRUE" loop="true"></EMBED>'; }
}
?>
</body>