Замена 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

View File

@@ -500,12 +500,12 @@ if( $hostel['balance'] <= 0 && $u->room['id'] != 214 && $sleep['vars'] != 'sleep
.add-btn > a > span { color: #222; font-size:10px; font-weight: 400;}
</style>
<script type="text/javascript" src="js/jquery.1.11.js"></script>
<? if( $hostel['partition'] == 2){ ?>
<?php if( $hostel['partition'] == 2){ ?>
<script type="text/javascript" src="js/jquery.cookie.1.4.1.js"></script>
<script type="text/javascript" src="js/jquery.autocomplete.js"></script>
<? } ?>
<?php } ?>
<script>
<? if( $hostel['partition'] == 2){ ?>
<?php if( $hostel['partition'] == 2){ ?>
$.cookie('invFilterByName1','');
$.cookie('invFilterByName2','');
@@ -584,7 +584,7 @@ $(document).ready(function () {
function obj_take(id, room, rnd, t){
if( parseInt($('#in_chest22').text()) > 0 ) {
$(t).text('<?
$(t).text('<?php
if( $hostel['category'] == 1 ){
echo "В сундук";
} elseif($hostel['category'] == 2 ){
@@ -697,7 +697,7 @@ $(document).ready(function () {
});
});
jQuery.expr[":"].contains = function (elem, i, match, array){ return (elem.textContent || elem.innerText || jQuery.text(elem) || "").toLowerCase().indexOf(match[3].toLowerCase()) >= 0; }
<? } ?>
<?php } ?>
var sd4 = "<?=$u->info['id'];?>";
</script>
<script type="text/javascript" language="javascript" src='https://img.new-combats.com/js/commoninf.js'></script>