endq((int)$_GET['end_qst_now'], 'end', $user); if ($qEnd) $q->winqst((int)$_GET['end_qst'], $user); $qsee = ''; $qx = 0; $error = ''; ?> 404 query('SELECT `vars` FROM `actions` WHERE `vars` LIKE "?S" AND `vals` = "?s" AND `uid` = ?i LIMIT 100', "%start_quest%", "go", $user['id']); while ($pl = $sp->fetch_assoc()) { $questId = str_replace('start_quest', '', $pl['vars']); $pq = db::c()->query('SELECT `id`,`name`,`info` FROM `quests` WHERE `id` = ?i', $questId)->fetch_assoc(); $qsee .= sprintf(' %sВыполнить
%s
$s

', $pq['id'], $pq['name'], $pq['id'], $pq['info'], $q->info($pq, $user['id'])); $qx++; } if (!$qsee) $qsee = 'У вас нет заданий.'; if ($q->error) $error = $q->error; ?>
Состояние персонажа,