define('AntiBK', true);
include_once("engline/config.php");
include_once("engline/dbsimple/Generic.php");
include_once("engline/functions/functions_info.php");
$adb = DbSimple_Generic::connect($database['adb']);
$adb->query("SET NAMES ? ",$database['db_encoding']);
$adb->setErrorHandler("databaseErrorHandler");
$char = Char::initialization(0, $adb);
$db = $adb->selectRow("SELECT `name`,
`glava`,
`name_short`
FROM `clan`
WHERE `name_short` = ?s", $clan);
$top = "Произошла ошибка:
";
$bot = "
Назад
echo "Информация о клане: \"$name\"";
echo "
"; ?> |
|||||
echo "Глава клана: ".$char->getLogin('clan', $glava); ?> |
Бойцы клана: $rows = $adb->selectCol("SELECT `login` FROM `characters` WHERE `clan_short` = ?s ORDER BY `exp` DESC", $name_s); foreach ($rows as $num => $clan_player) echo $char->getLogin('clan', $clan_player)." "; echo "Всего: ".count($rows).""; ?> |