<?php
//Подключение к SB
$url = "127.0.0.1"; //Адрес хоста SB
$login = "***"; //Логин пользователя базы данных SB
$pass = "***"; //Пароль SB
$table = "***"; //Имя базы SB
$link_sb = mysql_connect ($url, $login, $pass);
mysql_select_db($table,$link_sb) or die ('Не могу подключится к базе SB');
$sql = mysql_query('SELECT DISTINCT user, authid, email from sb_admins', $link_sb);
?>
<table id="stats" style="border-collapse: collapse; border-color:#808080;width: 770px;" border="1" cellspacing="0" cellpadding="0" >
<tbody>
<tr>
<th style="text-align: center;"><strong>Ник админа</strong></th>
<th style="text-align: center;"><strong>STEAM_ID</strong></th>
<th colspan="3" style="text-align: center;"><strong>Обратная связь</strong></th>
</tr>
<?php while ($res = mysql_fetch_assoc($sql)) { ?>
<tr class="lines">
<td><?php echo $res['user'];?></td>
<td><?php echo $res['authid'];?></td>
<td> <a href="mailto:<?php echo $res['email'];?>" target="_blank"><?php echo $res['email'];?></a></td>
</tr>
<?php } ?>
</tbody>
</table>