diff --git a/classes/User.php b/classes/User.php
index 4672148..ed4a206 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -26,9 +26,9 @@ class User
public $block;
public $shadow;
// Пока несуществующие, для совместимости.
- public $married;
- public $experience;
- public $stat_points;
+ public $married ='Someone или нет.';
+ public $experience=200;
+ public $stat_points =1;
//Статусы того, кто смотрит на информацию.
public $watcher_id;
protected $watcherIsAdmin;
@@ -46,7 +46,14 @@ class User
}
}
- private function UserInfoDoll($isBattle = 0)
+ /**
+ * Отображает куклу персонажа (образ и слоты).
+ * @param int $isBattle - установить 1, если куклу нужно отобразить в поединке (показывает параметры при наведении на образ).
+ * @param int $isMain - установить 1, если куклу надо показать на странице игрока (по клику на предмет снимает его).
+ *
+ * @throws \Krugozor\Database\Mysql\Exception
+ */
+ private function UserInfoDoll($isBattle = 0, $isMain = 0)
{
//https://jsfiddle.net/ngx0yvhc
$dressed_items = db::c()->query('SELECT * FROM inventory WHERE owner_id = ?i AND dressed_slot > 0', $this->id);
@@ -56,8 +63,13 @@ class User
for ($i = 1; $i <= 12; $i++) {
echo sprintf('
', $i);
if (isset($dressed_item[$i])) {
- $itemString = '
%s';
- echo sprintf($itemString, $dressed_item[$i]['image'], $dressed_item[$i]['name'], $dressed_item[$i]['name']);
+ if (!$isBattle && $isMain) {
+ $itemString = '

';
+ echo sprintf($itemString, $i, $dressed_item[$i]['image'], $dressed_item[$i]['name'], $dressed_item[$i]['name']);
+ } else {
+ $itemString = '
%s';
+ echo sprintf($itemString, $dressed_item[$i]['image'], $dressed_item[$i]['name'], $dressed_item[$i]['name']);
+ }
} else {
echo sprintf('
![Пустой слот [%s] Пустой слот [%s]](/i/sh/noitem.png)
', $i, $i);
}
@@ -233,10 +245,10 @@ class User
}
}
- public function showUserDoll($isBattle = 0)
+ public function showUserDoll($isBattle = 0, $isMain = 0)
{
echo '
';
- $this->UserInfoDoll($isBattle);
+ $this->UserInfoDoll($isBattle, $isMain);
echo '
';
}
diff --git a/main.php b/main.php
index 8485f8d..dcbad53 100644
--- a/main.php
+++ b/main.php
@@ -198,42 +198,42 @@ function sum_mf($u)
{
try {
$sum = db::c()->query('SELECT SUM(`add_proc_mf`) AS `mf` FROM `inventory` WHERE `dressed` = 1 AND `add_proc_mf` > 0 AND `owner` = ?i', $u);
+ if ($sum->fetch_assoc() > 0) {
+ return $sum;
+ } else {
+ return 0;
+ }
} catch (\Krugozor\Database\Mysql\Exception $e) {
echo "
Ошибка: " . $e->getMessage() . "
В файле: " . $e->getFile() . " (" . $e->getLine() . ")
";
}
- if ($sum->fetch_assoc() > 0) {
- return $sum;
- } else {
- return 0;
- }
}
function sum_dmg($u)
{
try {
$sum = db::c()->query('SELECT SUM(`add_proc_uron`) AS `mf` FROM `inventory` WHERE `dressed` = 1 AND `add_proc_uron` > 0 AND `owner` = ?i', $u);
+ if ($sum->fetch_assoc() > 0) {
+ return $sum;
+ } else {
+ return 0;
+ }
} catch (\Krugozor\Database\Mysql\Exception $e) {
echo "
Ошибка: " . $e->getMessage() . "
В файле: " . $e->getFile() . " (" . $e->getLine() . ")
";
}
- if ($sum->fetch_assoc() > 0) {
- return $sum;
- } else {
- return 0;
- }
}
function sum_bron($u)
{
try {
$sum = db::c()->query('SELECT SUM(`add_proc_bron`) AS `mf` FROM `inventory` WHERE `dressed` = 1 AND `add_proc_bron` > 0 AND `owner` = ?i', $u);
+ if ($sum->fetch_assoc() > 0) {
+ return $sum;
+ } else {
+ return 0;
+ }
} catch (\Krugozor\Database\Mysql\Exception $e) {
echo "
Ошибка: " . $e->getMessage() . "
В файле: " . $e->getFile() . " (" . $e->getLine() . ")
";
}
- if ($sum->fetch_assoc() > 0) {
- return $sum;
- } else {
- return 0;
- }
}
function bron_ads($a1, $a2, $a3, $a4, $col)
@@ -329,22 +329,23 @@ function countmf()
function GetWeaponType($idwep)
{
if ($idwep == 0 || $idwep == null || $idwep == '') {
- return "kulak";
+ $type = "kulak";
}
$wep = db::c()->query('SELECT `otdel`, `minu` FROM `inventory` WHERE `id` = ?i', $idwep)->fetch_row();
if ($wep[0] == '1') {
- return "noj";
+ $type = "noj";
} elseif ($wep[0] == '12') {
- return "dubina";
+ $type = "dubina";
} elseif ($wep[0] == '11') {
- return "topor";
+ $type = "topor";
} elseif ($wep[0] == '13') {
- return "mech";
+ $type = "mech";
} elseif ($wep[1] > 0) {
- return "buket";
+ $type = "buket";
} else {
- return "kulak";
+ $type = "kulak";
}
+ return $type;
}
$zo = db::c()->query('SELECT 1 FROM `effects` WHERE `type` = 201 AND `owner` = ?i', $user['id'])->getNumRows();
@@ -500,7 +501,7 @@ function dressitem($id)
}
if (!($item['type'] == 12 && $user['level'] < 4)) {
- if (db::c()->query('UPDATE `users` AS `u`, `inventory` AS `i` SET `u`.?f = ?i, `i`.`dressed` = 1, `u`.`sila` = `u`.`sila` + `i`.`gsila`, `u`.`lovk` = `u`.`lovk` + `i`.`glovk`, `u`.`inta` = `u`.`inta` + `i`.`ginta`, `u`.`intel` = `u`.`intel` + `i`.`gintel`, `u`.`maxhp` = `u`.`maxhp` + `i`.`ghp`, `u`.`noj` = `u`.`noj` + `i`.`gnoj`, `u`.`topor` = `u`.`topor` + `i`.`gtopor`, `u`.`dubina` = `u`.`dubina` + `i`.`gdubina`, `u`.`mec` = `u`.`mec` + `i`.`gmech`, `u`.`mfire` = `u`.`mfire` + `i`.`gfire`, `u`.`mwater` = `u`.`mwater` + `i`.`gwater`, `u`.`mair` = `u`.`mair` + `i`.`gair`, `u`.`mearth` = `u`.`mearth` + `i`.`gearth`, `u`.`mlight` = `u`.`mlight` + `i`.`glight`, `u`.`mgray` = `u`.`mgray` + `i`.`ggray`, `u`.`mdark` = `u`.`mdark` + `i`.`gdark`, `u`.`ubron1` = `u`.`ubron1` + `i`.`bron1`, `u`.`ubron2` = `u`.`ubron2` + `i`.`bron2`, `u`.`ubron3` = `u`.`ubron3` + `i`.`bron3`, `u`.`ubron4` = `u`.`ubron4` + `i`.`bron4`, `u`.`fkrit` = `u`.`fkrit` + `i`.`mfkrit`, `u`.`fakrit` = `u`.`fakrit` + `i`.`mfakrit`, `u`.`fuvorot` = `u`.`fuvorot` + `i`.`mfuvorot`, `u`.`fauvorot` = `u`.`fauvorot` + `i`.`mfauvorot`, `u`.`uminu` = `u`.`uminu` + `i`.`minu`, `u`.`umaxu` = `u`.`umaxu` + `i`.`maxu` WHERE `i`.`needident` = 0 AND `i`.`id` = ?i AND `i`.`dressed` = 0 AND `i`.owner = ?i AND (20 + `u`.`sila`) >= `i`.`nsila` AND (20 + `u`.`lovk`) >= `i`.`nlovk` AND (20 + `u`.`inta`) >= `i`.`ninta` AND `u`.`vinos` >= `i`.`nvinos` AND (20 + `u`.`intel`) >= `i`.`nintel` AND `u`.`mudra` >= `i`.`nmudra` AND `u`.`level` >= `i`.`nlevel` AND (("?s" OR (?i = `i`.`nalign`)) OR (`i`.`nalign` = 0)) AND `u`.`noj` >= `i`.`nnoj` AND `u`.`topor` >= `i`.`ntopor` AND `u`.`dubina` >= `i`.`ndubina` AND `u`.`mec` >= `i`.`nmech` AND `u`.`mfire` >= `i`.`nfire` AND `u`.`mwater` >= `i`.`nwater` AND `u`.`mair` >= `i`.`nair` AND `u`.`mearth` >= `i`.`nearth` AND `u`.`mlight` >= `i`.`nlight` AND `u`.`mgray` >= `i`.`ngray` AND `u`.`mdark` >= `i`.`ndark` AND `i`.`setsale` = 0 AND `u`.`id` = ?i', $slot1, $id, $id, $user['id'], $al, $user['align'], $user['id'])) {
+ if (db::c()->query('UPDATE `users` AS `u`, `inventory` AS `i` SET `u`.?f = ?i, `i`.`dressed` = 1, `u`.`sila` = `u`.`sila` + `i`.`gsila`, `u`.`lovk` = `u`.`lovk` + `i`.`glovk`, `u`.`inta` = `u`.`inta` + `i`.`ginta`, `u`.`intel` = `u`.`intel` + `i`.`gintel`, `u`.`maxhp` = `u`.`maxhp` + `i`.`ghp`, `u`.`noj` = `u`.`noj` + `i`.`gnoj`, `u`.`topor` = `u`.`topor` + `i`.`gtopor`, `u`.`dubina` = `u`.`dubina` + `i`.`gdubina`, `u`.`mec` = `u`.`mec` + `i`.`gmech`, `u`.`mfire` = `u`.`mfire` + `i`.`gfire`, `u`.`mwater` = `u`.`mwater` + `i`.`gwater`, `u`.`mair` = `u`.`mair` + `i`.`gair`, `u`.`mearth` = `u`.`mearth` + `i`.`gearth`, `u`.`mlight` = `u`.`mlight` + `i`.`glight`, `u`.`mgray` = `u`.`mgray` + `i`.`ggray`, `u`.`mdark` = `u`.`mdark` + `i`.`gdark`, `u`.`ubron1` = `u`.`ubron1` + `i`.`bron1`, `u`.`ubron2` = `u`.`ubron2` + `i`.`bron2`, `u`.`ubron3` = `u`.`ubron3` + `i`.`bron3`, `u`.`ubron4` = `u`.`ubron4` + `i`.`bron4`, `u`.`fkrit` = `u`.`fkrit` + `i`.`mfkrit`, `u`.`fakrit` = `u`.`fakrit` + `i`.`mfakrit`, `u`.`fuvorot` = `u`.`fuvorot` + `i`.`mfuvorot`, `u`.`fauvorot` = `u`.`fauvorot` + `i`.`mfauvorot`, `u`.`uminu` = `u`.`uminu` + `i`.`minu`, `u`.`umaxu` = `u`.`umaxu` + `i`.`maxu` WHERE `i`.`needident` = 0 AND `i`.`id` = ?i AND `i`.`dressed` = 0 AND `i`.owner = ?i AND (20 + `u`.`sila`) >= `i`.`nsila` AND (20 + `u`.`lovk`) >= `i`.`nlovk` AND (20 + `u`.`inta`) >= `i`.`ninta` AND `u`.`vinos` >= `i`.`nvinos` AND (20 + `u`.`intel`) >= `i`.`nintel` AND `u`.`mudra` >= `i`.`nmudra` AND `u`.`level` >= `i`.`nlevel` AND (((?i = `i`.`nalign`)) OR (`i`.`nalign` = 0)) AND `u`.`noj` >= `i`.`nnoj` AND `u`.`topor` >= `i`.`ntopor` AND `u`.`dubina` >= `i`.`ndubina` AND `u`.`mec` >= `i`.`nmech` AND `u`.`mfire` >= `i`.`nfire` AND `u`.`mwater` >= `i`.`nwater` AND `u`.`mair` >= `i`.`nair` AND `u`.`mearth` >= `i`.`nearth` AND `u`.`mlight` >= `i`.`nlight` AND `u`.`mgray` >= `i`.`ngray` AND `u`.`mdark` >= `i`.`ndark` AND `i`.`setsale` = 0 AND `u`.`id` = ?i', $slot1, $id, $id, $user['id'], $user['align'], $user['id'])) {
$user[$slot1] = $item['id'];
}
return true;
@@ -540,283 +541,6 @@ if (isset($_GET['use'])) {
usemagic($_GET['use'], $_POST['target']);
}
-
-/**
- * Отображение персонажа в main.php
- *
- * @param $id
- *
- * @throws \Krugozor\Database\Mysql\Exception
- */
-function showpersinv($id)
-{
- $user = db::c()->query('SELECT * FROM `users` WHERE `id` = ?i', $id)->fetch_assoc();
- $dressed = [];
- $r = db::c()->query('SELECT * FROM `inventory` WHERE
- `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR
- `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR
- `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i OR `id` = ?i',
- $user['helm'], $user['weap'], $user['plaw'], $user['bron'], $user['rybax'],
- $user['sergi'], $user['kulon'], $user['r1'], $user['r2'], $user['r3'], $user['perchi'],
- $user['shit'], $user['boots'], $user['m1'], $user['m2'], $user['m3'], $user['m4'],
- $user['m5'], $user['m6'], $user['m7'], $user['m8'], $user['m9'], $user['m10']);
- while ($rec = $r->fetch_assoc()) {
- $dressed[$rec['id']] = $rec;
- }
- ?>
-
-
- = showProgressBar($user['hp'], $user['maxhp']); ?>
-
- 3) { ?>
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m1'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- if ($user['m2'] > 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m2'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- if ($user['m3'] > 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m3'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- if ($user['m4'] > 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m4'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- if ($user['m5'] > 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m5'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- ?>
- |
-
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m6'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- if ($user['m7'] > 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m7'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- if ($user['m8'] > 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m8'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- if ($user['m9'] > 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m9'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- if ($user['m10'] > 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['m10'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'];
- echo ' ';
- } else {
- $mess = 'Пустой слот магия';
- echo ' ';
- }
- ?>
- |
-
-
-
-
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['sergi'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Серьги\' />';
- }
- ?> |
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['kulon'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Ожерелье\' />';
- }
- ?> |
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['weap'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Оружие\' />';
- }
- ?> |
-
-
- 0 || $user['rybax'] > 0 || $user['plaw'] > 0) {
- $d = $n = 0;
- if ($user['plaw']) {
- $d = $user['plaw'];
- $n = 23;
- } elseif ($user['bron']) {
- $d = $user['bron'];
- $n = 4;
- } elseif ($user['rybax']) {
- $d = $user['rybax'];
- $n = 22;
- }
- $dress = $dressed[$d];
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Броня\' />';
- }
- ?> |
-
-
-
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['r1'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Кольцо\' />';
- }
- ?> |
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['r2'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Кольцо\' />';
- }
- ?> |
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['r3'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Кольцо\' />';
- }
- ?> |
-
-
-
- |
-
-
- |
- ![<?= $user['login'] ?>](i/shadow/<?= $user['shadow'] ?>) |
-
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['helm'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Шлем\' />';
- }
- ?> |
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['perchi'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Перчатки\' />';
- }
- ?> |
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['shit'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Щит\' />';
- }
- ?> |
-
-
- 0) {
- $dress = db::c()->query('SELECT `name`,`duration`,`maxdur`,`img` FROM `inventory` WHERE `id` = ?i', $user['boots'])->fetch_assoc();
- $mess = 'Снять ' . $dress['name'] . ' Прочность ' . $dress['duration'] . '/' . $dress['maxdur'] . '';
- echo ' ';
- } else {
- echo ' Пустой слот Обувь\' />';
- }
- ?> |
-
-
- |
-
-
-
-
+ |
+ showUserDoll(0,1);
+ ?>
|
- Уровень: = $user['level'] ?>
- Опыт: = $user['exp'] ?> (= $user['nextup'] ?>)
- Побед: = $user['win'] ?>
- Поражений: = $user['lose'] ?>
- Ничьих: = $user['nich'] ?>
- Деньги: = $user['money'] ?> кр.
- Репутация: = $user['doblest'] ?> реп.
+ Уровень: = $showUser->level ?>
+ Опыт: = $showUser->experience ?>
+ Побед: = 'нет поля' ?>
+ Поражений: = 'нет поля' ?>
+ Ничьих: = 'нет поля' ?>
+ Деньги: = $showUser->money ?> кр.
- Сила: = $user['sila'] ?>
-
+ Сила: = $showUser->strength ?>
+ stat_points): ?>
- Ловкость: = $user['lovk'] ?>
-
+ Ловкость: = $showUser->dexterity ?>
+ stat_points): ?>
- Интуиция: = $user['inta'] ?>
-
+ Интуиция: = $showUser->intuition ?>
+ stat_points)): ?>
- Выносливость: = $user['vinos'] ?>
-
+ Выносливость: = $showUser->endurance ?>
+ stat_points): ?>
- Интеллект: = $user['intel'] ?>
-
+ Интеллект: = $showUser->intelligence ?>
+ stat_points): ?>
- Мудрость: = $user['mudra'] ?>
-
+ Мудрость: = $showUser->wisdom ?>
+ stat_points): ?>
- Возможных увеличений: = $user['stats'] ?>
+ Возможных увеличений: = $showUser->stat_points ?>
-
+
@@ -1492,11 +1219,11 @@ if (input::get('edit')) {
|
-
+ |
-
-  |
+
+  |
Мешок денег (Масса: 0) = $user['money'] ?> кр. |
|