diff --git a/clan.php b/clan.php index 19a22c2..71a4366 100644 --- a/clan.php +++ b/clan.php @@ -26,12 +26,8 @@ if ($claninf AND ($query = db::c()->query('SELECT * FROM `clans` WHERE `name` = echo "

Список кланов

"; $query = db::c()->query('SELECT `align`,`name`,`short` FROM `clans` ORDER BY `name` ASC'); while ($clanrow = $query->fetch_assoc()) { - $a = $clanrow['align']; - $s = $clanrow['short']; - $n = $clanrow['name']; - echo " ",$n,"
"; $frm = " %s
"; - echo "wwow - ".sprintf($frm,$a,$s,$n,$n); + echo sprintf($frm,$clanrow['align'],$clanrow['short'],$clanrow['name'],$clanrow['name']); } } ?>