Merge remote-tracking branch 'origin/dev' into dev-lopar

# Conflicts:
#	online.php
This commit is contained in:
2023-01-28 04:41:36 +02:00
31 changed files with 1228 additions and 335 deletions

View File

@@ -25,14 +25,18 @@
</style>
<link href="/img.new-combats.com/css/main.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/css/training/modal.css">
<div class="se-pre-con" id="se-pre-con"></div>
<?php
if (!defined('GAME_VERSION')) {
require_once '_incl_data/autoload.php';
}
use Core\{Config, Database, Db};
use DarksLight2\Training\TrainingManager;
function var_info($vars, $d = false)
{
@@ -53,6 +57,8 @@ $u = User::start();
$filter = new Filter();
$q = new Quests;
$training_manager = TrainingManager::getInstance($u->info['id']);
/** Восстанавливаем всем ботам, которые не в бою здоровье до максимума. */
Db::exec(
'update stats set hpNow = hpAll, mpNow = mpAll
@@ -558,6 +564,7 @@ $spl = $spl['exp'];
echo '<script>top.myexpLineTop27(' . $u->info['exp'] . ',' . $spl . ');' . $tjs . 'top.ctest("' . $u->info['city'] . '");top.sd4key="' . $u->info['nextAct'] . '"; var battle = ' . (0 + $u->info['battle']) . '; top.hic();</script></body>
</html>';
$training_manager->render();
?>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.2/modernizr.js"></script>-->
<script>