* Project name: Battles-Game */ use Battles\Template; Template::header('Список кланов'); include_once "config.php"; $claninf = urldecode(filter_input(INPUT_SERVER,'QUERY_STRING')); if ($claninf && ($query = db::c()->query('SELECT * FROM `clans` WHERE `name` = "?s"', $claninf)->fetch_assoc())) { echo "
{$query['descr']}
"; $clanlist = \Battles\Database\Db::getInstance()->execute('select login from users where clan = ?', $claninf); while ($member = $clanlist->fetch()) { echo " ",$member['login']," - ",$member['status'],"