Файл: sys/info/user_collisions.php
Строк: 19
<?php
if (user_access('user_collisions') and $user['level'] > $ank['level']) {
$mass[0] = $ank['id'];
$collisions = user_collision($mass);
if (count($collisions) > 1) {
echo "<div class='list-group-item'>";
echo " " . lang('Возможные логины') . ":<br />";
for ($i = 1; $i < count($collisions); $i++) {
$ank_coll = mysql_fetch_assoc(query("SELECT * FROM `user` WHERE `id` = '$collisions[$i]' LIMIT 1"));
echo " <a href='/$ank_coll[mylink]'>" . nick($ank_coll['id'], null, 0, 1) . "</a>" . ($i > 1 ? ',' : false);
}
echo "</div>";
}
}