[/b]</font>
</p>
<div id="tables">
<table align="center" width="80%" cellspacing="0" cellpadding="0">
<tr>
<th class="top">
Username</th>
<th class="top">
Paese</th>
<th class="top">
Iscritto Dal</th>
<th class="top">
Ultimo Login</th>
<th class="top">
Click</th>
<th class="top">
Sostituzione</th>
<?
require('config.php');
$lole=$_COOKIE["usNick"];
$tabla = mysql_query("SELECT * FROM tb_users where referer='$lole' and refp='' ORDER BY id ASC");
mysql_close($con);
while ($row = mysql_fetch_array($tabla)) {
echo "<tr><td align='left'> ";
echo $row["username"];
echo "</td><td align='left'> ";
echo $row["country"];
echo "</td><td align='left'> ";
echo date("d/m/Y H:i", $row["joindate"]);
echo "</td><td align='left'> ";
echo date("d/m/Y H:i", $row["lastlogdate"]);
echo "</td><td align='right'>";
echo $row["visits"];
echo "</td><td align='right'>";
echo "sostituzione";
echo "</td></tr>";
}
echo "</table>";
?>
</div>