game/items_info.php

1253 lines
74 KiB
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?php
2022-12-30 19:03:37 +00:00
use Core\Database;
use Core\Db;
if (!defined('GAME_VERSION')) {
require_once '_incl_data/autoload.php';
}
Database::init();
if (isset($_COOKIE['login'])) {
2022-12-30 19:03:37 +00:00
$u = Db::getRow('select id, login, banned, admin from users where login = ?', [$_COOKIE['login']]);
$admin = !empty($u['admin']) ? 1 : 0;
} else {
$admin = 0;
2022-06-06 21:30:34 +00:00
}
if (!isset($_GET['id'])) {
$urla = explode('?', $_SERVER["REQUEST_URI"]);
$url = explode('/', $urla[0]);
$_GET['id'] = round((int)$url[2]);
2022-06-06 21:30:34 +00:00
}
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
$rz = [
['alls', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'],
['crutch', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 1
['potion', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 2
['scrollattack', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 3
['armor', '<27><><EFBFBD><EFBFBD><EFBFBD>'], // 4
['venok', '<27><><EFBFBD><EFBFBD><EFBFBD>'], // 5
['naruchi', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 6
['shoes', '<27><><EFBFBD><EFBFBD><EFBFBD>'], // 7
['glove', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 8
['Cloak', '<27><><EFBFBD><EFBFBD><EFBFBD>'], // 9
['leg', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 10
['belt', '<27><><EFBFBD><EFBFBD><EFBFBD>'], // 11
['shirt', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 12
['helmet', '<27><><EFBFBD><EFBFBD><EFBFBD>'], // 13
['el_sm', '<27><><EFBFBD><EFBFBD>'], // 14
['flail', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 15
['knuckleduster', '<27><><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 16
['sword', '<27><><EFBFBD><EFBFBD>'], // 17
['staff', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 18
['pole-axe', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 19
['flower', '<27><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 20
['component', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 21
['magicitem', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 22
['gift', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 23
['shield', '<27><><EFBFBD><EFBFBD>'], // 24
['ring', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 25
['necklace', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 26
['earring', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 27
2022-12-19 18:26:14 +00:00
['other', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'], // 28
];
2022-06-06 21:30:34 +00:00
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3<> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>? True - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, False - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
$img3dShow = false;
2022-06-06 21:30:34 +00:00
/* <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
$rt = [
26 => 1,
30 => 2,
29 => 3,
5 => 4,
6 => 4,
2 => 5,
3 => 6,
15 => 7,
12 => 8,
7 => 9,
14 => 10,
8 => 11,
4 => 12,
1 => 13,
20 => 15,
18 => 16,
21 => 17,
22 => 18,
19 => 19,
28 => 20,
38 => 23,
39 => 23,
37 => 23,
13 => 24,
11 => 25,
10 => 26,
9 => 27,
62 => 22,
67 => 28, // 67 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
32 => 22, // 32 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2022-12-19 18:26:14 +00:00
34 => 28, // 34 <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
];
2022-06-06 21:30:34 +00:00
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
2022-12-30 19:03:37 +00:00
$itm = Db::getRow('select * from items_main where id = ?', [$_GET['id']]);
2022-06-06 21:30:34 +00:00
function timeOut($ttm)
{
$out = '';
$time_still = $ttm;
$tmp = floor($time_still / 2592000);
$id = 0;
if ($tmp > 0) {
$id++;
if ($id < 3) {
$out .= $tmp . " <20><><EFBFBD>. ";
}
$time_still = $time_still - $tmp * 2592000;
}
$tmp = floor($time_still / 86400);
if ($tmp > 0) {
$id++;
if ($id < 3) {
$out .= $tmp . " <20><>. ";
}
$time_still = $time_still - $tmp * 86400;
}
$tmp = floor($time_still / 3600);
if ($tmp > 0) {
$id++;
if ($id < 3) {
$out .= $tmp . " <20>. ";
}
$time_still = $time_still - $tmp * 3600;
}
$tmp = floor($time_still / 60);
if ($tmp > 0) {
$id++;
if ($id < 3) {
$out .= $tmp . " <20><><EFBFBD>. ";
}
}
if ($out == '') {
if ($time_still < 0) {
$time_still = 0;
}
$out = $time_still . ' <20><><EFBFBD>.';
}
return $out;
}
function lookStats($m)
{
2022-12-30 19:03:37 +00:00
if (empty($m)) {
return [];
}
$ist = [];
$di = explode('|', $m);
$i = 0;
$de = false;
while ($i < count($di)) {
$de = explode('=', $di[$i]);
if (isset($de[0], $de[1])) {
if (!isset($ist[$de[0]])) {
$ist[$de[0]] = 0;
}
$ist[$de[0]] = $de[1];
}
$i++;
}
return $ist;
2022-06-06 21:30:34 +00:00
}
if (!isset($itm['id'])) {
2022-12-19 18:26:14 +00:00
$itd = mysql_fetch_array(
mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = ' . mysql_real_escape_string($_GET['id']))
);
if (!isset($itd['id'])) {
$itd = [];
} else {
$itd = lookStats($itd['data']);
}
} else {
2022-12-19 18:26:14 +00:00
$itd = mysql_fetch_array(mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = ' . $itm['id']));
2022-12-30 19:03:37 +00:00
$itd = lookStats($itd['data']) ?? '';
2022-06-06 21:30:34 +00:00
}
$items = [
2022-12-19 18:26:14 +00:00
'tr' => ['lvl', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'mall', 'm2all', 'aall'],
'add' => ['min_heal_proc', 'no_yv1', 'no_bl1', 'no_pr1', 'no_yv2', 'no_bl2', 'no_pr2', 'silver', 'pza', 'pza1', 'pza2', 'pza3', 'pza4', 'pzm', 'pzm1', 'pzm2', 'pzm3', 'pzm4', 'pzm5', 'pzm6', 'pzm7', 'yron_min', 'yron_max', 'notravma', 'min_zonb', 'min_zona', 'nokrit', 'pog', 'min_use_mp', 'za1proc', 'za2proc', 'za3proc', 'za4proc', 'zaproc', 'zmproc', 'zm1proc', 'zm2proc', 'zm3proc', 'zm4proc', 'shopSale', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 'aall', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'm2all', 'mall', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'hpAll', 'mpAll', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm14', 'm15', 'm16', 'm17', 'm18', 'm19', 'm20', 'm21', 'pa1', 'pa2', 'pa3', 'pa4', 'pm1', 'pm2', 'pm3', 'pm4', 'pm5', 'pm6', 'pm7', 'za', 'za1', 'za2', 'za3', 'za4', 'zma', 'zm', 'zm1', 'zm2', 'zm3', 'zm4', 'zm5', 'zm6', 'zm7', 'mib1', 'mab1', 'mib2', 'mab2', 'mib3', 'mab3', 'mib4', 'mab4', 'speedhp', 'speedmp', 'm10', 'm11', 'zona', 'zonb', 'maxves', 'minAtack', 'maxAtack', 'speed_dungeon', 'antm3'],
'sv' => ['pza', 'pza1', 'pza2', 'pza3', 'pza4', 'notravma', 'min_zonb', 'min_zona', 'nokrit', 'pog', 'min_use_mp', 'za1proc', 'za2proc', 'za3proc', 'za4proc', 'zaproc', 'zmproc', 'zm1proc', 'zm2proc', 'zm3proc', 'zm4proc', 'shopSale', 's1', 's2', 's3', 's4', 's5', 's6', 's7', 's8', 's9', 's10', 'aall', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'm2all', 'mall', 'mg1', 'mg2', 'mg3', 'mg4', 'mg5', 'mg6', 'mg7', 'hpAll', 'mpAll', 'm1', 'm2', 'm3', 'm4', 'm5', 'm6', 'm7', 'm8', 'm9', 'm14', 'm15', 'm16', 'm17', 'm18', 'm19', 'm20', 'm21', 'pa1', 'pa2', 'pa3', 'pa4', 'pm1', 'pm2', 'pm3', 'pm4', 'pm5', 'pm6', 'pm7', 'min_use_mp', 'za', 'za1', 'za2', 'za3', 'za4', 'zma', 'zm', 'zm1', 'zm2', 'zm3', 'zm4', 'zm5', 'zm6', 'zm7', 'mib1', 'mab1', 'mib2', 'mab2', 'mib3', 'mab3', 'mib4', 'mab4', 'speedhp', 'speedmp', 'm10', 'm11', 'zona', 'zonb', 'maxves', 'minAtack', 'maxAtack', 'free_stats', 'tya1', 'tya2', 'tya3', 'tya4', 'tym1', 'tym2', 'tym3', 'tym4', 'tym5', 'tym6', 'tym7'],
];
2022-12-19 18:26:14 +00:00
$is = ['oza' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>', 'oza1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'oza2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'oza3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'oza4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'hpAll' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (HP)', 'mpAll' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'sex' => '<27><><EFBFBD>', 'lvl' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 's1' => '<27><><EFBFBD><EFBFBD>', 's2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 's3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 's4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 's5' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 's6' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 's7' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 's8' => '<27><><EFBFBD><EFBFBD>', 's9' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 's10' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'm1' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (%)', 'm2' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (%)', 'm3' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (%)', 'm4' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'm5' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'm6' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'm7' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'm8' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (%)', 'm9' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (%)', 'm14' => '<27><>. <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (%)', 'm15' => '<27><>. <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'm16' => '<27><>. <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'm17' => '<27><>. <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'm18' => '<27><>. <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> (%)', 'm19' => '<27><>. <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'm20' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD> (%)', 'm21' => '<27><>. <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'a1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'a2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'a3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'a4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'a5' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'a6' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'a7' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'aall' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'mall' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'm2all' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'mg1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'mg2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'mg3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'mg4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'mg5' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'mg6' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'mg7' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'tj' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'lh' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'minAtack' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'maxAtack' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'm10' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'm11' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'm11a' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pa1' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pa2' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pa3' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pa4' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pm1' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'pm2' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'pm3' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'pm4' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pm5' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pm6' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'pm7' => '<27><>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'za' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>', 'zm' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'zma' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>', 'za1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'za2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'za3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'za4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'zm1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'zm2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'zm3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'zm4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'zm5' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'zm6' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'zm7' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pza' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pzm' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pza1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'min_heal_proc' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%)', 'silver' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'notravma' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>', 'yron_min' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'yron_max' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'pza2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pza3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pza4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pzm1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'pzm2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'pzm3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'pzm4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pzm5' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'pzm6' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'pzm7' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'speedhp' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>)', 'speedmp' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (<28><>)', 'tya1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tya2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tya3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tya4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tym1' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tym2' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tym3' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tym4' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tym5' => '<27><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>', 'tym6' => '<27><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>', 'tym7' =>
2022-12-30 19:03:37 +00:00
if (empty($rz[$rt[$itm['type']]][0]) || !file_exists(
'img.new-combats.com/i/encicl/pict_' . $rz[$rt[$itm['type']]][0] . '.jpg'
)) {
//subject
$rz[$rt[$itm['type']]][0] = 'subject';
2022-06-06 21:30:34 +00:00
}
2022-12-30 19:03:37 +00:00
$rz[$rt[$itm['type']]][1] ??= '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
2022-06-06 21:30:34 +00:00
?>
<!DOCTYPE HTML>
2022-12-30 19:03:37 +00:00
<html lang="ru">
2022-06-06 21:30:34 +00:00
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
2022-12-19 18:26:14 +00:00
<title><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> |
2022-12-30 19:03:37 +00:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <?php if (isset($itm['id'])) { ?> | <?= $rz[$rt[$itm['type']]][1] ?> | <?= $itm['name'] ?><?php } ?></title>
<link href="/main1.css" rel="stylesheet" type="text/css">
2022-12-30 19:03:37 +00:00
<style>
.style6 {
color: #DFD3A3;
font-size: 9px;
}
.inup3 {
border: 1px dashed #D3CAA0;
font-size: 12px;
}
.inup3 {
border: 1px dashed #D3CAA0;
font-size: 12px;
}
A:link {
FONT-WEIGHT: bold;
COLOR: #5B3E33;
TEXT-DECORATION: none
}
A:visited {
FONT-WEIGHT: bold;
COLOR: #633525;
TEXT-DECORATION: none
}
A:active {
FONT-WEIGHT: bold;
COLOR: #77684d;
TEXT-DECORATION: none
}
A:hover {
COLOR: #000000;
TEXT-DECORATION: underline
}
img {
border: none;
}
</style>
2022-06-06 21:30:34 +00:00
</head>
<body bgcolor="#000000" topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign=top>
<td>
<table width="100%" height="135" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="https://new-combats.com/forum_script/img/line_capitalcity.jpg" scope="col"
align=center><img style="display:block" src="https://new-combats.com/inx/newlogo2.jpg"
width="924" height="135" border=0></td>
</tr>
</table>
</td>
</tr>
2022-06-06 21:30:34 +00:00
</table>
2022-12-19 18:26:14 +00:00
<? if (isset($itm['id'])) { ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor='#3D3D3B'>
<tr valign=top>
<td></td>
<td align=center>
<SCRIPT>
wsize = document.body.clientWidth;
if (wsize >= 800) wsize = Math.floor(wsize * 0.8);
if (wsize < 700) wsize = 700;
document.write('<table cellspacing=0 cellpadding=0 bgcolor=#f2e5b1 border=0 width=' + (wsize - 20) + '>');
</SCRIPT>
<tr valign=top>
2022-12-30 19:03:37 +00:00
<td width="29" rowspan=2 background="https://new-combats.com/forum_script/img/leftground.jpg">
<img src="https://img.new-combats.com/i/encicl/pictlr_<?= $rz[$rt[$itm['type']]][0] ?>.jpg" width="29"
height="256">
</td>
<td width="118" align="left">
<img id="imleft" src="https://img.new-combats.com/i/encicl/pictl_<?= $rz[$rt[$itm['type']]][0] ?>.jpg"
width="118" height="257"><BR>
</td>
<td rowspan=2 align="left">
<p><b><EFBFBD></b> <a href="https://new-combats.com/item/"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> / <?= $rz[$rt[$itm['type']]][1] ?> /
<b><i><?= $itm['name'] ?></i></b>
<h2><?= $itm['name'] ?></h2>
<img src="https://img.new-combats.com/i/encicl/ln3.jpg" width="400" height="1">
</p>
2022-12-30 19:03:37 +00:00
<? if (file_exists(
'img.new-combats.com/i/big/3d' . str_replace(
'.gif', '', str_replace('.png', '', $itm['img'])
) . '.jpg'
)) { ?>
<div align="center">
<table width="504" border="0" cellspacing="0" cellpadding="0">
<tr>
2022-12-30 19:03:37 +00:00
<td align="left" width="12" height="10">
<img style="display:block" src="https://img.new-combats.com/i/encicl/ll12_30.gif"
width="12" height="10">
</td>
<td width="100%" background="https://img.new-combats.com/i/encicl/ram12_34.gif"></td>
2022-12-30 19:03:37 +00:00
<td width="12" height="10" align="right">
<img style="display:block" src="https://img.new-combats.com/i/encicl/ll12_30.gif"
width="12" height="10">
</td>
</tr>
<tr>
<td width="12" background="https://img.new-combats.com/i/encicl/line_left_13.gif">
&nbsp;
</td>
2022-12-30 19:03:37 +00:00
<td width="480">
<img style="display:block" src="<? if (file_exists(
'img.new-combats.com/i/big/3d' . str_replace(
'.gif', '', str_replace(
'.png', '', $itm['img']
)
) . '.jpg'
)) { ?>https://img.new-combats.com/i/big/3d<?= str_replace(
2022-12-19 18:26:14 +00:00
'.gif', '', str_replace(
2022-12-30 19:03:37 +00:00
'.png', '', $itm['img']
)
2022-12-19 18:26:14 +00:00
) ?>.jpg<? } else { ?>https://img.new-combats.com/i/big/back.jpg<? } ?>" alt=""
2022-12-30 19:03:37 +00:00
width="480" height="360" border=1 id="bigim">
</td>
<td width="12" background="https://img.new-combats.com/i/encicl/line_right_13.gif">
&nbsp;
</td>
</tr>
<tr>
2022-12-30 19:03:37 +00:00
<td align="left" width="12" height="10">
<img style="display:block" src="https://img.new-combats.com/i/encicl/ll12_30.gif"
width="12" height="10">
</td>
<td width="100%"
style="background-image:url(https://img.new-combats.com/i/encicl/ram12_34down.gif); background-position:bottom"></td>
2022-12-30 19:03:37 +00:00
<td width="12" align="right">
<img style="display:block" src="https://img.new-combats.com/i/encicl/ll12_30.gif"
width="12" height="10">
</td>
</tr>
</table>
</div>
2022-12-19 18:26:14 +00:00
<? } ?>
<p align="center">&nbsp;</p>
<BR>
<table width="504" border="0" align=center cellpadding="0" cellspacing="0">
<tr>
<td align=left valign="top">
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="0" class="inup3">
<tr>
<td width="100%">
<A HREF="?id=<?= $itm['id'] ?>"><?= $itm['name'] ?></A>
<IMG SRC="https://img.new-combats.com/i/align/align0.gif" WIDTH=12 HEIGHT=15>
2022-12-19 18:26:14 +00:00
<? $crd = '';
if ($admin == 1) {
$crd = '<small><a href="javascript:window.open(\'https://new-combats.com/item_edit_data.php?edit_item_data=' . $itm['id'] . '\',\'winEdi1\',\'width=850,height=400,top=400,left=500,resizable=no,scrollbars=yes,status=no\');"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> </small> &nbsp; &nbsp;';
echo $crd;
}
if ($itm['massa'] > 0) {
echo '(<28><><EFBFBD><EFBFBD><EFBFBD>: ' . $itm['massa'] . ') ';
}
if (isset($itd['art']) && $itd['art'] > 0) {
echo '<IMG SRC=https://img.new-combats.com/i/artefact.gif WIDTH=18 HEIGHT=16 ALT="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"> ';
}
if (isset($po['sudba']) && $po['sudba'] > 0) {
echo '<img title="<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>." src="https://img.new-combats.com/i/destiny0.gif"> ';
}
if ($itm['price1'] > 0) {
echo '<br><b><3E><><EFBFBD><EFBFBD>: ' . $itm['price1'] . ' <20><>.</b>';
}
if ($itm['price2'] > 0) {
echo '<br><b style="color:SaddleBrown "><3E><><EFBFBD><EFBFBD>: ' . $itm['price2'] . ' <20><><EFBFBD>.</b>';
}
if ($itm['iznosMAXi'] >= 999999999) {
echo '<br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <font color="brown"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font >';
} elseif ($itm['iznosMAXi'] > 0) {
echo '<br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 0/' . $itm['iznosMAXi'] . '';
}
//<2F><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (isset($itd['srok']) && $itd['srok'] > 0) {
$itm['srok'] = $itd['srok'];
}
if ($itm['srok'] > 0) {
echo '<br><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ' . timeOut($itm['srok']);
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:
if ((int)$itm['magic_inci'] > 0) {
2022-12-30 19:03:37 +00:00
$efi = Db::getRow('select * from eff_main where id2 = ?', [(int)$itm['magic_inci']]);
if (isset($efi['id2']) && $efi['actionTime'] > 0) {
echo '<br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ' . timeOut($efi['actionTime']);
}
}
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
$tr = '';
$t = $items['tr'];
$x = 0;
while ($x < count($t)) {
$n = $t[$x];
if (isset($itd['tr_' . $n])) {
$tr .= '<br><3E> ';
$tr .= $is[$n] . ': ' . $itd['tr_' . $n];
}
$x++;
}
if ($tr != '') {
echo '<br><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</B>' . $tr;
}
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> */
$tr = '';
$t = $items['add'];
$x = 0;
while ($x < count($t)) {
$n = $t[$x];
if (isset($itd['add_' . $n]) && isset($is[$n])) {
$z = '+';
if ($itd['add_' . $n] < 1) {
$z = '';
}
$tr .= '<br>&bull; ' . $is[$n] . ': ' . $z . $itd['add_' . $n];
}
$x++;
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> (<28><><EFBFBD><EFBFBD><EFBFBD>)
$i = 1;
$bn = [1 => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 2 => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 3 => '<27><><EFBFBD><EFBFBD><EFBFBD>', 4 => '<27><><EFBFBD>'];
while ($i <= 4) {
if (isset($itd['add_mab' . $i]) && $itd['add_mab' . $i] > 0) {
if ($itd['add_mab' . $i] == $itd['add_mib' . $i]) {
$z = '+';
if ($itd['add_mab' . $i] < 0) {
$z = '';
}
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD> ' . $bn[$i] . ': ' . $z . '' . $itd['add_mab' . $i];
} else {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD> ' . $bn[$i] . ': ' . $itd['add_mib' . $i] . '-' . $itd['add_mab' . $i];
}
}
$i++;
}
if ($tr != '') {
echo '<br><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>:</B>' . $tr;
}
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
$tr = '';
if (isset($itd['sv_yron_min'], $itd['sv_yron_max'])) {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD>: ' . $itd['sv_yron_min'] . ' - ' . $itd['sv_yron_max'];
}
$x = 0;
while ($x < count($t)) {
$n = $t[$x];
if (isset($itd['sv_' . $n])) {
$z = '+';
if ($itd['sv_' . $n] < 0) {
$z = '';
}
$tr .= '<br><3E> ' . $is[$n] . ': ' . $z . '' . $itd['sv_' . $n];
}
$x++;
}
if ($itm['2too'] == 1) {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itm['2h'] == 1) {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if (isset($itd['zonb'])) {
$tr .= '<br>&bull;<3B><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ';
if ($itd['zonb'] > 0) {
$x = 1;
while ($x <= $itd['zonb']) {
$tr .= '+';
$x++;
}
} else {
$tr .= '<27>';
}
}
if ($tr != '') {
echo '<br><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</B>' . $tr;
}
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
$tr = '';
$x = 1;
while ($x <= 4) {
if (isset($itd['tya' . $x]) && $itd['tya' . $x] > 0) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
if ($itd['tya' . $x] > 9) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] > 24) {
$tyc = '<27><><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] > 49) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] > 74) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] > 89) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] >= 100) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
$tr .= '<br>&bull; ' . $is['tya' . $x] . ': ' . $tyc;
}
$x++;
}
$x = 1;
while ($x <= 7) {
if (isset($itd['tym' . $x]) && $itd['tym' . $x] > 0) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
if ($itd['tym' . $x] > 9) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] > 24) {
$tyc = '<27><><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] > 49) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] > 74) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] > 89) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] >= 100) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
$tr .= '<br>&bull; ' . $is['tym' . $x] . ': ' . $tyc;
}
$x++;
}
$x = 1;
while ($x <= 4) {
if (isset($itd['add_oza' . $x]) && $itd['add_oza' . $x] > 0) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
if ($itd['add_oza' . $x] == 4) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['add_oza' . $x] == 2) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['add_oza' . $x] == 3) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['add_oza' . $x] == 5) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($tyc != '') {
$tr .= '<br>&bull; ' . $is['oza' . $x] . ': ' . $tyc;
}
}
$x++;
}
if (isset($itd['free_stats']) && $itd['free_stats'] > 0) {
echo '<br><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b><br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ' . $itd['free_stats'];
}
if ($tr != '') {
echo '<br><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</B>' . $tr;
}
$is2 = '';
if (isset($itd['complect'])) {
$is2 .= '<br><i><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</i>';
}
if (isset($itd['complect'])) {
//<2F><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$com1 = ['name' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'x' => 0, 'text' => ''];
2022-12-30 19:03:37 +00:00
$spc = Db::getRows('select * from complects where com = ? order by x limit 20', [$itd['complect']]);
foreach ($spc as $itmc) {
$com1['name'] = $itmc['name'];
$com1['text'] .= '&nbsp; &nbsp; &bull; <font color="green">' . $itmc['x'] . '</font>: ';
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$i1c = 0;
$i2c = 0;
$i1e = lookStats($itmc['data']);
while ($i1c < count($items['add'])) {
if (isset($i1e[$items['add'][$i1c]])) {
$i3c = $i1e[$items['add'][$i1c]];
if ($i3c > 0) {
$i3c = '+' . $i3c;
}
if ($i2c > 0) {
$com1['text'] .= '&nbsp; &nbsp; ' . $is[$items['add'][$i1c]] . ': ' . $i3c;
} else {
$com1['text'] .= $is[$items['add'][$i1c]] . ': ' . $i3c;
}
$com1['text'] .= '<br>';
$i2c++;
}
$i1c++;
}
unset($i1c, $i2c, $i3c);
$com1['x']++;
}
$is2 .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <b>' . $com1['name'] . '</b><br><small>';
$is2 .= $com1['text'];
$is2 .= '</small>';
}
$is2 .= '<small style="font-size:10px;">';
if ($itm['info'] != '') {
$is2 .= '<div><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div><div>' . $itm['info'] . '</div>';
}
if (isset($itd['info']) && $itd['info'] != '') {
$is2 .= '<div>' . $itd['info'] . '</div>';
}
if (isset($itm['use_text']) && $itm['max_text'] - $itm['use_text'] > 0) {
$is2 .= '<div><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ' . ($itm['max_text'] - $itm['use_text']) . '</div>';
}
if (isset($itd['noremont']) && $itd['noremont'] > 0) {
$is2 .= '<div style="color:brown;"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>';
}
if (isset($itd['frompisher']) && $itd['frompisher'] > 0) {
$is2 .= '<div style="color:brown;"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>';
}
if (isset($itm['dn_delete']) && $itm['dn_delete'] > 0) {
$is2 .= '<div style="color:brown;"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>';
}
$is2 .= '</small>';
echo $is2;
?>
<BR>
</td>
<td align="center" valign="top" style='padding: 0,2,0,5'>
2022-12-30 19:03:37 +00:00
<a title="<?= $itm['name'] ?>" href="/item/<?= $itm['id'] ?>">
<SPAN style='background-color: #E0E0E0'>
<img src="https://img.new-combats.com/i/items/<?= $itm['img'] ?>"
alt="<?= $itm['name'] ?>" name="image" border="0">
</SPAN>
</a>
</td>
</tr>
</table>
2022-12-30 19:03:37 +00:00
</td>
</tr>
</table>
<p>
2022-12-30 19:03:37 +00:00
</td>
<!-- End of text -->
2022-12-30 19:03:37 +00:00
<td style='padding-left: 3' align=right>
<img id="imright" height=144
src="https://img.new-combats.com/i/encicl/pict_<?= $rz[$rt[$itm['type']]][0] ?>.jpg" width=139
border=0>
</td>
<td valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr valign=top>
<td></td>
<td valign=center style="padding-bottom:50" align="right"><IMG height=236
src="https://img.new-combats.com/i/encicl/pictr_<?= $rz[$rt[$itm['type']]][0] ?>.jpg"
2022-12-30 19:03:37 +00:00
width=128 border=0>
</td>
<td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;</td>
</tr>
</table>
2022-12-30 19:03:37 +00:00
<?php } else {
2022-12-19 18:26:14 +00:00
$rv = explode('i', $url[2]);
$rv = (int)$rv[1];
//
$rname = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
$html = '';
//
if ($rv >= 0) {
2022-12-19 18:26:14 +00:00
if ($rv == 1) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 26');
} elseif ($rv == 3) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 29 AND `name` NOT LIKE "%<25><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%"');
} elseif ($rv == 2) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 30');
} elseif ($rv == 6) {
//<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 6');
} elseif ($rv == 32) {
//<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 5');
} elseif ($rv == 7) {
//<2F><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 2');
} elseif ($rv == 8) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 3');
} elseif ($rv == 9) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 15');
} elseif ($rv == 10) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 12');
} elseif ($rv == 11) {
//<2F><><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 7');
} elseif ($rv == 12) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 14');
} elseif ($rv == 13) {
//<2F><><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 8');
} elseif ($rv == 14) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 4');
} elseif ($rv == 15) {
//<2F><><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 1');
} elseif ($rv == 16) {
//<2F><><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `name` LIKE "%<25><><EFBFBD><EFBFBD>%"');
} elseif ($rv == 17) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 20');
} elseif ($rv == 18) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 18');
} elseif ($rv == 19) {
//<2F><><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 21');
} elseif ($rv == 20) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 19');
} elseif ($rv == 21) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 22');
} elseif ($rv == 22) {
//<2F><><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 32 AND `img` LIKE "f_%"');
} elseif ($rv == 25) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 38 OR `type` = 63');
} elseif ($rv == 26) {
//<2F><><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 31');
} elseif ($rv == 27) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 32');
} elseif ($rv == 28) {
//<2F><><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 13');
} elseif ($rv == 29) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 11');
} elseif ($rv == 30) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 10');
} elseif ($rv == 31) {
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$sp = mysql_query('SELECT * FROM `items_main` WHERE `type` = 9');
}
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor='#3D3D3B'>
<tr valign=top>
<td></td>
<td align=center>
<SCRIPT>
wsize = document.body.clientWidth;
if (wsize >= 800) wsize = Math.floor(wsize * 0.8);
if (wsize < 700) wsize = 700;
document.write('<table cellspacing=0 cellpadding=0 bgcolor=#f2e5b1 border=0 width=' + (wsize - 20) + '>');
</SCRIPT>
<tr valign=top>
2022-12-30 19:03:37 +00:00
<td width="29" rowspan=2 background="https://new-combats.com/forum_script/img/leftground.jpg">
<img src="https://img.new-combats.com/i/encicl/pictlr_subject.jpg" width="29" height="256">
</td>
<td width="218" height="257" align="left">
<img id="imleft2" src="https://img.new-combats.com/i/encicl/pictl_subject.jpg" width="118" height="257"><BR>
</td>
<td rowspan=2 align="left">
<p><b>&raquo;</b> <a href="https://new-combats.com/item/i1"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> /
<h2><?= $rname ?></h2>
<img src="https://img.new-combats.com/i/encicl/ln3.jpg" width="400" height="1">
</p>
<?
if ($rv == 0) {
echo '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><br>';
} else {
2022-12-19 18:26:14 +00:00
if (isset($sp) && is_array($sp)) {
while ($itm = mysql_fetch_array($sp)) {
2022-12-30 19:03:37 +00:00
$itd = mysql_fetch_array(
mysql_query('SELECT * FROM `items_main_data` WHERE `items_id` = ' . $itm['id'])
);
$itd = lookStats($itd['data']);
?>
<br>
<table width="100%" border="0" align=center cellpadding="0" cellspacing="0">
<tr>
<td align=left valign="top">
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="0"
class="inup3">
<tr>
<td width="100%"><A
HREF="/item/<?= $itm['id'] ?>"><?= $itm['name'] ?></A>
<IMG SRC="https://img.new-combats.com/i/align/align0.gif" WIDTH=12
HEIGHT=15>
<?
if ($admin == 1) {
$crd = '<small><a href="javascript:window.open(\'https://new-combats.com/item_edit_data.php?edit_item_data=' . $itm['id'] . '\',\'winEdi1\',\'width=850,height=400,top=400,left=500,resizable=no,scrollbars=yes,status=no\');"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a> </small> &nbsp; &nbsp;';
echo $crd;
}
if ($itm['massa'] > 0) {
echo '(<28><><EFBFBD><EFBFBD><EFBFBD>: ' . $itm['massa'] . ') ';
}
if (isset($itd['art']) && $itd['art'] > 0) {
echo '<IMG SRC=https://img.new-combats.com/i/artefact.gif WIDTH=18 HEIGHT=16 ALT="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"> ';
}
2022-12-19 18:26:14 +00:00
2022-12-30 19:03:37 +00:00
if (isset($po['sudba'])) {
echo '<img title="<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>." src="https://img.new-combats.com/i/destiny0.gif"> ';
}
2022-12-30 19:03:37 +00:00
if ($itm['price1'] > 0) {
echo '<br><b><3E><><EFBFBD><EFBFBD>: ' . $itm['price1'] . ' <20><>.</b>';
}
2022-12-30 19:03:37 +00:00
if ($itm['price2'] > 0) {
echo '<br><b style="color:SaddleBrown "><3E><><EFBFBD><EFBFBD>: ' . $itm['price2'] . ' <20><><EFBFBD>.</b>';
}
2022-12-30 19:03:37 +00:00
if ($itm['iznosMAXi'] >= 999999999) {
echo '<br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <font color="brown"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font >';
} elseif ($itm['iznosMAXi'] > 0) {
echo '<br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 0/' . $itm['iznosMAXi'] . '';
}
2022-12-30 19:03:37 +00:00
//<2F><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (isset($itd['srok']) && $itd['srok'] > 0) {
$itm['srok'] = $itd['srok'];
}
if ($itm['srok'] > 0) {
echo '<br><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ' . timeOut($itm['srok']);
}
2022-12-30 19:03:37 +00:00
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>:
if ((int)$itm['magic_inci'] > 0) {
$efi = mysql_fetch_array(
mysql_query(
'SELECT * FROM `eff_main` WHERE `id2` = "' . ((int)$itm['magic_inci']) . '" LIMIT 1'
)
);
if (isset($efi['id2']) && $efi['actionTime'] > 0) {
echo '<br><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ' . timeOut(
$efi['actionTime']
);
}
}
2022-12-30 19:03:37 +00:00
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
$tr = '';
2022-12-30 19:03:37 +00:00
$t = $items['tr'];
$x = 0;
while ($x < count($t)) {
$n = $t[$x];
if (isset($itd['tr_' . $n])) {
$tr .= '<br>&bull; ';
$tr .= $is[$n] . ': ' . $itd['tr_' . $n];
}
$x++;
}
2022-12-30 19:03:37 +00:00
if ($tr != '') {
echo '<br><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</B>' . $tr;
}
2022-12-30 19:03:37 +00:00
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> */
$tr = '';
2022-12-30 19:03:37 +00:00
$t = $items['add'];
$x = 0;
while ($x < count($t)) {
$n = $t[$x];
if (isset($itd['add_' . $n]) && isset($is[$n])) {
$z = '+';
if ($itd['add_' . $n] < 1) {
$z = '';
}
$tr .= '<br>&bull; ' . $is[$n] . ': ' . $z . $itd['add_' . $n];
}
$x++;
}
2022-12-30 19:03:37 +00:00
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> (<28><><EFBFBD><EFBFBD><EFBFBD>)
$i = 1;
$bn = [1 => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 2 => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 3 => '<27><><EFBFBD><EFBFBD><EFBFBD>', 4 => '<27><><EFBFBD>'];
while ($i <= 4) {
if (isset($itd['add_mab' . $i]) && $itd['add_mab' . $i] > 0) {
if ($itd['add_mab' . $i] == $itd['add_mib' . $i]) {
$z = '+';
if ($itd['add_mab' . $i] < 0) {
$z = '';
}
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD> ' . $bn[$i] . ': ' . $z . '' . $itd['add_mab' . $i];
} else {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD> ' . $bn[$i] . ': ' . $itd['add_mib' . $i] . '-' . $itd['add_mab' . $i];
}
}
2022-12-30 19:03:37 +00:00
$i++;
}
2022-12-30 19:03:37 +00:00
if ($tr != '') {
echo '<br><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>:</B>' . $tr;
}
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
$tr = '';
2022-12-30 19:03:37 +00:00
if (isset($itd['sv_yron_min'], $itd['sv_yron_max'])) {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD>: ' . $itd['sv_yron_min'] . ' - ' . $itd['sv_yron_max'];
}
$x = 0;
while ($x < count($t)) {
$n = $t[$x];
if (isset($itd['sv_' . $n])) {
$z = '+';
2022-12-30 19:03:37 +00:00
if ($itd['sv_' . $n] < 0) {
$z = '';
}
2022-12-30 19:03:37 +00:00
$tr .= '<br>&bull; ' . $is[$n] . ': ' . $z . '' . $itd['sv_' . $n];
}
2022-12-30 19:03:37 +00:00
$x++;
}
2022-12-30 19:03:37 +00:00
if ($itm['2too'] == 1) {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
2022-12-30 19:03:37 +00:00
if ($itm['2h'] == 1) {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if (isset($itd['zonb'])) {
$tr .= '<br>&bull; <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ';
if ($itd['zonb'] > 0) {
$x = 1;
while ($x <= $itd['zonb']) {
$tr .= '+';
$x++;
}
} else {
$tr .= '&mdash;';
}
}
2022-12-30 19:03:37 +00:00
if ($tr != '') {
echo '<br><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</B>' . $tr;
}
2022-12-30 19:03:37 +00:00
/* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
$tr = '';
2022-12-30 19:03:37 +00:00
$x = 1;
while ($x <= 4) {
if (isset($itd['tya' . $x]) && $itd['tya' . $x] > 0) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
if ($itd['tya' . $x] > 6) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] > 14) {
$tyc = '<27><><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] > 34) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] > 79) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] > 89) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tya' . $x] >= 100) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
$tr .= '<br>&bull; ' . $is['tya' . $x] . ': ' . $tyc;
}
2022-12-30 19:03:37 +00:00
$x++;
}
2022-12-30 19:03:37 +00:00
$x = 1;
while ($x <= 7) {
if (isset($itd['tym' . $x]) && $itd['tym' . $x] > 0) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>';
if ($itd['tym' . $x] > 6) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] > 14) {
$tyc = '<27><><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] > 34) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] > 79) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] > 89) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['tym' . $x] >= 100) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
$tr .= '<br>&bull; ' . $is['tym' . $x] . ': ' . $tyc;
}
2022-12-30 19:03:37 +00:00
$x++;
}
2022-12-30 19:03:37 +00:00
$x = 1;
while ($x <= 4) {
if (isset($itd['add_oza' . $x]) && $itd['add_oza' . $x] > 0) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
if ($itd['add_oza' . $x] == 4) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['add_oza' . $x] == 2) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['add_oza' . $x] == 3) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($itd['add_oza' . $x] == 5) {
$tyc = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
}
if ($tyc != '') {
$tr .= '<br>&bull; ' . $is['oza' . $x] . ': ' . $tyc;
}
}
2022-12-30 19:03:37 +00:00
$x++;
}
2022-12-30 19:03:37 +00:00
if (isset($itd['free_stats']) && $itd['free_stats'] > 0) {
echo '<br><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b><br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ' . $itd['free_stats'];
}
if ($tr != '') {
echo '<br><B><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</B>' . $tr;
}
$is2 = '';
2022-12-30 19:03:37 +00:00
if (isset($itd['complect'])) {
$is2 .= '<br><i><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</i>';
}
if (isset($itd['complect'])) {
//<2F><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$com1 = ['name' => '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>', 'x' => 0, 'text' => ''];
$spc = mysql_query(
'SELECT * FROM `complects` WHERE `com` = "' . $itd['complect'] . '" ORDER BY `x` ASC LIMIT 20'
);
while ($itmc = mysql_fetch_array($spc)) {
$com1['name'] = $itmc['name'];
$com1['text'] .= '&nbsp; &nbsp; &bull; <font color="green">' . $itmc['x'] . '</font>: ';
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$i1c = 0;
$i2c = 0;
$i1e = lookStats($itmc['data']);
while ($i1c < count($items['add'])) {
if (isset($i1e[$items['add'][$i1c]])) {
$i3c = $i1e[$items['add'][$i1c]];
if ($i3c > 0) {
$i3c = '+' . $i3c;
}
if ($i2c > 0) {
$com1['text'] .= '&nbsp; &nbsp; ' . $is[$items['add'][$i1c]] . ': ' . $i3c;
} else {
$com1['text'] .= $is[$items['add'][$i1c]] . ': ' . $i3c;
}
$com1['text'] .= '<br>';
$i2c++;
}
2022-12-30 19:03:37 +00:00
$i1c++;
}
2022-12-30 19:03:37 +00:00
unset($i1c, $i2c, $i3c);
$com1['x']++;
}
2022-12-30 19:03:37 +00:00
$is2 .= '<br>&bull; <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <b>' . $com1['name'] . '</b><br><small>';
$is2 .= $com1['text'];
$is2 .= '</small>';
}
2022-12-30 19:03:37 +00:00
$is2 .= '<small style="font-size:10px;">';
2022-12-30 19:03:37 +00:00
if ($itm['info'] != '') {
$is2 .= '<div><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</b></div><div>' . $itm['info'] . '</div>';
}
2022-12-30 19:03:37 +00:00
if (isset($itd['info']) && $itd['info'] != '') {
$is2 .= '<div>' . $itd['info'] . '</div>';
}
2022-12-30 19:03:37 +00:00
if (isset($itm['use_text']) && $itm['max_text'] - $itm['use_text'] > 0) {
$is2 .= '<div><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ' . ($itm['max_text'] - $itm['use_text']) . '</div>';
}
2022-12-30 19:03:37 +00:00
if (isset($itd['noremont']) && $itd['noremont'] > 0) {
$is2 .= '<div style="color:brown;"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>';
}
2022-12-30 19:03:37 +00:00
if (isset($itd['frompisher']) && $itd['frompisher'] > 0) {
$is2 .= '<div style="color:brown;"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>';
}
2022-12-30 19:03:37 +00:00
if (isset($itm['dn_delete']) && $itm['dn_delete'] > 0) {
$is2 .= '<div style="color:brown;"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></div>';
}
2022-12-30 19:03:37 +00:00
$is2 .= '</small>';
2022-12-30 19:03:37 +00:00
echo $is2;
?>
<BR>
2022-12-19 18:26:14 +00:00
</td>
2022-12-30 19:03:37 +00:00
<td align="center" valign="top" style='padding: 0,2,0,5'>
<a title="<?= $itm['name'] ?>" href="/item/<?= $itm['id'] ?>">
<SPAN style='background-color: #E0E0E0'>
<img src="https://img.new-combats.com/i/items/<?= $itm['img'] ?>"
alt="<?= $itm['name'] ?>" name="image" border="0">
</SPAN>
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php
}
2022-12-19 18:26:14 +00:00
}
}
?>
<p align="center">&nbsp;</p>
<BR>
<p>
<!-- End of text -->
2022-12-30 19:03:37 +00:00
<td style='padding-left: 3' align=right>
<img id="imright2" height=144 src="https://img.new-combats.com/i/encicl/pict_subject.jpg" width=139>
</td>
<td valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;&nbsp;&nbsp;&nbsp;</td>
2022-06-06 21:30:34 +00:00
</tr>
<tr valign=top>
<td valign="top">
<!-- -->
<b><span style="COLOR: #8f0000; FONT-FAMILY: Arial; FONT-SIZE: 11pt;"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span></b><br>
<table width="100%" height="11" border="0" cellpadding="0" cellspacing="0">
<tr>
2022-12-30 19:03:37 +00:00
<td width="12" align="left">
<img src="https://img.new-combats.com/ram12_33.gif" width="12" height="11">
</td>
<td style="background-image:url(https://img.new-combats.com/ram12_34.gif); background-repeat:repeat-x; background-position:0 2px;"></td>
2022-12-30 19:03:37 +00:00
<td width="13" align="right">
<img src="https://img.new-combats.com/ram12_35.gif" width="13" height="11">
</td>
</tr>
</table>
<br>
<b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b><br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i1"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i2"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
<b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b><br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i3"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
<b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b><br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i6"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i32"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i7"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i8"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i9"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i10"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i11"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i12"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i13"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i14"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i15"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
<b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b><br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i16"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i17"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i18"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i19"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i20"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i21"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i22"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
<b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b><br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i23"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i24"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i25"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i26"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i27"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
<b><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b><br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i28"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
<b><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b><br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i29"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i30"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
&nbsp;&nbsp;&nbsp;&middot;&nbsp;<a href="/item/i31"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>&nbsp;<br>
<br><br><br>
<!-- -->
</td>
2022-12-30 19:03:37 +00:00
<td valign="bottom" style="padding-bottom:50" align="right">
<IMG height=236 src="https://img.new-combats.com/i/encicl/pictr_subject.jpg" width=128 border=0>
</td>
<td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;</td>
</tr>
</table>
2022-12-30 19:03:37 +00:00
<?php } ?>
2022-06-06 21:30:34 +00:00
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor=#000000>
<TR>
<TD colspan=3 width="100%" height=13 background="https://img.new-combats.com/i/encicl/ln_footer.jpg"></TD>
</TR>
<tr valign=top>
<td width="20%">
<div align="center">
&nbsp;
</div>
</td>
<td align=center valign=middle>
<div align="center" style="padding: 5px 0px; height: 32px; box-sizing: border-box;">
<NOBR><span class="style6">Copyright <EFBFBD> <?= date('Y') ?> <20>www.new-combats.com<6F></span></NOBR>
2022-12-30 19:03:37 +00:00
<br><Br>
</div>
</td>
<td width="20%"></td>
</tr>
2022-06-06 21:30:34 +00:00
</table>
</body>
</html>