и главное, что оно делает? зачем оно нужно?
This commit is contained in:
parent
afc15a384f
commit
da0aed9ffc
File diff suppressed because it is too large
Load Diff
@ -21,7 +21,7 @@ if ($get == 'hps') {
|
|||||||
if (isset($_GET['quid'])) {
|
if (isset($_GET['quid'])) {
|
||||||
$pl = mysql_fetch_array(mysql_query('SELECT * FROM `quests` WHERE `delete` = "0" AND `min_lvl` <= "' . $user['level'] . '" AND `max_lvl` >= "' . $user['level'] . '" AND `id` = "' . mysql_real_escape_string($_GET['quid']) . '" LIMIT 1'));
|
$pl = mysql_fetch_array(mysql_query('SELECT * FROM `quests` WHERE `delete` = "0" AND `min_lvl` <= "' . $user['level'] . '" AND `max_lvl` >= "' . $user['level'] . '" AND `id` = "' . mysql_real_escape_string($_GET['quid']) . '" LIMIT 1'));
|
||||||
if (isset($pl['id']) && $q->testGood($pl, $user['id']) == 1) {
|
if (isset($pl['id']) && $q->testGood($pl, $user['id']) == 1) {
|
||||||
echo $q->startq($pl['id'], null, $user['id']);
|
echo $q->startq($pl['id'], $user['id']);
|
||||||
} elseif ($q->testGood($pl, $user['id']) == 2) {
|
} elseif ($q->testGood($pl, $user['id']) == 2) {
|
||||||
$status = 'У вас уже есть такое задание ...';
|
$status = 'У вас уже есть такое задание ...';
|
||||||
} elseif ($q->testGood($pl, $user['id']) == 3) {
|
} elseif ($q->testGood($pl, $user['id']) == 3) {
|
||||||
|
Loading…
Reference in New Issue
Block a user