Закончил разработку обучения
This commit is contained in:
9
main.php
9
main.php
@@ -29,11 +29,14 @@
|
||||
<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)
|
||||
{
|
||||
@@ -556,6 +559,12 @@ $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 = TrainingManager::getInstance();
|
||||
|
||||
if($u->room['file']=='cp1') {
|
||||
$training_manager->first_step->render();
|
||||
$training_manager->second_step->render();
|
||||
}
|
||||
?>
|
||||
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.2/modernizr.js"></script>-->
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user