</b></font><br></p>
<div id="tables">
<table align="center" width="80%" cellspacing="0" cellpadding="0">
<tr>
<th class="top"><b> Username</b></th>
<th class="top"><b> Paese</b></th>
<th class="top"><b> Iscritto Dal</b></th>
<th class="top"><b> Ultimo Login</b></th>
<th class="top"><b> Click</b></th>
<th class="top"><b> Sostituzione</b></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>