Замена short_tags и <?php echo.

This commit is contained in:
2023-03-31 19:54:33 +03:00
parent fdf063d527
commit 1b5bf26294
214 changed files with 3978 additions and 4014 deletions
+3 -3
View File
@@ -243,7 +243,7 @@ if (!isset($_GET['look'])) {
<script type="text/javascript" src="../js/jquery.cookie.js"></script>
<script type="text/javascript" src="../js/title.js"></script>
<link href="https://img.new-combats.com/css/dungeon_<?php echo $d->point['css']; ?>.css" rel="stylesheet"
<link href="https://img.new-combats.com/css/dungeon_<?= $d->point['css']; ?>.css" rel="stylesheet"
type="text/css">
<script>
@@ -581,7 +581,7 @@ if (!isset($_GET['look'])) {
}?> users = {};
<?php if (!isset($_GET['look'])) {
echo 'var';
}?> objs = {<?php echo $d->genObjects(); ?>};
}?> objs = {<?= $d->genObjects(); ?>};
<?php if (!isset($_GET['look'])) {
echo 'var';
}?> items = {};
@@ -590,7 +590,7 @@ if (!isset($_GET['look'])) {
}?> actions = {};
<?php if (!isset($_GET['look'])) {
echo 'var';
}?> dsee = <?php echo 0 + $d->gs; ?>;
}?> dsee = <?= 0 + $d->gs; ?>;
<?php if (!isset($_GET['look'])) {
echo 'var';
}?> mapp = {