From 543a217eb639fcc02d7b67a1e7a28c3b3ae9dc94 Mon Sep 17 00:00:00 2001 From: lopar Date: Fri, 16 Feb 2018 03:12:47 +0200 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BF=D0=B8=D1=81=D0=BE=D0=BA=20=D0=BA?= =?UTF-8?q?=D0=BB=D0=B0=D0=BD=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clan.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clan.php b/clan.php index 4a22bb8..9543473 100644 --- a/clan.php +++ b/clan.php @@ -26,13 +26,13 @@ if ($claninf AND ($query = db::c()->query('SELECT * FROM `clans` WHERE `name` = echo "

{$query['name']}

{$query['descr']}

"; } else { echo "

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

"; - $query = db::c()->query('SELECT `name`,`short` FROM `clans` ORDER BY `name` ASC'); + $query = db::c()->query('SELECT `align`,`name`,`short` FROM `clans` ORDER BY `name` ASC'); while ($clanrow = $query->fetch_assoc()) { - echo "",$clanrow['name'],"
"; + echo " ",$clanrow['name'],"
"; } } /* - + else { $clan = $_GET[clan]; $query=mysql_query("SELECT * FROM clans WHERE short = '$_GET[clan]' LIMIT 1");