diff --git a/i/shadow/111.gif b/i/shadow/111.gif deleted file mode 100644 index 9265682..0000000 Binary files a/i/shadow/111.gif and /dev/null differ diff --git a/i/shadow/20-spawn.gif b/i/shadow/20-spawn.gif deleted file mode 100644 index 3a8e183..0000000 Binary files a/i/shadow/20-spawn.gif and /dev/null differ diff --git a/i/shadow/777.gif b/i/shadow/777.gif deleted file mode 100644 index 330cfda..0000000 Binary files a/i/shadow/777.gif and /dev/null differ diff --git a/i/shadow/Povelitel.gif b/i/shadow/Povelitel.gif deleted file mode 100644 index ac156c5..0000000 Binary files a/i/shadow/Povelitel.gif and /dev/null differ diff --git a/i/shadow/VAMP.gif b/i/shadow/VAMP.gif deleted file mode 100644 index 112fd0c..0000000 Binary files a/i/shadow/VAMP.gif and /dev/null differ diff --git a/i/shadow/afchnzzv.bmp b/i/shadow/afchnzzv.bmp deleted file mode 100644 index beaf7b9..0000000 Binary files a/i/shadow/afchnzzv.bmp and /dev/null differ diff --git a/i/shadow/air_god.gif b/i/shadow/air_god.gif deleted file mode 100644 index 4b786fe..0000000 Binary files a/i/shadow/air_god.gif and /dev/null differ diff --git a/i/shadow/air_godness.gif b/i/shadow/air_godness.gif deleted file mode 100644 index ef6aa4a..0000000 Binary files a/i/shadow/air_godness.gif and /dev/null differ diff --git a/i/shadow/amfa220.gif b/i/shadow/amfa220.gif deleted file mode 100644 index b99019f..0000000 Binary files a/i/shadow/amfa220.gif and /dev/null differ diff --git a/i/shadow/anim_raden.gif b/i/shadow/anim_raden.gif deleted file mode 100644 index 2d195c5..0000000 Binary files a/i/shadow/anim_raden.gif and /dev/null differ diff --git a/i/shadow/ava_100.gif b/i/shadow/ava_100.gif deleted file mode 100644 index 0cf9fc8..0000000 Binary files a/i/shadow/ava_100.gif and /dev/null differ diff --git a/i/shadow/ava_90.gif b/i/shadow/ava_90.gif deleted file mode 100644 index 31b3caa..0000000 Binary files a/i/shadow/ava_90.gif and /dev/null differ diff --git a/i/shadow/ava_91.gif b/i/shadow/ava_91.gif deleted file mode 100644 index 9b7c673..0000000 Binary files a/i/shadow/ava_91.gif and /dev/null differ diff --git a/i/shadow/ava_92.gif b/i/shadow/ava_92.gif deleted file mode 100644 index 7c36c52..0000000 Binary files a/i/shadow/ava_92.gif and /dev/null differ diff --git a/i/shadow/ava_94.gif b/i/shadow/ava_94.gif deleted file mode 100644 index 7fe766e..0000000 Binary files a/i/shadow/ava_94.gif and /dev/null differ diff --git a/i/shadow/ava_95.gif b/i/shadow/ava_95.gif deleted file mode 100644 index 4606bfc..0000000 Binary files a/i/shadow/ava_95.gif and /dev/null differ diff --git a/i/shadow/ava_96.gif b/i/shadow/ava_96.gif deleted file mode 100644 index 0129bd6..0000000 Binary files a/i/shadow/ava_96.gif and /dev/null differ diff --git a/i/shadow/ava_97.gif b/i/shadow/ava_97.gif deleted file mode 100644 index 3aa8c89..0000000 Binary files a/i/shadow/ava_97.gif and /dev/null differ diff --git a/i/shadow/ava_98.gif b/i/shadow/ava_98.gif deleted file mode 100644 index a8a3eec..0000000 Binary files a/i/shadow/ava_98.gif and /dev/null differ diff --git a/i/shadow/ava_99.gif b/i/shadow/ava_99.gif deleted file mode 100644 index fd1c8a4..0000000 Binary files a/i/shadow/ava_99.gif and /dev/null differ diff --git a/i/shadow/ava_bot_210.gif b/i/shadow/ava_bot_210.gif deleted file mode 100644 index f4ca01e..0000000 Binary files a/i/shadow/ava_bot_210.gif and /dev/null differ diff --git a/i/shadow/ava_bot_211.gif b/i/shadow/ava_bot_211.gif deleted file mode 100644 index 9d16c51..0000000 Binary files a/i/shadow/ava_bot_211.gif and /dev/null differ diff --git a/i/shadow/ava_bot_212.gif b/i/shadow/ava_bot_212.gif deleted file mode 100644 index c524d72..0000000 Binary files a/i/shadow/ava_bot_212.gif and /dev/null differ diff --git a/i/shadow/ava_bot_213.gif b/i/shadow/ava_bot_213.gif deleted file mode 100644 index 81204a6..0000000 Binary files a/i/shadow/ava_bot_213.gif and /dev/null differ diff --git a/i/shadow/ava_bot_214.gif b/i/shadow/ava_bot_214.gif deleted file mode 100644 index 8a5aba7..0000000 Binary files a/i/shadow/ava_bot_214.gif and /dev/null differ diff --git a/i/shadow/ava_bot_215.gif b/i/shadow/ava_bot_215.gif deleted file mode 100644 index 1b31f04..0000000 Binary files a/i/shadow/ava_bot_215.gif and /dev/null differ diff --git a/i/shadow/ava_bot_216_217_218.gif b/i/shadow/ava_bot_216_217_218.gif deleted file mode 100644 index 9b6b793..0000000 Binary files a/i/shadow/ava_bot_216_217_218.gif and /dev/null differ diff --git a/i/shadow/ava_bot_219.gif b/i/shadow/ava_bot_219.gif deleted file mode 100644 index a9c1315..0000000 Binary files a/i/shadow/ava_bot_219.gif and /dev/null differ diff --git a/i/shadow/ava_bot_220.gif b/i/shadow/ava_bot_220.gif deleted file mode 100644 index 2384bf7..0000000 Binary files a/i/shadow/ava_bot_220.gif and /dev/null differ diff --git a/i/shadow/ava_bot_221.gif b/i/shadow/ava_bot_221.gif deleted file mode 100644 index 49e025a..0000000 Binary files a/i/shadow/ava_bot_221.gif and /dev/null differ diff --git a/i/shadow/ava_bot_222.gif b/i/shadow/ava_bot_222.gif deleted file mode 100644 index 95cf85a..0000000 Binary files a/i/shadow/ava_bot_222.gif and /dev/null differ diff --git a/i/shadow/ava_bot_223.gif b/i/shadow/ava_bot_223.gif deleted file mode 100644 index 545c01e..0000000 Binary files a/i/shadow/ava_bot_223.gif and /dev/null differ diff --git a/i/shadow/ava_bot_224.gif b/i/shadow/ava_bot_224.gif deleted file mode 100644 index 4eb2673..0000000 Binary files a/i/shadow/ava_bot_224.gif and /dev/null differ diff --git a/i/shadow/ava_bot_225.gif b/i/shadow/ava_bot_225.gif deleted file mode 100644 index 53fa274..0000000 Binary files a/i/shadow/ava_bot_225.gif and /dev/null differ diff --git a/i/shadow/ava_bot_226.gif b/i/shadow/ava_bot_226.gif deleted file mode 100644 index db71aeb..0000000 Binary files a/i/shadow/ava_bot_226.gif and /dev/null differ diff --git a/i/shadow/ava_bot_227.gif b/i/shadow/ava_bot_227.gif deleted file mode 100644 index c1fb5ec..0000000 Binary files a/i/shadow/ava_bot_227.gif and /dev/null differ diff --git a/i/shadow/ava_bot_228.gif b/i/shadow/ava_bot_228.gif deleted file mode 100644 index dc8a89f..0000000 Binary files a/i/shadow/ava_bot_228.gif and /dev/null differ diff --git a/i/shadow/cyc210.gif b/i/shadow/cyc210.gif deleted file mode 100644 index aae2f90..0000000 Binary files a/i/shadow/cyc210.gif and /dev/null differ diff --git a/i/shadow/cyc211.gif b/i/shadow/cyc211.gif deleted file mode 100644 index f10d349..0000000 Binary files a/i/shadow/cyc211.gif and /dev/null differ diff --git a/i/shadow/cyc212.gif b/i/shadow/cyc212.gif deleted file mode 100644 index de147f0..0000000 Binary files a/i/shadow/cyc212.gif and /dev/null differ diff --git a/i/shadow/cyc221.gif b/i/shadow/cyc221.gif deleted file mode 100644 index 2a1f63b..0000000 Binary files a/i/shadow/cyc221.gif and /dev/null differ diff --git a/i/shadow/dragon222.gif b/i/shadow/dragon222.gif deleted file mode 100644 index bc59fc3..0000000 Binary files a/i/shadow/dragon222.gif and /dev/null differ diff --git a/i/shadow/droid.gif b/i/shadow/droid.gif deleted file mode 100644 index a4b05ac..0000000 Binary files a/i/shadow/droid.gif and /dev/null differ diff --git a/i/shadow/earth_god.gif b/i/shadow/earth_god.gif deleted file mode 100644 index 852319e..0000000 Binary files a/i/shadow/earth_god.gif and /dev/null differ diff --git a/i/shadow/earth_godness.gif b/i/shadow/earth_godness.gif deleted file mode 100644 index 37d98ea..0000000 Binary files a/i/shadow/earth_godness.gif and /dev/null differ diff --git a/i/shadow/elf_fighter.gif b/i/shadow/elf_fighter.gif deleted file mode 100644 index 490c486..0000000 Binary files a/i/shadow/elf_fighter.gif and /dev/null differ diff --git a/i/shadow/elfish_axeman.gif b/i/shadow/elfish_axeman.gif deleted file mode 100644 index e703406..0000000 Binary files a/i/shadow/elfish_axeman.gif and /dev/null differ diff --git a/i/shadow/enchantress.gif b/i/shadow/enchantress.gif deleted file mode 100644 index a4811ae..0000000 Binary files a/i/shadow/enchantress.gif and /dev/null differ diff --git a/i/shadow/fire_god.gif b/i/shadow/fire_god.gif deleted file mode 100644 index 7af90b8..0000000 Binary files a/i/shadow/fire_god.gif and /dev/null differ diff --git a/i/shadow/fire_godness.gif b/i/shadow/fire_godness.gif deleted file mode 100644 index 02a67e8..0000000 Binary files a/i/shadow/fire_godness.gif and /dev/null differ diff --git a/i/shadow/g1.91.gif b/i/shadow/g1.91.gif deleted file mode 100644 index 20e76d0..0000000 Binary files a/i/shadow/g1.91.gif and /dev/null differ diff --git a/i/shadow/giant225.gif b/i/shadow/giant225.gif deleted file mode 100644 index dd42c07..0000000 Binary files a/i/shadow/giant225.gif and /dev/null differ diff --git a/i/shadow/giant226.gif b/i/shadow/giant226.gif deleted file mode 100644 index f80ba92..0000000 Binary files a/i/shadow/giant226.gif and /dev/null differ diff --git a/i/shadow/grif227.gif b/i/shadow/grif227.gif deleted file mode 100644 index a271aea..0000000 Binary files a/i/shadow/grif227.gif and /dev/null differ diff --git a/i/shadow/harpia219.gif b/i/shadow/harpia219.gif deleted file mode 100644 index 531aa17..0000000 Binary files a/i/shadow/harpia219.gif and /dev/null differ diff --git a/i/shadow/himera223.gif b/i/shadow/himera223.gif deleted file mode 100644 index 12cdf52..0000000 Binary files a/i/shadow/himera223.gif and /dev/null differ diff --git a/i/shadow/hydra228.gif b/i/shadow/hydra228.gif deleted file mode 100644 index 6c2d58e..0000000 Binary files a/i/shadow/hydra228.gif and /dev/null differ diff --git a/i/shadow/img_296488_t5_d1407586366.gif b/i/shadow/img_296488_t5_d1407586366.gif deleted file mode 100644 index 1e237d8..0000000 Binary files a/i/shadow/img_296488_t5_d1407586366.gif and /dev/null differ diff --git a/i/shadow/jpg_1.gif b/i/shadow/jpg_1.gif deleted file mode 100644 index 743af49..0000000 Binary files a/i/shadow/jpg_1.gif and /dev/null differ diff --git a/i/shadow/klubni4ka.gif b/i/shadow/klubni4ka.gif deleted file mode 100644 index ae298d4..0000000 Binary files a/i/shadow/klubni4ka.gif and /dev/null differ diff --git a/i/shadow/kupidon.gif b/i/shadow/kupidon.gif deleted file mode 100644 index 59e4570..0000000 Binary files a/i/shadow/kupidon.gif and /dev/null differ diff --git a/i/shadow/ld1.gif b/i/shadow/ld1.gif deleted file mode 100644 index 7661b26..0000000 Binary files a/i/shadow/ld1.gif and /dev/null differ diff --git a/i/shadow/ledi.gif b/i/shadow/ledi.gif deleted file mode 100644 index 158318b..0000000 Binary files a/i/shadow/ledi.gif and /dev/null differ diff --git a/i/shadow/lynnoe_solnce.gif b/i/shadow/lynnoe_solnce.gif deleted file mode 100644 index 156fc20..0000000 Binary files a/i/shadow/lynnoe_solnce.gif and /dev/null differ diff --git a/i/shadow/m1.49.gif b/i/shadow/m1.49.gif deleted file mode 100644 index cdc364f..0000000 Binary files a/i/shadow/m1.49.gif and /dev/null differ diff --git a/i/shadow/m1.91.gif b/i/shadow/m1.91.gif deleted file mode 100644 index 624da22..0000000 Binary files a/i/shadow/m1.91.gif and /dev/null differ diff --git a/i/shadow/mDemGirl.gif b/i/shadow/mDemGirl.gif deleted file mode 100644 index cd6fd8b..0000000 Binary files a/i/shadow/mDemGirl.gif and /dev/null differ diff --git a/i/shadow/mTarmans.gif b/i/shadow/mTarmans.gif deleted file mode 100644 index 47efda6..0000000 Binary files a/i/shadow/mTarmans.gif and /dev/null differ diff --git a/i/shadow/m_brotherhoodofsteel.gif b/i/shadow/m_brotherhoodofsteel.gif deleted file mode 100644 index c61e52e..0000000 Binary files a/i/shadow/m_brotherhoodofsteel.gif and /dev/null differ diff --git a/i/shadow/medus213.gif b/i/shadow/medus213.gif deleted file mode 100644 index b97ea9c..0000000 Binary files a/i/shadow/medus213.gif and /dev/null differ diff --git a/i/shadow/medus214.gif b/i/shadow/medus214.gif deleted file mode 100644 index ed8d168..0000000 Binary files a/i/shadow/medus214.gif and /dev/null differ diff --git a/i/shadow/medusa215.gif b/i/shadow/medusa215.gif deleted file mode 100644 index d9eb5e7..0000000 Binary files a/i/shadow/medusa215.gif and /dev/null differ diff --git a/i/shadow/minotaur_224.gif b/i/shadow/minotaur_224.gif deleted file mode 100644 index 01766a9..0000000 Binary files a/i/shadow/minotaur_224.gif and /dev/null differ diff --git a/i/shadow/mkom.gif b/i/shadow/mkom.gif deleted file mode 100644 index af1a1ca..0000000 Binary files a/i/shadow/mkom.gif and /dev/null differ diff --git a/i/shadow/mmahmud.gif b/i/shadow/mmahmud.gif deleted file mode 100644 index f8234ff..0000000 Binary files a/i/shadow/mmahmud.gif and /dev/null differ diff --git a/i/shadow/mneg.gif b/i/shadow/mneg.gif deleted file mode 100644 index 9606d0b..0000000 Binary files a/i/shadow/mneg.gif and /dev/null differ diff --git a/i/shadow/mohotnik.gif b/i/shadow/mohotnik.gif deleted file mode 100644 index 7b3fc31..0000000 Binary files a/i/shadow/mohotnik.gif and /dev/null differ diff --git a/i/shadow/mpg.gif b/i/shadow/mpg.gif deleted file mode 100644 index e3c6d5a..0000000 Binary files a/i/shadow/mpg.gif and /dev/null differ diff --git a/i/shadow/mr1.gif b/i/shadow/mr1.gif deleted file mode 100644 index 2d8886b..0000000 Binary files a/i/shadow/mr1.gif and /dev/null differ diff --git a/i/shadow/mr2.gif b/i/shadow/mr2.gif deleted file mode 100644 index 91b6eed..0000000 Binary files a/i/shadow/mr2.gif and /dev/null differ diff --git a/i/shadow/mr3.gif b/i/shadow/mr3.gif deleted file mode 100644 index 80d16c5..0000000 Binary files a/i/shadow/mr3.gif and /dev/null differ diff --git a/i/shadow/mr4.gif b/i/shadow/mr4.gif deleted file mode 100644 index a1a2c01..0000000 Binary files a/i/shadow/mr4.gif and /dev/null differ diff --git a/i/shadow/msmert.gif b/i/shadow/msmert.gif deleted file mode 100644 index b3a01bf..0000000 Binary files a/i/shadow/msmert.gif and /dev/null differ diff --git a/i/shadow/musorsh_.gif b/i/shadow/musorsh_.gif deleted file mode 100644 index 55387cc..0000000 Binary files a/i/shadow/musorsh_.gif and /dev/null differ diff --git a/i/shadow/premiumm_1.png b/i/shadow/premiumm_1.png deleted file mode 100644 index 69bd293..0000000 Binary files a/i/shadow/premiumm_1.png and /dev/null differ diff --git a/i/shadow/stas.gif b/i/shadow/stas.gif deleted file mode 100644 index 4a8ca8b..0000000 Binary files a/i/shadow/stas.gif and /dev/null differ diff --git a/i/shadow/storuk216.gif b/i/shadow/storuk216.gif deleted file mode 100644 index f73a3f0..0000000 Binary files a/i/shadow/storuk216.gif and /dev/null differ diff --git a/i/shadow/uniq503258_a.gif b/i/shadow/uniq503258_a.gif deleted file mode 100644 index 0905593..0000000 Binary files a/i/shadow/uniq503258_a.gif and /dev/null differ diff --git a/i/shadow/water_god.gif b/i/shadow/water_god.gif deleted file mode 100644 index b7ca4f0..0000000 Binary files a/i/shadow/water_god.gif and /dev/null differ diff --git a/i/shadow/water_godness.gif b/i/shadow/water_godness.gif deleted file mode 100644 index c481654..0000000 Binary files a/i/shadow/water_godness.gif and /dev/null differ diff --git a/i/shadow/yuli.gif b/i/shadow/yuli.gif deleted file mode 100644 index deb3fd8..0000000 Binary files a/i/shadow/yuli.gif and /dev/null differ diff --git a/i/shadow/zombie1.gif b/i/shadow/zombie1.gif deleted file mode 100644 index b71d292..0000000 Binary files a/i/shadow/zombie1.gif and /dev/null differ diff --git a/main.php b/main.php index c2803aa..34df423 100644 --- a/main.php +++ b/main.php @@ -64,17 +64,17 @@ function setShadow($image) { global $user; $shadows = [ - 'm01','m02','m03','m04','m05','m06','m07','m08','m09','m10', - 'f01','f02','f03','f04','f05','f06','f07','f08','f09','f10', + 'm01', 'm02', 'm03', 'm04', 'm05', 'm06', 'm07', 'm08', 'm09', 'm10', + 'f01', 'f02', 'f03', 'f04', 'f05', 'f06', 'f07', 'f08', 'f09', 'f10', 'person' ]; - if (in_array($image,$shadows)) { + if (in_array($image, $shadows)) { $i = $image . '.png'; db::c()->query('UPDATE `users` SET `shadow` = "?s" WHERE `id` = ?i', $i, $user['id']); } else err('Ошибка!'); } -$obraz = filter_input(INPUT_GET,'obraz'); +$obraz = filter_input(INPUT_GET, 'obraz'); if ($obraz && ($user['shadow'] == 'g0.gif' || $user['shadow'] == 'man0.gif')) { setShadow($obraz); } @@ -212,7 +212,8 @@ if (isset($_REQUEST['transreport'])) { <FORM ACTION="main.php" METHOD=POST> <P align=right><INPUT TYPE=submit value="Вернуться" name=edit></P> <H3>Отчет о переводах</H3> - Вы можете получить отчет о переводах кредитов/вещей от вас/к вам за указанный день. Услуга платная, стоит <B>5 кр.</B><BR> + Вы можете получить отчет о переводах кредитов/вещей от вас/к вам за указанный день. Услуга платная, стоит <B>5 + кр.</B><BR> У вас на счету: <B><?= $user['money'] ?></B> кр.<BR> Укажите дату, на которую хотите получить отчет: <INPUT TYPE=text NAME=date value="<?= date("d.m.y") ?>"> @@ -240,13 +241,13 @@ if (isset($_REQUEST['transreport'])) { die(); } -if (isset($_POST['setshadow'])) { +if (input::post('setshadow')) { ?> - <HTML> - <HEAD> + <html> + <head> <link rel=stylesheet href="css/main.css"> <meta charset="utf-8"> - </HEAD> + </head> <body> <table width=100%> <tr> @@ -258,98 +259,41 @@ if (isset($_POST['setshadow'])) { <td align=center style="color:red;">Внимание! Образ персонажа выбирается только один раз.</td> </tr> </table> - <center> - <TABLE cellpadding="0" cellspacing="1" style="padding:5px;"> - <? - if ($user['sex'] == 1) { ?> - <tr> - <td colspan="4"><b>Общие образы</b></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=0"><img src="i/shadow/man0.gif"></a></a></td> - <td><a href="?edit=1&obraz=1"><img src="i/shadow/man1.gif"></a></td> - <td><a href="?edit=1&obraz=2"><img src="i/shadow/man2.gif"></a></td> - <td><a href="?edit=1&obraz=3"><img src="i/shadow/man3.gif"></a></td> - <td><a href="?edit=1&obraz=5"><img src="i/shadow/man5.gif"></a></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=6"><img src="i/shadow/man6.gif"></a></td> - <td><a href="?edit=1&obraz=7"><img src="i/shadow/man7.gif"></a></td> - <td><a href="?edit=1&obraz=8"><img src="i/shadow/man8.gif"></a></td> - <td><a href="?edit=1&obraz=9"><img src="i/shadow/man9.gif"></a></td> - <td><a href="?edit=1&obraz=10"><img src="i/shadow/man10.gif"></a></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=4"><img src="i/shadow/man4.gif"></a></td> - <td><a href="?edit=1&obraz=11"><img src="i/shadow/man11.gif"></a></td> - <td><a href="?edit=1&obraz=12"><img src="i/shadow/man12.gif"></a></td> - <td><a href="?edit=1&obraz=13"><img src="i/shadow/man13.gif"></a></td> - <td><a href="?edit=1&obraz=14"><img src="i/shadow/man14.gif"></a></td> - </tr> - <? - if ($shadow['mshadow']) { ?> - <tr> - <td colspan="4"><b>Клановые образы</b></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=40"><img src="i/shadow/<?= $shadow['mshadow'] ?>"></a></td> - <td></td> - <td></td> - <td></td> - <td></td> - </tr> - <? - } - } else { ?> - <tr> - <td colspan="4"><b>Общие образы</b></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=0"><img src="i/shadow/g0.gif"></a></a></td> - <td><a href="?edit=1&obraz=1"><img src="i/shadow/g1.gif"></a></td> - <td><a href="?edit=1&obraz=2"><img src="i/shadow/g2.gif"></a></td> - <td><a href="?edit=1&obraz=3"><img src="i/shadow/g3.gif"></a></td> - <td><a href="?edit=1&obraz=4"><img src="i/shadow/g4.gif"></a></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=5"><img src="i/shadow/g5.gif"></a></td> - <td><a href="?edit=1&obraz=6"><img src="i/shadow/g6.gif"></a></td> - <td><a href="?edit=1&obraz=7"><img src="i/shadow/g7.gif"></a></td> - <td><a href="?edit=1&obraz=8"><img src="i/shadow/g8.gif"></a></td> - <td><a href="?edit=1&obraz=9"><img src="i/shadow/g9.gif"></a></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=10"><img src="i/shadow/g10.gif"></a></td> - <td><a href="?edit=1&obraz=11"><img src="i/shadow/g11.gif"></a></td> - <td><a href="?edit=1&obraz=12"><img src="i/shadow/g12.gif"></a></td> - <td><a href="?edit=1&obraz=13"><img src="i/shadow/g13.gif"></a></td> - <td><a href="?edit=1&obraz=14"><img src="i/shadow/g14.gif"></a></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=15"><img src="i/shadow/g15.gif"></a></td> - <td><a href="?edit=1&obraz=16"><img src="i/shadow/g16.gif"></a></td> - <td><a href="?edit=1&obraz=17"><img src="i/shadow/g17.gif"></a></td> - </tr> - <? - if ($shadow['wshadow']) { ?> - <tr> - <td colspan="4"><b>Клановые образы</b></td> - </tr> - <tr> - <td><a href="?edit=1&obraz=41"><img src="i/shadow/<?= $shadow['wshadow'] ?>"></a></td> - </tr> - <? - } - } ?> - </TABLE> - </center> + <table style="padding:5px; margin:auto;"> + <caption><b>Общие образы</b></caption> + <tr> + <td><a href="?edit=1&obraz=m1"><img src="i/shadow/m1.gif"></a></a></td> + <td><a href="?edit=1&obraz=m2"><img src="i/shadow/m2.gif"></a></td> + <td><a href="?edit=1&obraz=m3"><img src="i/shadow/m3.gif"></a></td> + <td><a href="?edit=1&obraz=m4"><img src="i/shadow/m4.gif"></a></td> + <td><a href="?edit=1&obraz=m5"><img src="i/shadow/m5.gif"></a></td> + <td><a href="?edit=1&obraz=m6"><img src="i/shadow/m6.gif"></a></td> + <td><a href="?edit=1&obraz=m7"><img src="i/shadow/m7.gif"></a></td> + <td><a href="?edit=1&obraz=m8"><img src="i/shadow/m8.gif"></a></td> + <td><a href="?edit=1&obraz=m9"><img src="i/shadow/m9.gif"></a></td> + <td><a href="?edit=1&obraz=m10"><img src="i/shadow/m10.gif"></a></td> + </tr> + <tr> + <td><a href="?edit=1&obraz=f1"><img src="i/shadow/f1.gif"></a></a></td> + <td><a href="?edit=1&obraz=f2"><img src="i/shadow/f2.gif"></a></td> + <td><a href="?edit=1&obraz=f3"><img src="i/shadow/f3.gif"></a></td> + <td><a href="?edit=1&obraz=f4"><img src="i/shadow/f4.gif"></a></td> + <td><a href="?edit=1&obraz=f5"><img src="i/shadow/f5.gif"></a></td> + <td><a href="?edit=1&obraz=f6"><img src="i/shadow/f6.gif"></a></td> + <td><a href="?edit=1&obraz=f7"><img src="i/shadow/f7.gif"></a></td> + <td><a href="?edit=1&obraz=f8"><img src="i/shadow/f8.gif"></a></td> + <td><a href="?edit=1&obraz=f9"><img src="i/shadow/f9.gif"></a></td> + <td><a href="?edit=1&obraz=f10"><img src="i/shadow/f10.gif"></a></td> + </tr> + </table> </body> </html> <?php die(); } // -if (isset($_POST['setshadowclan'])) { +if (input::post('setshadowclan')) { + ?> <HTML> <HEAD> @@ -364,34 +308,13 @@ if (isset($_POST['setshadowclan'])) { onClick="location.href='main.php?edit=0.467837356797105';"></td> </tr> </table> - <center> - <TABLE border=0 cellpadding="0" cellspacing="0" style="padding:5px;"> - <? - if ($user['sex']) { - if ($shadow['mshadow']) { ?> - <tr> - <td><a href="?edit=1&obraz=40"><img src="i/shadow/<?= $shadow['mshadow'] ?>"></a></td> - <td></td> - <td></td> - <td></td> - <td></td> - </tr> - <? - } - } else { - if ($shadow['wshadow']) { ?> - <tr> - <td><a href="?edit=1&obraz=41"><img src="i/shadow/<?= $shadow['wshadow'] ?>"></a></td> - <td></td> - <td></td> - <td></td> - <td></td> - </tr> - <? - } - } ?> + <TABLE style="padding:5px; margin: auto;"> + <caption><b>Клановые образы</b></caption> + <tr> + <td><a href="?edit=1&obraz=40"><img src="i/shadow/<?=$shadow['mshadow']?>"></a></td> + <td><a href="?edit=1&obraz=41"><img src="i/shadow/<?=$shadow['wshadow']?>"></a></td> + </tr> </TABLE> - </center> </body> </html> <?php @@ -435,13 +358,13 @@ if (isset($_GET['setch'])) { </script> </head> - <body id="body" onload="<?=topsethp()?>"> + <body id="body" onload="<?= topsethp() ?>"> <div id="page-wrapper" class="map-wrapper"> <div class="btn-control"> <div class="left-text"> - <div class="nickname-wrapper"><?=nick::id($user['id'])->full()?></div> + <div class="nickname-wrapper"><?= nick::id($user['id'])->full() ?></div> <div class="text-title">Карта миров</div> - <div class="hint-text">(Сейчас в игре: <strong><?=$online->getNumRows()?></strong> чел.)</div> + <div class="hint-text">(Сейчас в игре: <strong><?= $online->getNumRows() ?></strong> чел.)</div> </div> @@ -1070,7 +993,7 @@ if (isset($_GET['edit'])) { $user[$stat] += (int)$_POST['stat']; $user[$type] -= (int)$_POST['stat']; db::c()->query('UPDATE `users` SET ?f = ?i, ?f = ?i WHERE `id` = ?i', $stat, $user[$stat], $type, $user[$type], $user['id']); - err('Параметр '.$statName.' увеличен на '.(int)$_POST['stat'].' ед.'); + err('Параметр ' . $statName . ' увеличен на ' . (int)$_POST['stat'] . ' ед.'); } else err('Ошибка в количестве.'); } } @@ -1078,7 +1001,7 @@ if (isset($_GET['edit'])) { if ($_GET['ups']) { switch ($_GET['ups']) { case 11 : - ups('stats','sila','Сила'); + ups('stats', 'sila', 'Сила'); // if ($user['stats'] > 0 && $user['sid'] == $_GET['s4i']) { // if ($user['stats'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { // $user['sila'] += (int)$_POST['stat']; @@ -1093,7 +1016,7 @@ if (isset($_GET['edit'])) { // } break; case 12 : - ups('stats','lovk','Ловкость'); + ups('stats', 'lovk', 'Ловкость'); // if ($user['stats'] > 0 && $user['sid'] == $_GET['s4i']) { // if ($user['stats'] >= (int)$_POST['stat'] && ((int)$_POST['stat'] > 0)) { // $user['lovk'] += (int)$_POST['stat']; @@ -1434,7 +1357,8 @@ if (isset($_GET['edit'])) { <HEAD> <meta charset="utf-8"> <link rel="stylesheet" href="css/main.css"> - <link rel="stylesheet" href="css/newstyle18.css""> + <link rel="stylesheet" href="css/newstyle18.css" + "> <link rel="stylesheet" href="css/tooltip.css"/> <link rel="stylesheet" href="css/bkstyle.css?101"/> <link rel="stylesheet" href="css/mi.css"/> @@ -1570,7 +1494,7 @@ if (isset($_GET['edit'])) { <? //Выгребаем все комплекты перса - $u_all_kompl = db::c()->query("SELECT `name` FROM komplekt where `owner` = ?i", $user['id']); + $u_all_kompl = db::c()->query("SELECT `name` FROM komplekt WHERE `owner` = ?i", $user['id']); while ($u_k = $u_all_kompl->fetch_assoc()) { $k_name = $u_k['name']; echo "<a onclick=\"if (!confirm('Вы уверены, что хотите удалить комплект?')) { return false; }\" href='main.php?edit=1&delcomplect=" . $k_name . "'> @@ -2138,7 +2062,7 @@ if (isset($_GET['edit'])) { <?php endif; ?> <?php - if (in_array(input::get('razdel'), [0,1,2,3,4,5])) $_SESSION['razdel'] = input::get('razdel'); + if (in_array(input::get('razdel'), [0, 1, 2, 3, 4, 5])) $_SESSION['razdel'] = input::get('razdel'); ?> <table border=0 width=100% cellspacing="0" cellpadding="0" bgcolor="#A5A5A5"> <tr> @@ -2502,7 +2426,7 @@ if ($user['room'] == 666) { <link rel="stylesheet" href="css/btn.css"> <meta charset="utf-8"> <link rel="stylesheet" href="css/tooltip.css"> - <script src = "js/jquery-1.7.2.min.js" ></script> + <script src="js/jquery-1.7.2.min.js"></script> <script src="js/tooltip.js"></script> <script> $(function () { @@ -2607,7 +2531,7 @@ if (isset($_GET['use'])) { usemagic($_GET['use'], $_POST['target']); } -$online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time()-60)); +$online = db::c()->query('SELECT 1 FROM `online` WHERE `real_time` >= ?i', (time() - 60)); ?> <div id=hint3 class=ahint></div>